Jump to content

MediaWiki:Citizen.css: Difference between revisions

From CPCWiki - THE Amstrad CPC encyclopedia!
Gryzor (talk | contribs)
mNo edit summary
Gryzor (talk | contribs)
mNo edit summary
Line 25: Line 25:
     width: 100%;
     width: 100%;
     height: 120px; /* Adjust height as needed */
     height: 120px; /* Adjust height as needed */
     background: url('/logo_2026_wide.png') no-repeat center top;
     background: url('/forum/logo_2026_wide.png') no-repeat center top;
     background-size: contain;
     background-size: contain;
     margin-bottom: 2rem;
     margin-bottom: 2rem;

Revision as of 17:25, 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('/forum/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;
}