Main Page.css: Difference between revisions
quick header spacing fix |
m Fen moved page User:Main Page.css to Main Page.css without leaving a redirect: had it on the wrong mainspace |
||
(6 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* Light mode styles */ | /* Light mode styles */ | ||
.header-box a.external { | .header-box a.external { | ||
background-image: none; | |||
} | } | ||
.header-box p { | |||
font-size: inherit; | |||
} | |||
.header-box { | .header-box { | ||
Line 31: | Line 34: | ||
.content-grid { | .content-grid { | ||
display: grid; | display: grid; | ||
gap: 1rem; | gap: 1rem; | ||
margin: 1em | grid-template-columns: 1fr; | ||
margin-top: 1em; | |||
overflow: hidden; | |||
min-width: 0; | |||
} | |||
@media screen and (min-width: 720px) { | |||
.content-grid { | |||
grid-template-columns: 1fr 1fr; | |||
} | |||
} | } | ||
Line 52: | Line 63: | ||
padding: 1em; | padding: 1em; | ||
box-sizing: border-box; | box-sizing: border-box; | ||
overflow: hidden; | |||
min-width: 0; | |||
} | } | ||