File tree Expand file tree Collapse file tree 2 files changed +96
-0
lines changed Expand file tree Collapse file tree 2 files changed +96
-0
lines changed Original file line number Diff line number Diff line change 65
65
66
66
h3 {
67
67
@apply text-2xl;
68
+ font-weight : bold;
69
+ @apply markdown-h;
70
+ @apply pb-2;
68
71
}
69
72
70
73
/*a {*/
@@ -208,6 +211,11 @@ html {
208
211
@apply mb-0;
209
212
}
210
213
214
+ .markdown-content h3 {
215
+ @apply mt-6;
216
+ @apply mb-0;
217
+ }
218
+
211
219
.markdown-h {
212
220
color : var (--brown-caption );
213
221
}
@@ -269,6 +277,41 @@ html {
269
277
/*@apply leading-7;*/
270
278
}
271
279
280
+ /* note: no preceding `.markdown-content`. */
281
+ .footnote-definition {
282
+ @apply text-sm;
283
+
284
+ display : flex;
285
+ flex-direction : column; /* stack child elements vertically */
286
+ /*align-items: baseline;*/
287
+ }
288
+
289
+ .footnote-definition-label {
290
+ /* Adjust spacing between the label and the paragraph. */
291
+ /*margin-right: 5px;*/
292
+ @apply mr-1.5;
293
+
294
+ /* align label to start of the line. */
295
+ align-self : flex-start;
296
+ /* place the label before other elements. */
297
+ /*order: -1;*/
298
+
299
+ /* offset label vertically, since it's too high otherwise */
300
+ position : relative;
301
+ top : 9px ;
302
+ }
303
+
304
+ .footnote-definition code {
305
+ @apply text-sm;
306
+ }
307
+
308
+ /** Indent paragraph (incl. lists) compared to label. */
309
+ .footnote-definition p ,
310
+ .footnote-definition ul ,
311
+ .footnote-definition ol {
312
+ @apply ml-4;
313
+ @apply mb-1;
314
+ }
272
315
273
316
/*.all-links {*/
274
317
/* color: #59a2cc;*/
Original file line number Diff line number Diff line change @@ -515,6 +515,16 @@ h2 {
515
515
h3 {
516
516
font-size : 1.5rem ;
517
517
line-height : 2rem ;
518
+ font-weight : bold;
519
+ color : var (--brown-caption );
520
+ }
521
+
522
+ : is (.dark h3 ) {
523
+ color : var (--brown-caption-dark );
524
+ }
525
+
526
+ h3 {
527
+ padding-bottom : 0.5rem ;
518
528
}
519
529
520
530
/*a {*/
@@ -1639,6 +1649,11 @@ html {
1639
1649
margin-bottom : 0px ;
1640
1650
}
1641
1651
1652
+ .markdown-content h3 {
1653
+ margin-top : 1.5rem ;
1654
+ margin-bottom : 0px ;
1655
+ }
1656
+
1642
1657
.markdown-h {
1643
1658
color : var (--brown-caption );
1644
1659
}
@@ -1707,6 +1722,44 @@ html {
1707
1722
/*@apply leading-7;*/
1708
1723
}
1709
1724
1725
+ /* note: no preceding `.markdown-content`. */
1726
+
1727
+ .footnote-definition {
1728
+ font-size : 0.875rem ;
1729
+ line-height : 1.25rem ;
1730
+ display : flex;
1731
+ flex-direction : column;
1732
+ /* stack child elements vertically */
1733
+ /*align-items: baseline;*/
1734
+ }
1735
+
1736
+ .footnote-definition-label {
1737
+ /* Adjust spacing between the label and the paragraph. */
1738
+ /*margin-right: 5px;*/
1739
+ margin-right : 0.375rem ;
1740
+ /* align label to start of the line. */
1741
+ align-self : flex-start;
1742
+ /* place the label before other elements. */
1743
+ /*order: -1;*/
1744
+ /* offset label vertically, since it's too high otherwise */
1745
+ position : relative;
1746
+ top : 9px ;
1747
+ }
1748
+
1749
+ .footnote-definition code {
1750
+ font-size : 0.875rem ;
1751
+ line-height : 1.25rem ;
1752
+ }
1753
+
1754
+ /** Indent paragraph (incl. lists) compared to label. */
1755
+
1756
+ .footnote-definition p ,
1757
+ .footnote-definition ul ,
1758
+ .footnote-definition ol {
1759
+ margin-left : 1rem ;
1760
+ margin-bottom : 0.25rem ;
1761
+ }
1762
+
1710
1763
/*.all-links {*/
1711
1764
1712
1765
/* color: #59a2cc;*/
You can’t perform that action at this time.
0 commit comments