Template:Mdn.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 2: | Line 2: | ||
color-scheme: light dark; | color-scheme: light dark; | ||
--font: Inter, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; | --font: Inter, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif; | ||
--inner-width: 1440px; | |||
} | } | ||
.wrapper { | .wrapper { | ||
max-width: | max-width: var(--inner-width); | ||
margin: auto; | margin: auto; | ||
| Line 15: | Line 16: | ||
font-family: var(--font) !important; | font-family: var(--font) !important; | ||
color: light-dark(rgb(27, 27, 27), #fff); | color: light-dark(rgb(27, 27, 27), #fff); | ||
} | |||
*, *::before, *::after { | |||
box-sizing: border-box; | |||
} | } | ||
| Line 56: | Line 61: | ||
height: 2.25rem; | height: 2.25rem; | ||
width: 2.3125rem; | width: 2.3125rem; | ||
} | |||
.nav { | |||
padding: 2rem calc((100% - var(--inner-width)) / 2); | |||
display: flex; | |||
height: 4rem; | |||
align-items: center; | |||
} | |||
.logo img { | |||
height: 1.5rem; | |||
} | } | ||