Jump to content

MediaWiki:Common.css

Revision as of 23:36, 16 April 2026 by Comuter (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.
/* --- COMUTER WIKI FULL STYLING --- */

/* 1. Global Font */
body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
}

/* 2. Logo Container */
.mw-logo {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-decoration: none !important;
    background: transparent !important;
    height: auto !important;
    padding: 10px !important;
}

/* 3. The Icon (Computer Head) */
.mw-logo-icon {
    width: 120px !important; 
    height: 120px !important;
    max-width: none !important;
    max-height: none !important;
}

/* 4. The Wordmark ICON (The image that says "Comuter Wiki") */
.mw-logo-wordmark {
    display: block !important; /* Forces it to show up */
    width: 150px !important;  /* Adjust this to fit your image width */
    height: auto !important;   /* Let the height scale naturally */
    max-height: none !important;
    margin-top: 10px !important;
}

/* 5. Header Background (Light Mode) */
.mw-header {
    height: auto !important;
    min-height: 190px !important;
    background-color: #ffffff !important;
}

/* 6. DARK MODE COLORS */
html.skin-theme-clientpref-night .mw-header {
    background-color: #101418 !important;
}

/* 7. Sticky Header (Scroll View) */
/* This makes them side-by-side again when you scroll so it's not huge */
.vector-sticky-header .mw-logo {
    flex-direction: row !important;
    padding: 0 !important;
}

.vector-sticky-header .mw-logo-icon {
    width: 35px !important;
    height: 35px !important;
}

.vector-sticky-header .mw-logo-wordmark {
    width: 100px !important; /* Shorter width for the sticky header */
    margin-top: 0 !important;
    margin-left: 10px !important;
}