MediaWiki:Citizen.css: Difference between revisions
Appearance
mNo edit summary |
m Logo added |
||
| Line 17: | Line 17: | ||
background-color: var(--color-surface-2) !important; | background-color: var(--color-surface-2) !important; | ||
border: 1px solid var(--color-border) !important; | border: 1px solid var(--color-border) !important; | ||
} | |||
/* Display banner/logo at top of Main Page only */ | |||
.page-Main_Page #mw-content-text::before { | |||
content: ""; | |||
display: block; | |||
width: 100%; | |||
height: 120px; /* Adjust height as needed */ | |||
background: url('/mnt/cpcwiki-httpdocs/logo_2026_wide.png') no-repeat center top; | |||
background-size: contain; | |||
margin-bottom: 2rem; | |||
} | |||
/* Optional: Hide the default "Main Page" text title */ | |||
.page-Main_Page .citizen-page-header { | |||
display: none; | |||
} | } | ||
Revision as of 17:22, 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 only */
.page-Main_Page #mw-content-text::before {
content: "";
display: block;
width: 100%;
height: 120px; /* Adjust height as needed */
background: url('/mnt/cpcwiki-httpdocs/logo_2026_wide.png') no-repeat center top;
background-size: contain;
margin-bottom: 2rem;
}
/* Optional: Hide the default "Main Page" text title */
.page-Main_Page .citizen-page-header {
display: none;
}