Template:Mdn.css: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
| Line 33: | Line 33: | ||
body { | body { | ||
background-color: light-dark(#fff, rgb(27, 27, 27)); | background-color: light-dark(#fff, rgb(27, 27, 27)); | ||
} | |||
.baseline { | |||
background-color: rgb(230, 244, 234); | |||
display: flex; | |||
align-items: center; | |||
padding: 1rem; | |||
} | |||
.baseline-img { | |||
height: 2.25rem; | |||
width: 2.3125rem; | |||
} | } | ||
Revision as of 15:56, 19 June 2025
:root {
color-scheme: light dark;
--font: Inter, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
}
.wrapper {
max-width: 1440px;
margin: auto;
display: grid;
grid-gap: 3rem;
gap: 3rem;
grid-template-areas: "sidebar main toc";
grid-template-columns: minmax(0,1fr) minmax(0,2.5fr) minmax(0,15rem);
font-family: var(--font) !important;
color: light-dark(rgb(27, 27, 27), #fff);
}
.main-bit {
grid-area: main;
}
#firstHeading {
display: none;
}
#content {
border: none;
background: transparent;
padding: 0;
}
body {
background-color: light-dark(#fff, rgb(27, 27, 27));
}
.baseline {
background-color: rgb(230, 244, 234);
display: flex;
align-items: center;
padding: 1rem;
}
.baseline-img {
height: 2.25rem;
width: 2.3125rem;
}