forked from frankcbliu/Interview_Notes
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcustom.css
190 lines (152 loc) · 3.41 KB
/
custom.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
/* 自定义样式 */
#main>ul:nth-child(1) {
display: none;
}
#main>ul:nth-child(2) {
display: none;
}
h1+ul {
display: block !important;
}
.markdown-section h1 {
margin: 3rem 0 2rem 0;
}
.markdown-section h2 {
margin: 2rem 0 1rem;
}
img, pre {
border-radius: 5px;
}
.markdown-section p.tip, .markdown-section tr:nth-child(1n) {
background-color: #f8f8f8 !important;
}
.content, .sidebar, .markdown-section, body, .search input {
background-color: rgba(243, 242, 238, 1) !important;
}
@media (min-width:600px) {
.sidebar-toggle {
background-color: #f3f2ee;
}
}
.docsify-copy-code-button {
background: #f8f8f8 !important;
color: #7a7a7a !important;
}
body {
/*font-family: Microsoft YaHei, Source Sans Pro, Helvetica Neue, Arial, sans-serif !important;*/
}
.markdown-section pre>code {
font-size: 13px;
}
code, pre {
background-color: rgba(243, 242, 238, 1) !important;
font-weight: bold;
}
.markdown-section>p {
font-size: 16px !important;
}
.markdown-section pre>code {
border-radius: 2px;
font-family: Consolas, Roboto Mono, Monaco, courier, monospace !important;
}
p, h1, h2, h3, h4, ol, ul {
letter-spacing: 2px !important;
}
p, ol, ul {
line-height: 30px !important;
}
@media (min-width:600px) {
.markdown-section pre>code {
font-size: .9rem !important;
letter-spacing: 1.1px !important;
}
}
@media (max-width:600px) {
.markdown-section pre>code {
padding-top: 5px;
padding-bottom: 5px;
padding-left: 15px !important;
}
pre:after {
content: "" !important;
}
}
/*.anchor span {
color: rgb(66, 185, 131);
}*/
section.cover h1 {
margin: 0;
}
body>section>div.cover-main>ul>li>a {
color: #42b983;
}
.markdown-section>div>img, .markdown-section pre {
box-shadow: 0px 0px 20px 11px #eaeaea;
}
pre {
background-color: #f3f2ee !important;
}
@media (min-width:600px) {
pre code {
/*box-shadow: 2px 1px 20px 2px #aaa;*/
/*border-radius: 10px !important;*/
padding-left: 20px !important;
}
}
@media (max-width:600px) {
pre {
padding-left: 3px !important;
padding-right: 3px !important;
margin-left: -20px !important;
margin-right: -20px !important;
box-shadow: 0px 0px 20px 0px #eee !important;
}
.docsify-copy-code-button {
display: none;
}
}
.markdown-section pre {
padding-left: 0 !important;
padding-right: 0px !important;
}
/* 设置背景色和默认字体颜色 */
.markdown-section pre, .markdown-section pre>code {
color: #ccc;
background-color: #282828 !important;
}
/* 翻页跳转 左中右结构 */
.jump {
display: flex;
justify-content: space-between;
font-size: 1.2rem;
}
/* code 中文 字体大小 */
.markdown-section code {
font-size: 15px;
}
.detail .title {
font-size: 25px !important;
color: var(--theme-color,#42b983);
font-weight: bold;
}
.detail summary {
font-size: 16px !important;
word-spacing: .05rem;
line-height: 30px !important;
letter-spacing: 2px !important;
}
/* 自定义展开标志 */
summary::-webkit-details-marker {
display: none;
}
details > summary .d-marker:before {
content: "🐣 点击展开";
/* 👉 🤜 👋 */
}
details[open] > summary .d-marker:before {
content: "🐥 点击收起";
}
/* 去掉丑丑的边框 */
summary:focus {
outline: none;
}