File tree 5 files changed +1106
-19
lines changed
5 files changed +1106
-19
lines changed Original file line number Diff line number Diff line change @@ -228,11 +228,23 @@ li > .katex {
228
228
/* #region: others */
229
229
pre {
230
230
line-height : var (--rhythm );
231
+ font-size : 0.75rem ;
232
+ padding : calc (var (--rhythm ) * 0.5rem );
233
+ border-radius : calc (var (--rhythm ) * 0.25rem );
234
+ -webkit-font-smoothing : auto;
235
+ overflow : auto;
231
236
}
232
237
233
238
.post-body ol ,
234
239
.post-body ul {
235
- margin-left : 3.2rem ;
240
+ margin-left : calc (var (--rhythm ) * 1rem );
241
+ }
242
+
243
+ @media (min-width : 550px ) {
244
+ .post-body ol ,
245
+ .post-body ul {
246
+ margin-left : calc (var (--rhythm ) * 2rem );
247
+ }
236
248
}
237
249
238
250
.post-body ol {
@@ -247,14 +259,6 @@ pre {
247
259
margin-bottom : calc (var (--rhythm ) * 0.5rem );
248
260
}
249
261
250
- @media (min-width : var (--width-big-enough )) {
251
- .post-body ol ,
252
- .post-body ul {
253
- min-width : 50rem ;
254
- margin-left : 2rem ;
255
- }
256
- }
257
-
258
262
figure img {
259
263
margin-bottom : 0 ;
260
264
}
@@ -276,13 +280,15 @@ figcaption {
276
280
/* #endregion */
277
281
278
282
/* #region: inlines */
279
- : not ( pre ) > code {
283
+ code {
280
284
font-family : var (--font-mono );
281
285
font-variant-ligatures : "none" ;
282
286
font-feature-settings : "normal" ;
287
+ }
288
+
289
+ : not (pre ) > code {
283
290
font-size : 0.8rem ;
284
291
color : var (--color-text-inline-code );
285
- border-radius : 3px ;
286
292
}
287
293
288
294
a {
You can’t perform that action at this time.
0 commit comments