diff options
Diffstat (limited to 'common/CSS/highlight.css')
-rw-r--r-- | common/CSS/highlight.css | 83 |
1 files changed, 0 insertions, 83 deletions
diff --git a/common/CSS/highlight.css b/common/CSS/highlight.css deleted file mode 100644 index 14b71ed..0000000 --- a/common/CSS/highlight.css +++ /dev/null | |||
@@ -1,83 +0,0 @@ | |||
1 | /* for block of numbers */ | ||
2 | pre code td.hljs-ln-numbers { | ||
3 | color: #9c9c9c; | ||
4 | border-right: 0.5px solid #9c9c9c; | ||
5 | vertical-align: top; | ||
6 | padding-left: 0.5rem; | ||
7 | padding-right: 0.8rem; | ||
8 | border: none; | ||
9 | text-align: right; | ||
10 | } | ||
11 | |||
12 | /* for block of code */ | ||
13 | pre code td.hljs-ln-code { | ||
14 | /* padding-left: 1rem; */ | ||
15 | border: none; | ||
16 | } | ||
17 | |||
18 | pre { | ||
19 | position: relative; | ||
20 | } | ||
21 | |||
22 | pre .btn { | ||
23 | display: none; | ||
24 | position: absolute; | ||
25 | top: 0; | ||
26 | right: 0; | ||
27 | background: #333; | ||
28 | color: #f5f5f5; | ||
29 | border: none; | ||
30 | outline: none !important; | ||
31 | } | ||
32 | |||
33 | pre .btn:hover { | ||
34 | color: #fff | ||
35 | } | ||
36 | |||
37 | pre:hover .btn { | ||
38 | display: block; | ||
39 | } | ||
40 | |||
41 | pre .btn-tip { | ||
42 | display: none; | ||
43 | position: absolute; | ||
44 | top: 0px; | ||
45 | right: 0; | ||
46 | z-index: 9; | ||
47 | padding: 6px 12px; | ||
48 | background: #333; | ||
49 | color: #f5f5f5; | ||
50 | border: none; | ||
51 | border-radius: 4px; | ||
52 | } | ||
53 | |||
54 | .btn { | ||
55 | display: inline-block; | ||
56 | padding: 6px 12px; | ||
57 | margin-bottom: 0; | ||
58 | font-size: 14px; | ||
59 | font-weight: 400; | ||
60 | line-height: 1.42857143; | ||
61 | text-align: center; | ||
62 | white-space: nowrap; | ||
63 | vertical-align: middle; | ||
64 | -ms-touch-action: manipulation; | ||
65 | touch-action: manipulation; | ||
66 | cursor: pointer; | ||
67 | -webkit-user-select: none; | ||
68 | -moz-user-select: none; | ||
69 | -ms-user-select: none; | ||
70 | user-select: none; | ||
71 | background-image: none; | ||
72 | border: 1px solid transparent; | ||
73 | border-radius: 4px; | ||
74 | } | ||
75 | |||
76 | /* 代码复制时全选但不能被看到 | ||
77 | * 该功能是不道德的,用户想要怎么复制是人家的权利 | ||
78 | * 即使是自己用起来也经常只需要复制一段 | ||
79 | * 所以还是让用户自由复制吧 | ||
80 | */ | ||
81 | /* code ::selection { | ||
82 | background-color: rgba(0, 0, 0, 0); | ||
83 | } */ \ No newline at end of file | ||