|
283 | 283 | --font-size-2sm: 1.2rem; |
284 | 284 | --font-size-md: 1.125rem; |
285 | 285 | --font-size-lg: 1.25rem; |
| 286 | + --font-size-2md: 1.3rem; |
286 | 287 | --font-size-xl: 1.5rem; |
287 | 288 | --font-size-2xl: 1.75rem; |
288 | 289 | --font-size-3xl: 2rem; |
|
405 | 406 | --typography-font-size-xs: var(--font-size-xs); |
406 | 407 | --typography-font-size-sm: var(--font-size-sm); |
407 | 408 | --typography-font-size-md: var(--font-size-md); |
| 409 | + --typography-font-size-2md: var(--font-size-2md); |
408 | 410 | --typography-font-size-lg: var(--font-size-lg); |
409 | 411 | --typography-font-size-xl: var(--font-size-xl); |
410 | 412 | --typography-font-size-2xl: var(--font-size-2xl); |
|
418 | 420 | --typography-line-height-2xl: var(--font-line-height-2xl); |
419 | 421 | --typography-line-height-3xl: var(--font-line-height-3xl); |
420 | 422 | --typography-line-height-4xl: var(--font-line-height-4xl); |
| 423 | + |
| 424 | + /* Heading */ |
| 425 | + --typography-font-size-h1: var(--font-size-2xl); |
| 426 | + --typography-font-size-h2: var(--font-size-xl); |
| 427 | + --typography-font-size-h3: var(--font-size-2md); |
| 428 | + --typography-font-size-h4: var(--font-size-md); |
| 429 | + |
| 430 | + /* |
| 431 | +*/ |
421 | 432 | } |
422 | 433 | } |
423 | 434 |
|
@@ -914,27 +925,27 @@ body :not(pre):not([class^="L"]) > code { |
914 | 925 | /* Heading Sizes */ |
915 | 926 | .boostlook h1, |
916 | 927 | .boostlook .doc h1 { |
917 | | - font-size: var(--typography-font-size-2xl, 1.75rem); |
| 928 | + font-size: var(--typography-font-size-h1, 1.75rem); |
918 | 929 | line-height: var(--typography-line-height-3xl, 2.5rem); /* 142.857% */ |
919 | 930 | } |
920 | 931 |
|
921 | 932 | /* Primary headings */ |
922 | 933 | .boostlook h2, |
923 | 934 | .boostlook .doc h2 { |
924 | | - font-size: var(--typography-font-size-lg, 1.25rem); |
| 935 | + font-size: var(--typography-font-size-h2, 1.5rem); |
925 | 936 | } |
926 | 937 |
|
927 | 938 | /* Section headings */ |
928 | 939 | .boostlook h3, |
929 | 940 | .boostlook .doc h3 { |
930 | | - font-size: var(--typography-font-size-md, 1.2rem); |
| 941 | + font-size: var(--typography-font-size-h3, 1.3rem); |
931 | 942 | line-height: var(--typography-line-height-xl, 1.85rem); /* 155.556% */ |
932 | 943 | } |
933 | 944 |
|
934 | 945 | /* Subsection headings */ |
935 | 946 | .boostlook h4, |
936 | 947 | .boostlook .doc h4 { |
937 | | - font-size: var(--typography-font-size-md, 1.125rem); |
| 948 | + font-size: var(--typography-font-size-h4, 1.125rem); |
938 | 949 | line-height: var(--typography-line-height-xl, 1.75rem); /* 155.556% */ |
939 | 950 | } |
940 | 951 |
|
@@ -1438,7 +1449,8 @@ html.dark .boostlook .doc .literalblock pre { |
1438 | 1449 | flex-direction: column-reverse; |
1439 | 1450 | } |
1440 | 1451 |
|
1441 | | -.boostlook .content:has(> pre):has(> .source-toolbox) pre.highlight { |
| 1452 | +.boostlook .highlight pre, |
| 1453 | +.boostlook .content:has(> pre) pre.highlight { |
1442 | 1454 | border: 1px solid var(--border-border-secondary, #d5d7d9); |
1443 | 1455 | } |
1444 | 1456 | .boostlook .content:has(> pre):has(> .source-toolbox) pre { |
@@ -2002,7 +2014,7 @@ html.dark .boostlook .hljs-code { |
2002 | 2014 | border-radius: var(--spacing-size-size-0, 0rem); |
2003 | 2015 | border: 1px solid transparent; |
2004 | 2016 | margin: revert; |
2005 | | - margin-left: var(--spacing-size-xl); |
| 2017 | + /*margin-left: var(--spacing-size-xl);*/ |
2006 | 2018 | background: transparent; |
2007 | 2019 | } |
2008 | 2020 |
|
@@ -2146,11 +2158,7 @@ html.dark .boostlook .hljs-code { |
2146 | 2158 | border-color: var(--border-border-blue-primary, #c2e2f4); |
2147 | 2159 | background-color: var(--surface-background-main-surface-blue-primary, #ebf4f9); |
2148 | 2160 | } |
2149 | | -/* .boostlook #content .admonitionblock.note > table tr td.icon, |
2150 | | -.boostlook:not(:has(.doc)) div.note > table tr:first-child th, |
2151 | | -.boostlook:not(:has(.doc)) .notices.note .heading { |
2152 | | - background: var(--surface-background-states-surface-additional-tetriary, #92cbe9); |
2153 | | -} */ |
| 2161 | + |
2154 | 2162 | .boostlook #content .admonitionblock.note > table tr td.icon > *, |
2155 | 2163 | .boostlook:not(:has(.doc)) div.note > table tr:first-child th, |
2156 | 2164 | .boostlook:not(:has(.doc)) .notices.note .heading { |
@@ -4190,7 +4198,7 @@ div.source-docs-antora.boostlook:not(:has(.doc)):not(:has(> .boostlook)) div.spi |
4190 | 4198 | padding: 0 0 var(--padding-padding-xs, 0.75rem) 0; |
4191 | 4199 | background: none; |
4192 | 4200 | color: var(--text-main-text-primary, #18191b); |
4193 | | - font-size: var(--Typography-font-size-md, 1.125rem); |
| 4201 | + font-size: var(--typography-font-size-md, 1.125rem); |
4194 | 4202 | font-style: normal; |
4195 | 4203 | font-variation-settings: "wght" 500, "wdth" 80; |
4196 | 4204 | line-height: var(--typography-line-height-xl, 1.75rem); /* 155.556% */ |
|
0 commit comments