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