MediaWiki:Common.css: Difference between revisions
Appearance
Created page with "→CSS placed here will be applied to all skins: →========================= Lumenward visual overrides =========================: →1. Hide left sidebar: #mw-panel { display: none !important; } →2. Center content and limit width: #content, .mw-page-container, .mw-body { margin-left: 0 !important; max-width: 1100px; } →3. Hide page tabs (Article / Talk / Edit / History): #p-namespaces, #p-views { display: none !important; } /* 4. Simplif..." |
No edit summary |
||
| Line 1: | Line 1: | ||
/* ========================= | /* ========================= | ||
Lumenward visual overrides | Lumenward visual overrides | ||
========================= */ | ========================= */ | ||
/* | /* Hide left sidebar */ | ||
#mw-panel { | #mw-panel { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* | /* Center content */ | ||
#content, | #content, | ||
.mw-page-container, | .mw-page-container, | ||
| Line 17: | Line 16: | ||
} | } | ||
/* | /* Hide page tabs for non-logged-in users */ | ||
#p-namespaces, | body:not(.logged-in) #p-namespaces, | ||
#p-views { | body:not(.logged-in) #p-views { | ||
display: none !important; | display: none !important; | ||
} | } | ||
/* | /* Simplify footer */ | ||
#footer-info, | #footer-info, | ||
#footer-places, | #footer-places, | ||
| Line 30: | Line 29: | ||
} | } | ||
/* | /* Typography */ | ||
body { | body { | ||
background: #ffffff; | background: #ffffff; | ||
| Line 42: | Line 41: | ||
} | } | ||
/* | /* Headings */ | ||
h1, h2, h3, h4 { | h1, h2, h3, h4 { | ||
font-weight: 700; | font-weight: 700; | ||
| Line 54: | Line 53: | ||
} | } | ||
/* | /* De-emphasize references */ | ||
ol.references, | ol.references, | ||
.references { | .references { | ||
Revision as of 17:45, 13 December 2025
/* =========================
Lumenward visual overrides
========================= */
/* Hide left sidebar */
#mw-panel {
display: none !important;
}
/* Center content */
#content,
.mw-page-container,
.mw-body {
margin-left: 0 !important;
max-width: 1100px;
}
/* Hide page tabs for non-logged-in users */
body:not(.logged-in) #p-namespaces,
body:not(.logged-in) #p-views {
display: none !important;
}
/* Simplify footer */
#footer-info,
#footer-places,
#footer-icons {
display: none !important;
}
/* Typography */
body {
background: #ffffff;
color: #0a0a0a;
font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
line-height: 1.6;
}
.mw-parser-output {
font-size: 15px;
}
/* Headings */
h1, h2, h3, h4 {
font-weight: 700;
letter-spacing: 0.04em;
}
h2 {
text-transform: uppercase;
font-size: 13px;
color: #444;
}
/* De-emphasize references */
ol.references,
.references {
font-size: 12px;
color: #666;
}
sup.reference {
display: none;
}