MediaWiki:Common.css: Difference between revisions
MediaWiki interface page
More actions
Eloise Zomia (talk | contribs) No edit summary |
Eloise Zomia (talk | contribs) No edit summary |
||
| (One intermediate revision by the same user not shown) | |||
| Line 23: | Line 23: | ||
/* === Fix gap above lead text === */ | /* === Fix gap above lead text === */ | ||
. | section.citizen-section:first-of-type { | ||
padding-top: 0 !important; | |||
margin-top: 0 !important; | |||
} | } | ||
. | /* Hide empty paragraphs after infobox */ | ||
display: none; | .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; | 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;
}