static/css/blog.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
@import url('https://rsms.me/inter/inter.css'); @import url('syntax.css'); .bcontainer{ max-width: 664px; width: 100%; margin: 2rem auto; justify-content: center; color: var(--text); } .blog-menu{ border-right: 1px solid #BCBCBC; margin-left: 30px; min-width: 170px; max-width: 220px; } .blog-menu ul{ list-style: none; } .blog-menu > ul > li{ font-weight: 700; line-height: 2.5; } .blog-menu > ul > ul > li{ text-indent: 1.5rem; line-height: 1.4; font-weight: 200; } .bcontent{ max-width: 720px; } .bcontent h1{ font-weight: 600; font-size: 1.8rem; line-height: 1.2; color: var(--text-primary); fill: var(--text-primary); } #rss a{ color: inherit; font-size: 16px; font-weight: 200; } #rss { margin-left: 8px; } .bcontent > .post-date{ margin: 0.8rem 0; } .post-labels{ display:flex; flex-wrap: wrap; margin-left: -0.2rem; margin-bottom: 2rem; } .post-label{ background-color: var(--pre-bg); border: 1px solid var(--pre-border); border-radius: 0.3rem; padding: 0.2rem 0.8rem; font-size: 0.85rem; margin: 0.2rem 0.2rem; } .posts{ list-style: none; font-size: 18px; font-weight: 500; margin-top: 1.5rem; } .post-item{ display: flex; flex-direction: row; justify-content: space-between; margin: 1rem 0; } .post-item > a:hover { text-decoration: underline; } .post-item > a { margin-right: 4rem; overflow: hidden; color: var(--text); } .post-item > .post-date{ color: var(--text-secondary); font-size: 1rem; line-height: 1.4; white-space: nowrap; } .footnotes ol{ list-style-position: inside; padding-top: 1rem; } .footnotes li>p { display: inline-block; margin: 0.3rem; } .post-text{ font-family: 'Inter', sans-serif; font-size: 16px; color: var(--text); } .post-text figure h4{ color: var(--text-secondary); text-align: center; font-size: 1rem; font-weight: 400; margin-top: 0.5rem; } .post-text figure{ display: flex; flex-direction: column; margin-bottom: 1rem; } .post-text a { border-bottom: 2.7px solid #008aff80; overflow-wrap: break-word; } .post-text a code { border-bottom: 1.7px solid #008aff80; } .post-text a:hover { color: #008aff; text-decoration: none; } .post-text sup { border-radius: 0.25rem; padding: 0.1rem 0.3rem; background-color: #008aff1f; } .post-text figure img{ margin: 0 auto; } .post-text p{ line-height: 1.6; margin: 1rem 0; } .post-text li{ line-height: 1.6; margin-bottom: 8px; } .post-text h1{ font-family: 'Exo 2'; font-weight: 500; font-size:1.6rem; margin-top: 2.5rem; } .post-text h2{ font-family: 'Exo 2'; font-size:1.4rem; font-weight: 500; margin: 2rem 0; color: var(--text-primary); } .post-text h3{ font-family: 'Exo 2'; font-weight: 500; font-size:1.2rem; margin-top: 1.5rem; color: var(--text-primary); } .post-text h4{ font-weight: 600; font-size:1rem; margin-top: 1rem; color: var(--text-primary); } .post-text ul{ list-style-position: outside; padding: 0 1.2rem; } .post-text ol{ list-style-position: outside; padding: 0 1.2rem; } .post-text pre { max-width: 100%; background: var(--pre-bg); padding: 1rem; margin: 0.5rem 0; border: 1px solid var(--pre-border); border-radius: 6px; font-size: 0.9rem; overflow-x: scroll; } .post-text strong { font-weight: 600; } .post-text pre::-webkit-scrollbar { height: 6px; } .post-text pre::-webkit-scrollbar-thumb { background-color: var(--scrollbar); border-radius: 20px; } .post-text pre::-webkit-scrollbar-thumb:active { background-color: rgba(3,122,255,0.8); } :not(pre) > code{ overflow-wrap: break-word; font-family: monospace; font-size: 14px; background-color: var(--code-bg); border: 1px solid var(--pre-border); padding: 0 0.3rem; border-radius: 0.2rem; } .post-text ._aside { border: 1px solid #008aff42; border-radius: 6px; background-color: #40a6ff14; padding: 0.5rem 2.5rem; margin-top: 1rem; } .post-text ._aside h1, .post-text ._aside h2, .post-text ._aside h3, .post-text ._aside h4 { color: var(--text) } .vid { max-width: 100%; height: auto; } .post-text blockquote { margin: 2rem 0rem 2rem 1rem; padding-left: 1rem; border-left: 4px solid var(--quote-bar); font-size: 16px; color: var(--text-secondary); font-style: italic; } @media only screen and (max-width: 768px){ .bcontent { width: 90%; margin: 0 auto; } /* #blist { */ /* width:100%; */ /* } */ /* #blist h1{ */ /* margin-left: 1rem; */ /* } */ .bcontainer { margin-top: 1rem; } .post-item{ flex-direction: column-reverse; } .post-item > a { margin-right: 0rem; overflow: hidden; font-weight: 500; } .post-item > .post-date{ margin-bottom: 0.2rem; } .post-text ._aside { padding: 0.5rem 1.5rem; } }