Jump to content

MediaWiki:Citizen.css

From CPCWiki - THE Amstrad CPC encyclopedia!
Revision as of 17:25, 30 August 2026 by Gryzor (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* 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;
}