Mercurial > p > roundup > code
comparison doc/_static/style.css @ 7314:4917bb4b5eac
Setup spacing with lobotmized owl; close space between dt/dd.
Trying to establish a good spacing rhythm.
Line height 1.5em
inter-element 1.2em
dt/dd spacing 0.25em to put dt further away from previous element
and closer to its dd.
| author | John Rouillard <rouilj@ieee.org> |
|---|---|
| date | Wed, 10 May 2023 23:58:13 -0400 |
| parents | 1a221cf0758b |
| children | 7e25424e2169 |
comparison
equal
deleted
inserted
replaced
| 7313:1a221cf0758b | 7314:4917bb4b5eac |
|---|---|
| 36 1.25 * var(--_font-level-3), | 36 1.25 * var(--_font-level-3), |
| 37 2.05rem + 1.93vw, | 37 2.05rem + 1.93vw, |
| 38 3.55rem) | 38 3.55rem) |
| 39 ); | 39 ); |
| 40 } | 40 } |
| 41 | |
| 42 * + * { margin-block-start: 1.2em;} | |
| 41 | 43 |
| 42 h1, h2, h3, h4, h5, h6 { | 44 h1, h2, h3, h4, h5, h6 { |
| 43 line-height: 1.25; | 45 line-height: 1.25; |
| 44 /* Larger spacing before header and smaller after to make | 46 /* Larger spacing before header and smaller after to make |
| 45 header part of following section */ | 47 header part of following section */ |
| 240 | 242 |
| 241 table caption { font-weight: bold; font-size: smaller; } | 243 table caption { font-weight: bold; font-size: smaller; } |
| 242 | 244 |
| 243 table.footnote { | 245 table.footnote { |
| 244 font-size: calc(1em - 1pt); | 246 font-size: calc(1em - 1pt); |
| 245 margin-block-start: 1em; | |
| 246 position: relative | 247 position: relative |
| 247 } | 248 } |
| 248 | 249 |
| 249 table.footnote::before { | 250 table.footnote::before { |
| 250 border: 1px solid black; | 251 border: 1px solid black; |
| 300 div.admonition.caution p.admonition-title { | 301 div.admonition.caution p.admonition-title { |
| 301 border-block-end: red solid 2px; | 302 border-block-end: red solid 2px; |
| 302 } | 303 } |
| 303 | 304 |
| 304 dt { font-weight: bold; margin-block-start: 1em;} | 305 dt { font-weight: bold; margin-block-start: 1em;} |
| 306 dt + dd { margin-block-start: 0.25em; } | |
| 305 dd p.first { margin-block-start: 0; } | 307 dd p.first { margin-block-start: 0; } |
| 306 | 308 |
| 307 #skiplink { display: block; | 309 #skiplink { display: block; |
| 308 margin-block-start: 1em; | 310 margin-block-start: 1em; |
| 309 margin-inline-start: 1em;} | 311 margin-inline-start: 1em;} |
