MediaWiki:Citizen.css: Difference between revisions
Appearance
mNo edit summary |
mNo edit summary |
||
| Line 19: | Line 19: | ||
} | } | ||
/* Display banner/logo at top of Main Page | /* Display banner/logo at top of Main Page */ | ||
.page-Main_Page #mw-content-text::before { | body.mainpage #mw-content-text::before, | ||
content: ""; | body.page-Main_Page #mw-content-text::before { | ||
display: block; | content: "" !important; | ||
width: 100%; | display: block !important; | ||
height: | width: 100% !important; | ||
background: url('/forum/logo_2026_wide.png') no-repeat center top; | height: 140px !important; /* Adjust based on image aspect ratio */ | ||
background-size: contain; | background-image: url('/forum/logo_2026_wide.png') !important; | ||
margin | background-repeat: no-repeat !important; | ||
background-position: center top !important; | |||
background-size: contain !important; | |||
margin: 1rem 0 2rem 0 !important; | |||
} | } | ||
/* | /* Hide standard Main Page title header */ | ||
.page-Main_Page .citizen-page-header { | body.mainpage .citizen-page-header, | ||
display: none; | body.page-Main_Page .citizen-page-header { | ||
display: none !important; | |||
} | } | ||
Revision as of 17:27, 30 August 2026
/* MediaWiki:Citizen.css */
:root {
/* Layout Width (default is 1320px; set higher for dense data tables) */
--width-layout: 1440px;
/* Custom Fonts */
--font-family-base: system-ui, -apple-system, sans-serif;
--font-family-heading: inherit;
--font-family-monospace: 'Courier New', monospace;
/* Border radius (0px for sharp retro look, 8px for soft modern look) */
--border-radius-base: 4px;
}
/* Retro styling for inline code and preformatted blocks */
pre, code {
background-color: var(--color-surface-2) !important;
border: 1px solid var(--color-border) !important;
}
/* Display banner/logo at top of Main Page */
body.mainpage #mw-content-text::before,
body.page-Main_Page #mw-content-text::before {
content: "" !important;
display: block !important;
width: 100% !important;
height: 140px !important; /* Adjust based on image aspect ratio */
background-image: url('/forum/logo_2026_wide.png') !important;
background-repeat: no-repeat !important;
background-position: center top !important;
background-size: contain !important;
margin: 1rem 0 2rem 0 !important;
}
/* Hide standard Main Page title header */
body.mainpage .citizen-page-header,
body.page-Main_Page .citizen-page-header {
display: none !important;
}