Template:Mdn.css: Difference between revisions
No edit summary |
No edit summary |
||
| (10 intermediate revisions by the same user not shown) | |||
| Line 55: | Line 55: | ||
align-items: center; | align-items: center; | ||
padding: 1rem; | padding: 1rem; | ||
margin: 1rem 0; | |||
.text { | .text { | ||
| Line 107: | Line 108: | ||
aspect-ratio: 512 / 77; | aspect-ratio: 512 / 77; | ||
width: auto; | width: auto; | ||
} | |||
.mw-body-content h1 { | |||
border: none; | |||
font: 600 2.5rem / 1.2 var(--font); | |||
display: flex; | |||
align-items: start; | |||
margin-bottom: 2rem; | |||
.awesome, a { | |||
display: contents; | |||
} | |||
.mw-headline { display: contents } | |||
img { | |||
width: 32px; | |||
height: auto; | |||
aspect-ratio: 1 / 1; | |||
} | |||
} | } | ||
| Line 126: | Line 146: | ||
#mw-panel { | #mw-panel { | ||
display: none; | display: none; | ||
} | |||
.toc { | |||
grid-area: toc; | |||
} | } | ||