MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Eloise Zomia (talk | contribs) Replaced content with "→CSS placed here will be applied to all skins: .lw-map { height: 70vh; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; margin: 24px 0; }" Tags: Replaced Manual revert |
Eloise Zomia (talk | contribs) No edit summary |
||
| (3 intermediate revisions by the same user not shown) | |||
| Line 1: | Line 1: | ||
/* CSS placed here will be applied to all skins */ | /* CSS placed here will be applied to all skins */ | ||
/* === Map Container === */ | |||
.lw-map { | .lw-map { | ||
height: 70vh; | height: 70vh; | ||
| Line 6: | Line 8: | ||
overflow: hidden; | overflow: hidden; | ||
margin: 24px 0; | margin: 24px 0; | ||
} | |||
/* === Map Fullscreen Overlay (disabled for now) === */ | |||
.lw-map-overlay { | |||
display: none; | |||
position: fixed; | |||
top: 0; | |||
left: 0; | |||
width: 100vw; | |||
height: 100vh; | |||
background: rgba(0, 0, 0, 0.85); | |||
z-index: 9999; | |||
} | |||
/* === Fix gap above lead text === */ | |||
section.citizen-section:first-of-type { | |||
padding-top: 0 !important; | |||
margin-top: 0 !important; | |||
} | |||
/* Hide empty paragraphs after infobox */ | |||
.lw-infobox + p:empty, | |||
.lw-infobox + p + p:empty, | |||
.lw-infobox + p:blank, | |||
.lw-infobox + p + p:blank { | |||
display: none !important; | |||
height: 0 !important; | |||
margin: 0 !important; | |||
padding: 0 !important; | |||
} | |||
/* Kill leading br tags */ | |||
.lw-infobox ~ p > br:first-child { | |||
display: none !important; | |||
} | |||
/* Reset margins on paragraphs in first section */ | |||
section.citizen-section:first-of-type > p { | |||
margin-top: 0; | |||
} | } | ||
Latest revision as of 03:00, 12 January 2026
/* CSS placed here will be applied to all skins */
/* === Map Container === */
.lw-map {
height: 70vh;
border: 1px solid #e5e7eb;
border-radius: 12px;
overflow: hidden;
margin: 24px 0;
}
/* === Map Fullscreen Overlay (disabled for now) === */
.lw-map-overlay {
display: none;
position: fixed;
top: 0;
left: 0;
width: 100vw;
height: 100vh;
background: rgba(0, 0, 0, 0.85);
z-index: 9999;
}
/* === Fix gap above lead text === */
section.citizen-section:first-of-type {
padding-top: 0 !important;
margin-top: 0 !important;
}
/* Hide empty paragraphs after infobox */
.lw-infobox + p:empty,
.lw-infobox + p + p:empty,
.lw-infobox + p:blank,
.lw-infobox + p + p:blank {
display: none !important;
height: 0 !important;
margin: 0 !important;
padding: 0 !important;
}
/* Kill leading br tags */
.lw-infobox ~ p > br:first-child {
display: none !important;
}
/* Reset margins on paragraphs in first section */
section.citizen-section:first-of-type > p {
margin-top: 0;
}