MediaWiki:Common.css

Revision as of 19:41, 14 April 2026 by Admin (talk | contribs) (Update templates and main page)

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)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* BezelBase — clean reference site, not a Wikipedia clone */

/* ===== Typography ===== */
body, .mw-body, .mw-body-content {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
}

/* ===== Page title ===== */
.mw-page-title-main,
.mw-first-heading {
    font-weight: 700;
    font-size: 2em;
    letter-spacing: -0.02em;
    border-bottom: none !important;
    color: #111;
}

/* ===== Headings ===== */
.mw-body-content h2 {
    font-size: 1.5em;
    font-weight: 600;
    border-bottom: 2px solid #e8e8e8;
    padding-bottom: 0.3em;
    margin-top: 2em;
    color: #111;
}

.mw-body-content h3 {
    font-size: 1.2em;
    font-weight: 600;
    border-bottom: 1px solid #f0f0f0;
    padding-bottom: 0.2em;
    margin-top: 1.5em;
    color: #222;
}

/* ===== Links — dark blue, no underline until hover ===== */
.mw-body-content a:not(.new) {
    color: #1a5276;
    text-decoration: none;
}
.mw-body-content a:not(.new):hover {
    color: #0d2f47;
    text-decoration: underline;
}
/* Red links for missing pages */
.mw-body-content a.new {
    color: #b33;
}

/* ===== Header bar — dark, minimal ===== */
.vector-header,
.mw-header {
    background: #111 !important;
    border-bottom: none !important;
}
.vector-header .mw-logo-wordmark,
.vector-header a {
    color: #fff !important;
}

/* Site name in header */
.mw-logo-wordmark {
    font-weight: 700 !important;
    letter-spacing: 0.05em !important;
}

/* ===== Search box ===== */
.vector-search-box-input {
    border-radius: 6px !important;
    border: 1px solid #ddd !important;
}

/* ===== Content area — wider, cleaner ===== */
.mw-body {
    max-width: 960px;
    padding: 1.5em 2em;
}

/* ===== Tables — cleaner borders ===== */
.wikitable {
    border-collapse: collapse;
    border: 1px solid #ddd;
    background: #fff;
    font-size: 0.92em;
}
.wikitable th {
    background: #f5f5f5;
    font-weight: 600;
    padding: 0.5em 0.8em;
    border: 1px solid #ddd;
    text-align: left;
}
.wikitable td {
    padding: 0.5em 0.8em;
    border: 1px solid #eee;
}
.wikitable tr:nth-child(even) {
    background: #fafafa;
}

/* ===== Images — clean borders ===== */
.thumb {
    border: none !important;
    background: none !important;
}
.thumbinner {
    border: 1px solid #e0e0e0 !important;
    border-radius: 4px;
    background: #fafafa !important;
    padding: 4px !important;
}
.thumbcaption {
    font-size: 0.85em;
    color: #666;
    padding: 4px 6px;
}

/* ===== Breadcrumb ===== */
.mw-parser-output > small:first-of-type {
    display: block;
    margin-bottom: 0.8em;
    font-size: 0.85em;
    color: #666;
}
.mw-parser-output > small:first-of-type a {
    color: #1a5276;
}

/* ===== TOC — minimal ===== */
.vector-toc {
    font-size: 0.88em;
}

/* ===== Categories — subtle ===== */
#catlinks {
    background: #f8f8f8;
    border: 1px solid #eee;
    border-radius: 4px;
    padding: 0.5em 1em;
    font-size: 0.85em;
    margin-top: 2em;
}

/* ===== Footer — minimal ===== */
#footer {
    border-top: 1px solid #eee;
    color: #888;
    font-size: 0.82em;
}

/* ===== Strip wiki UI — make it look like a documentation site ===== */

/* Hide Discussion tab */
#ca-talk {
    display: none !important;
}

/* Hide View history */
#ca-history {
    display: none !important;
}

/* Hide View source for logged-out users */
body:not(.mw-user-logged-in) #ca-viewsource {
    display: none !important;
}

/* Hide "Read" tab (redundant when others are gone) */
#ca-view {
    display: none !important;
}

/* Hide the entire tab bar divider line */
.vector-page-toolbar {
    border-bottom: none !important;
}

/* Hide Tools dropdown for anonymous users */
body:not(.mw-user-logged-in) #vector-page-tools {
    display: none !important;
}

/* Hide "Create account" for cleaner header — keep Log in */
body:not(.mw-user-logged-in) #pt-createaccount {
    display: none !important;
}

/* Hide the namespace tab labels ("Reference", "Main Page") — page title is enough */
.vector-tab-noicon .mw-list-item:not(#ca-edit):not(#ca-ve-edit) {
    display: none !important;
}

/* Keep edit visible for logged-in users */
body.mw-user-logged-in #ca-edit,
body.mw-user-logged-in #ca-ve-edit {
    display: list-item !important;
}

/* Hide categories for anonymous users */
body:not(.mw-user-logged-in) #catlinks {
    display: none !important;
}

/* Hide "Content is available under..." footer clutter */
#footer-info-copyright {
    display: none;
}

/* Hide "Privacy policy · About · Disclaimers" links */
#footer-places {
    display: none;
}

/* Hide powered-by badges */
#footer-icons {
    display: none;
}

/* Simpler footer */
#footer {
    text-align: center;
    padding: 1em 0;
    opacity: 0.5;
}

/* Hide the left sidebar menu button hamburger for anon */
body:not(.mw-user-logged-in) .vector-main-menu-landmark {
    display: none !important;
}

/* ===== External link icon — subtle ===== */
.mw-parser-output a.external {
    background: none !important;
    padding-right: 0 !important;
}
.mw-parser-output a.external::after {
    content: " \2197";
    font-size: 0.75em;
    color: #999;
}

/* ===== Lists — tighter ===== */
.mw-body-content ul, .mw-body-content ol {
    margin: 0.5em 0;
    padding-left: 1.5em;
}
.mw-body-content li {
    margin: 0.3em 0;
}

/* ===== Blockquotes ===== */
.mw-body-content blockquote {
    border-left: 3px solid #ddd;
    margin: 1em 0;
    padding: 0.5em 1em;
    color: #444;
    font-style: italic;
}