-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
408 lines (337 loc) · 5.7 KB
/
styles.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
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
/**
* Publish Aross theme
* Copyright (c) Alexander Ross 2020
* MIT license
*/
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background: #fff;
color: #000;
font-family: Helvetica, Arial;
text-align: center;
}
.wrapper {
max-width: 900px;
margin-left: auto;
margin-right: auto;
padding: 40px;
text-align: left;
}
header {
background-color: #eee;
}
header .wrapper {
padding-top: 30px;
padding-bottom: 30px;
text-align: center;
}
header a {
text-decoration: none;
}
header .site-name {
font-size: 1.5em;
color: #000;
font-weight: bold;
}
nav {
margin-top: 20px;
}
nav li {
display: inline-block;
margin-left: 1em;
margin-right: 1em;
}
h1 {
margin-bottom: 20px;
font-size: 2em;
}
h2 {
margin: 20px 0;
}
p {
margin-bottom: 10px;
}
a {
color: inherit;
}
code {
border: 1px solid rgba(0, 0, 0, 0.2);
padding-left: 0.5em;
padding-right: 0.5em;
border-radius: 0.3em;
}
pre {
margin-top: 20px;
margin-bottom: 20px;
}
pre code {
display: block;
padding: 15px 20px;
border: 1px solid #D0D0D0;
border-radius: 12px;
line-height: 1.4em;
font-size: 1em;
overflow-x: auto;
white-space: pre;
background: #FAFAF9;
}
article img {
max-width: 100%;
}
article p {
line-height: 1.5;
font-size: 1.05em;
margin-top: 20px;
}
.description {
margin-bottom: 40px;
}
.item-list > li {
display: block;
padding: 20px;
border-radius: 20px;
background-color: #eee;
margin-bottom: 20px;
}
.item-list > li:last-child {
margin-bottom: 0;
}
.item-list h1 {
margin-bottom: 15px;
font-size: 1.3em;
}
.item-list p {
margin-bottom: 0;
}
.tag-list {
margin-bottom: 15px;
}
.tag-list li,
.tag {
display: inline-block;
background-color: #000;
color: #ddd;
padding: 4px 6px;
border-radius: 5px;
margin-right: 5px;
}
.tag-list a,
.tag a {
text-decoration: none;
}
.item-page .tag-list {
display: inline-block;
}
.content {
margin-bottom: 40px;
}
.browse-all {
display: block;
margin-bottom: 30px;
}
.all-tags li {
font-size: 1.4em;
margin-right: 10px;
padding: 6px 10px;
}
footer {
color: #8a8a8a;
}
@media (prefers-color-scheme: dark) {
body {
background-color: #222;
}
body,
header .site-name {
color: #ddd;
}
.item-list > li {
background-color: #333;
}
header {
background-color: #000;
}
code {
border: 1px solid rgba(255, 255, 255, 0.2);
}
pre code {
border: 1px solid #000000;
background: #131313;
}
}
@media(max-width: 600px) {
.wrapper {
padding: 40px 20px;
}
}
/**
* MARK: Highlight JS
*/
/*
Atom One Light by Daniel Gamage
Original One Light Syntax theme from https://github.com/atom/one-light-syntax
base: #fafafa
mono-1: #383a42
mono-2: #686b77
mono-3: #a0a1a7
hue-1: #0184bb
hue-2: #4078f2
hue-3: #a626a4
hue-4: #50a14f
hue-5: #e45649
hue-5-2: #c91243
hue-6: #986801
hue-6-2: #c18401
*/
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #383a42;
background: #fafafa;
}
.hljs-comment,
.hljs-quote {
color: #a0a1a7;
font-style: italic;
}
.hljs-doctag,
.hljs-keyword,
.hljs-formula {
color: #a626a4;
}
.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
color: #e45649;
}
.hljs-literal {
color: #0184bb;
}
.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta-string {
color: #50a14f;
}
.hljs-built_in,
.hljs-class .hljs-title {
color: #c18401;
}
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
color: #986801;
}
.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
color: #4078f2;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}
.hljs-link {
text-decoration: underline;
}
@media (prefers-color-scheme: dark) {
/*
Atom One Dark by Daniel Gamage
Original One Dark Syntax theme from https://github.com/atom/one-dark-syntax
base: #282c34
mono-1: #abb2bf
mono-2: #818896
mono-3: #5c6370
hue-1: #56b6c2
hue-2: #61aeee
hue-3: #c678dd
hue-4: #98c379
hue-5: #e06c75
hue-5-2: #be5046
hue-6: #d19a66
hue-6-2: #e6c07b
*/
.hljs {
display: block;
overflow-x: auto;
padding: 0.5em;
color: #abb2bf;
background: #282c34;
}
.hljs-comment,
.hljs-quote {
color: #5c6370;
font-style: italic;
}
.hljs-doctag,
.hljs-keyword,
.hljs-formula {
color: #c678dd;
}
.hljs-section,
.hljs-name,
.hljs-selector-tag,
.hljs-deletion,
.hljs-subst {
color: #e06c75;
}
.hljs-literal {
color: #56b6c2;
}
.hljs-string,
.hljs-regexp,
.hljs-addition,
.hljs-attribute,
.hljs-meta-string {
color: #98c379;
}
.hljs-built_in,
.hljs-class .hljs-title {
color: #e6c07b;
}
.hljs-attr,
.hljs-variable,
.hljs-template-variable,
.hljs-type,
.hljs-selector-class,
.hljs-selector-attr,
.hljs-selector-pseudo,
.hljs-number {
color: #d19a66;
}
.hljs-symbol,
.hljs-bullet,
.hljs-link,
.hljs-meta,
.hljs-selector-id,
.hljs-title {
color: #61aeee;
}
.hljs-emphasis {
font-style: italic;
}
.hljs-strong {
font-weight: bold;
}
.hljs-link {
text-decoration: underline;
}
}