MediaWiki:Common.css: Difference between revisions
No edit summary |
No edit summary |
||
| Line 206: | Line 206: | ||
@media (min-width: 900px){ .home-grid { grid-template-columns: 2fr 1fr; } } | @media (min-width: 900px){ .home-grid { grid-template-columns: 2fr 1fr; } } | ||
.home-h2 { margin:.2rem 0 .4rem 0; font-size:1.2rem; } | .home-h2 { margin:.2rem 0 .4rem 0; font-size:1.2rem; } | ||
/* If a home-hero happens to wrap a banner, strip its chrome */ | |||
.home-hero:has(.home-banner), | |||
.home-hero.home-hero--image { | |||
background: transparent !important; | |||
border: 0 !important; | |||
padding: 0 !important; | |||
} | |||