MediaWiki:Common.css

From BezelBase
Revision as of 19:40, 14 April 2026 by Admin (talk | contribs) (Update templates and main page)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

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;
}

/* ===== Hide some Wikipedia-esque UI elements ===== */
/* Hide "Discussion" tab for cleaner look */
#ca-talk {
    display: none;
}
/* Hide page tools dropdown clutter */
#vector-page-tools .vector-dropdown-content {
    font-size: 0.88em;
}

/* ===== 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;
}