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; | ||
--font-code: Menlo,Consolas,Monaco,Liberation Mono,Lucida Console,monospace; | |||
font-family: var(--font) !important; | font-family: var(--font) !important; | ||
--inner-width: 1440px; | --inner-width: 1440px; | ||
| Line 106: | Line 107: | ||
font: 500 2rem / 1.2 var(--font); | font: 500 2rem / 1.2 var(--font); | ||
border: none; | border: none; | ||
} | |||
code { | |||
background: rgb(242, 241, 241); | |||
padding: .125rem .25rem; | |||
width: -webkit-fit-content; | |||
width: fit-content; | |||
border: none; | |||
font-size: .85rem; | |||
font-family: var(--font-code); | |||
} | } | ||