Template:Spec.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 133: | Line 133: | ||
} | } | ||
h2 .mw-headline { | |||
display: flex; | |||
gap: .5rem; | |||
} | |||
h2 .mw-headline::before { | h2 .mw-headline::before { | ||
position: absolute; | position: absolute; | ||
display: block; | |||
aspect-ratio: 1 / 1; | |||
right: 100%; | right: 100%; | ||
counter-increment: section; | counter-increment: section; | ||
content: counter(section) | content: counter(section); | ||
color: var(--colour-grey- | color: var(--colour-grey-200); | ||
background-color: var(--colour-grey-600); | |||
font-weight: 400; | font-weight: 400; | ||
white-space: nowrap; | white-space: nowrap; | ||
} | } | ||