|
12 | 12 | --elements-border-color: rgba(0, 0, 0, 0.2); |
13 | 13 | --color-action-hover: rgba(0, 0, 0, 0.68); |
14 | 14 | --bs-color-surface-status-warning-muted: rgba(255, 208, 0, 0.16); |
| 15 | + --bs-emphasis-color: #000; |
15 | 16 |
|
16 | 17 | --default-font-family: "Helvetica Neue", helvetica, "Noto Sans", |
17 | 18 | "Liberation Sans", arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", |
|
35 | 36 | --font-size-heading-large: 1.5rem; |
36 | 37 | --font-size-display-small: 2rem; |
37 | 38 |
|
38 | | - --font-line-height-heading-large: 0px; |
39 | | - --font-line-height-display-small: 40px; |
40 | | - --font-line-height-body-medium: 14px; |
| 39 | + --font-line-height-heading-large: 1.3333333333; |
| 40 | + --font-line-height-heading-medium: 1.4; |
| 41 | + --font-line-height-display-small: 1.25; |
| 42 | + --font-line-height-body-large: 1.5; |
| 43 | + --font-line-height-body-medium: 1.4285714286; |
41 | 44 |
|
42 | | - --font-letter-spacing-display-small: -0.32px; |
43 | | - --font-letter-spacing-heading-large: 0.12px; |
44 | | - --font-letter-spacing-heading-small: 0.18px; |
45 | | - --font-letter-spacing-body-large: 0.2px; |
| 45 | + --font-letter-spacing-display-small: -0.02rem; |
| 46 | + --font-letter-spacing-heading-large: -0.0075rem; |
| 47 | + --font-letter-spacing-heading-medium: 0rem; |
| 48 | + --font-letter-spacing-heading-small: 0.01125rem; |
| 49 | + --font-letter-spacing-body-large: 0.0125rem; |
46 | 50 |
|
47 | 51 | --default-font-size: var(--font-size-body-large); |
48 | 52 | --horizontal-spacing-for-content: var(--grid-margin); |
|
57 | 61 |
|
58 | 62 | --hero-image-height: 170px; |
59 | 63 |
|
60 | | - --font-size-body-large: 1.125rem; |
61 | | - --font-size-heading-small: 1.5rem; |
| 64 | + --font-size-body-large: 1rem; |
| 65 | + --font-size-heading-small: 1.25rem; |
62 | 66 | --font-size-heading-medium: 1.5rem; |
63 | | - --font-size-heading-large: 2.25rem; |
| 67 | + --font-size-heading-large: 1.75rem; |
64 | 68 | --font-size-display-small: 2.5rem; |
65 | 69 |
|
66 | | - --font-line-height-heading-large: 36px; |
| 70 | + --font-line-height-heading-large: 1.2857142857; |
| 71 | + --font-line-height-heading-medium: 1.3333333333; |
| 72 | + --font-line-height-body-large: 1.5; |
67 | 73 |
|
68 | | - --font-letter-spacing-display-small: -0.4px; |
69 | | - --font-letter-spacing-heading-large: 0.28px; |
70 | | - --font-letter-spacing-heading-small: 0px; |
71 | | - --font-letter-spacing-body-large: 0.18px; |
| 74 | + --font-letter-spacing-display-small: -0.025rem; |
| 75 | + --font-letter-spacing-heading-large: -0.0175rem; |
| 76 | + --font-letter-spacing-heading-medium: -0.0075rem; |
| 77 | + --font-letter-spacing-heading-small: 0rem; |
| 78 | + --font-letter-spacing-body-large: 0.0125rem; |
72 | 79 | } |
73 | 80 |
|
74 | 81 | @media (min-width: 1024px) { |
|
185 | 192 | font-weight: 700; |
186 | 193 | } |
187 | 194 |
|
| 195 | +.toc--icon { |
| 196 | + line-height: 0px; |
| 197 | +} |
| 198 | + |
188 | 199 | .toc--row { |
189 | 200 | min-height: 34px; |
190 | 201 | } |
|
245 | 256 | /* Homepage introduction */ |
246 | 257 | .main-content[pageIds~="OUDS"] > .cover > .cover > .paragraph:first-of-type { |
247 | 258 | font-size: var(--font-size-heading-small); |
248 | | - font-weight: 700; |
| 259 | + font-weight: 400; |
249 | 260 | letter-spacing: var(--font-letter-spacing-heading-small); |
| 261 | + line-height: var(--font-line-height-heading-small); |
250 | 262 | margin-bottom: 1rem; |
251 | 263 | } |
252 | 264 |
|
| 265 | +.main-content p.paragraph{ |
| 266 | + margin-top: 24px; |
| 267 | +} |
| 268 | + |
| 269 | +.main-content ul p.paragraph, |
| 270 | +.main-content blockquote p.paragraph, |
| 271 | +.main-content .table p.paragraph, |
| 272 | +.main-content ol li p.paragraph { |
| 273 | + margin-top: 0px; |
| 274 | +} |
| 275 | + |
| 276 | +.main-content blockquote { |
| 277 | + margin-top: 18px; |
| 278 | +} |
| 279 | + |
253 | 280 | /* section headings, using :is() to select like Dokka */ |
254 | 281 | .main-content :is(h1, h2) { |
255 | 282 | font-weight: 700; |
|
260 | 287 | line-height: var(--font-line-height-display-small); |
261 | 288 | letter-spacing: var(--font-letter-spacing-display-small); |
262 | 289 | } |
263 | | -h2, h3 { |
264 | | - font-size: var(--font-size-heading-large); |
265 | | - line-height: var(--font-line-height-heading-large); |
266 | | - letter-spacing: var(--font-letter-spacing-heading-large); |
| 290 | +h1 { |
| 291 | + margin-top: 18px; |
| 292 | +} |
| 293 | +h2 { |
| 294 | + font-size: var(--font-size-heading-medium); |
| 295 | + line-height: var(--font-line-height-heading-medium); |
| 296 | + letter-spacing: var(--font-letter-spacing-heading-medium); |
| 297 | +} |
| 298 | +h3 { |
| 299 | + font-size: var(--font-size-heading-small); |
| 300 | + line-height: var(--font-line-height-heading-small); |
| 301 | + letter-spacing: var(--font-letter-spacing-heading-small); |
| 302 | + margin-bottom: 1rem; |
| 303 | + margin-top: 2rem; |
| 304 | +} |
| 305 | +h4 { |
| 306 | + font-size: var(--font-size-body-large); |
| 307 | + line-height: var(--font-line-height-body-large); |
| 308 | + letter-spacing: var(--font-letter-spacing-body-large); |
| 309 | + margin-bottom: 0rem; |
| 310 | + margin-top: 1.75rem; |
267 | 311 | } |
268 | 312 |
|
269 | 313 | /* deprecation content */ |
@@ -302,14 +346,20 @@ h2, h3 { |
302 | 346 | code:not(.block) { |
303 | 347 | padding: 0 0.4em 0.175em; |
304 | 348 | margin: 0; |
305 | | - font-size: 80%; |
| 349 | + font-size: 95%; |
306 | 350 | white-space: break-spaces; |
307 | 351 | border-radius: 2px; |
308 | 352 | } |
309 | 353 |
|
310 | 354 | code.block { |
311 | 355 | border: 1px solid var(--elements-border-color); |
312 | 356 | border-radius: 0; |
| 357 | + margin-top: 8px; |
| 358 | +} |
| 359 | + |
| 360 | +/* sample code block */ |
| 361 | +.sample-container, div.CodeMirror { |
| 362 | + margin-top: 24px; |
313 | 363 | } |
314 | 364 |
|
315 | 365 | /* mainly fixes dark theme */ |
|
332 | 382 |
|
333 | 383 | td:first-child { |
334 | 384 | width: 25%; |
335 | | - padding-left: 0px; |
336 | 385 | } |
337 | 386 |
|
338 | 387 | .parameters { |
|
0 commit comments