/
supermemo-night.css
393 lines (339 loc) · 6.47 KB
/
supermemo-night.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
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
BODY {
BACKGROUND-COLOR: #1e1d1d;
COLOR: #f0e9da;
FONT-FAMILY: "思源宋体";
FONT-STYLE: normal;
FONT-WEIGHT: normal;
FONT-SIZE: 15pt;
border: 1px solid #343434
}
/* 设置 html 元素的样式 */
html {
height: 100%;
/* 高度 */
width: 100%;
/* 宽度 */
overflow: hidden;
/* 隐藏横向溢出内容 */
white-space: pre-wrap;
/* 元素内部保留空格和换行 */
word-wrap: break-word;
/* 在单词之间断开换行 */
}
a:link {
color: #FF7F27 !important;
}
a:visited {
color: #FFF200 !important;
}
a:hover {
color: #FFF200 !important;
}
a:active {
color: #FFF200 !important;
}
HR {
color: #292929;
}
/* 设置 img 元素和.img类的样式 */
img,
.img {
width: auto;
/* 宽度自适应 */
height: auto;
/* 高度自适应 */
display: block;
/* 显示方式为块级元素 */
margin: auto;
/* 外边距居中对齐 */
outline: none;
/* 不显示轮廓线 */
BACKGROUND-COLOR: #333333;
/* 图像的背景颜色 */
}
h1,
h2,
h3,
h4,
h5,
h6 {
COLOR: #FFF200;
border-bottom: 1px solid #292929;
padding: 5px 0;
font-weight: 800;
}
h1 {
font-size: 30px;
}
h2 {
font-size: 25px;
}
h3 {
font-size: 23px;
}
h4 {
font-size: 19px;
}
h5 {
font-size: 16px;
}
h6 {
font-size: 15px;
}
@font-face {
font-family: 'Noto Color Emoji';
src: url(https://gitcdn.xyz/repo/googlefonts/noto-emoji/master/fonts/NotoColorEmoji.ttf);
}
/* 设置 strong 元素的样式*/
strong {
font-family: "华文中宋";
}
/* 设置 .Cloze 类(挖空和被挖空)的样式*/
.Cloze,
.clozed {
COLOR: #FFF200;
BACKGROUND-COLOR: #FF7F27;
FONT-WEIGHT: bold;
}
.Extract {
BACKGROUND-COLOR: #111111;
COLOR: #bbb5a7;
}
.headers {
BACKGROUND-COLOR: #FF7F27;
COLOR: #292929;
FONT-WEIGHT: bold;
}
.RefText {
BACKGROUND-COLOR: #dcd100;
COLOR: #292929;
FONT-WEIGHT: bold;
}
.Reference {
COLOR: #FFF200;
FONT-SIZE: 10pt;
}
.Highlight {
BACKGROUND-COLOR: #dcd100;
COLOR: #292929;
FONT-WEIGHT: bold;
}
.SearchHighlight {
COLOR: #EB88EE;
;
FONT-STYLE: normal;
FONT-WEIGHT: bold;
FONT-SIZE: 14pt;
}
.SearchHighlight1 {
COLOR: #a0d3ff;
FONT-STYLE: normal;
FONT-WEIGHT: bold;
}
.Ignore {
BACKGROUND-COLOR: #191919;
}
.Ignore a {
COLOR: #191919;
}
table,
td,
th {
text-align: center;
width: auto;
border: 1px solid #1e1d1d;
float: auto;
/* 根据容器自动悬浮 */
}
table {
margin: 4rem auto;
border-collapse: collapse;
}
th {
COLOR: #FFF200;
background: #191919;
}
td {
width: auto;
box-sizing: border-box;
text-align: center;
background: #333333;
}
.TableLabel {
BACKGROUND-COLOR: #CCCCCC;
COLOR: #525252;
;
FONT-STYLE: normal;
FONT-WEIGHT: normal;
FONT-SIZE: 14pt;
}
.hint {
BACKGROUND-COLOR: #E0E0E0;
}
.note {
FONT-SIZE: smaller;
}
.term {
background-color: #faeecf;
padding-right: 0.3em;
}
/* 有序和无序列表 */
ul,
ol {
border-left: 2pt solid #343434;
position: relative;
padding-left: 35pt;
padding-top: 0pt;
margin-top: 5pt;
margin-bottom: 5pt;
margin-left: 2.5pt;
}
.grey {
BACKGROUND-COLOR: #DAB6B6;
COLOR: #000000;
FONT-STYLE: italic;
FONT-WEIGHT: normal;
FONT-SIZE: 12pt;
}
.schedule {
border-radius: 15px;
background-color: #C0D9D9;
padding-right: 0.3em;
FONT-SIZE: 14pt;
background-color: #FAF9DE;
}
/* 视频*/
iframe {
width: auto;
height: auto;
margin: 0 auto;
}
/* 音频*/
embed {
width: 300px;
height: 45px;
}
PRE {
OVERFLOW: auto;
BORDER-TOP: #292929 1px solid;
BORDER-RIGHT: #292929 1px solid;
BACKGROUND: #191919 center top;
BORDER-BOTTOM: #292929 1px solid;
PADDING-BOTTOM: 10px;
PADDING-TOP: 10px;
PADDING-LEFT: 15px;
BORDER-LEFT: #292929 4px solid;
MARGIN: 15px auto;
PADDING-RIGHT: 15px;
TEXT-INDENT: 0px;
FONT-FAMILY: "Lucida Console";
}
CODE {
border: 0px;
margin: 0px;
padding: 0.2em;
BACKGROUND: #191919 center top;
border-radius: 3px;
font-weight: bold;
FONT-FAMILY: "Lucida Console";
font-size: 13px;
}
button {
color: #333333;
background-color: #FF7F27;
border: 0px;
margin: 0px 0px 5px 5px;
padding: 4px 10px;
font-weight: bold;
font-size: 13px;
text-align: center;
border-radius: 2px;
orphans: 2;
widows: 2;
word-spacing: 0px;
border-radius: 8px;
}
/* 根据词性高亮文本 */
/* noun 名词
NN Noun, singular or mass 常用名词 单数形式
NNS Noun, plural 常用名词 复数形式
NNP Proper noun, singular 专有名词,单数形式
NNPS Proper noun, plural 专有名词,复数形式*/
.noun,
.NN,
.NNS,
.NNP,
.NNPS {
color: #FFF200;
}
/* pronoun 代词
PRP Personal pronoun 人称代词
PRP Possessive pronoun 所有格代名词
WP Wh-pronoun 代词(who whose which)
WRB Wh-adverb 疑问代词(how where when)
DT Determiner 限定词(this,those,such)不定限定词(any,each,every,either,all,many,other)
*/
.pronoun,
.PRP,
.WP,
.WRB,
.DT {
color: #ff00ff;
}
/* Verb 动词
MD Modal 情态助动词
VB Verb, base form 动词基本形式
VBD Verb, past tense 动词过去式
VBG Verb, gerund or present participle 动名词和现在分词
VBN Verb, past participle 过去分词
VBN Verb, non-3rd person singular present 动词非第三人称单数
VBZ Verb, 3rd person singular present 动词第三人称单数
VBP Verb, non-3rd person singular present 动词非第三人称单数
*/
.verb,
.VB,
.VBG,
.VBD,
.VBZ,
.VBN,
.VBZ,
.VBP,
.MD {
color: #00a6ff;
}
/* Adjective 形容词
JJ Adjective 形容词或序数词
JJR Adjective, comparative 形容词比较级
JJS Adjective, superlative 形容词最高级 */
.adjective,
.JJ,
JJ,
JJS {
color: #ff5100;
}
/* Adverb 副词
RB Adverb 副词
RBR Adverb, comparative 副词比较级
RBS Adverb, superlative 副词最高级
*/
.adverb,
.RB,
.RBR,
.RBS {
color: #00c20d;
}
/*TO to 作为介词或不定式格式
IN Preposition or subordinating conjunction 介词或从属连词
CC Coordinating conjunction 连接词*/
.preposition,
.IN,
.TO,
.conjunction,
.CC {
color: #ff8ea1;
}
/*UH Interjection 感叹词 */
.interjection,
.UH {
color: #873d00;
}