Jump to content

MediaWiki:Common.css: Difference between revisions

From Archive
No edit summary
Fix left/right nav alignment, reset margins
 
(14 intermediate revisions by 2 users not shown)
Line 1: Line 1:
/* EJ Fox MediaWiki Theme - Consistent with main site */
/* EJ Fox Archive - Matched to website2 exactly */


/* ==================== VARIABLES ==================== */
:root {
:root {
   /* Typography - Match main site exactly */
   /* Typography - Match website2 exactly */
   --font-primary: Georgia, serif;
   --font-body: 'Georgia', 'Times New Roman', 'Droid Serif', 'Times', 'Source Serif Pro', serif;
   --font-mono: ui-monospace, 'SF Mono', Monaco, monospace;
   --font-mono: 'Monaspace Neon', 'Monaspace Argon', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;
 
 
   /* Spacing - Minimal set */
   /* Colors - Match website2 zinc palette */
   --space-2: 0.5rem;
   --bg: #fafafa;
   --space-3: 0.75rem;
   --bg-alt: #f4f4f5;
   --space-4: 1rem;
   --fg: #1a1a1a;           /* warm near-black - exact match */
   --space-6: 1.5rem;
   --fg-secondary: #52525b; /* zinc-600 */
   --space-8: 2rem;
   --fg-muted: #71717a;     /* zinc-500 */
 
   --border: #e4e4e7;       /* zinc-200 */
  /* Layout */
   --red: #dc2626;
   --max-width: 48rem;
 
  /* Transitions */
   --transition: 200ms ease-out;
}


/* Colors - Tailwind zinc scale matching main site */
   --max-w: 65ch;
:root {
  --bg-primary: #fafafa;      /* zinc-50 */
  --bg-secondary: #f4f4f5;    /* zinc-100 */
 
  --border-light: #e4e4e7;    /* zinc-200 */
  --border-medium: #d4d4d8;  /* zinc-300 */
 
  --text-primary: #27272a;    /* zinc-800 */
  --text-secondary: #52525b;  /* zinc-600 */
  --text-muted: #a1a1aa;      /* zinc-400 */
 
   --accent-error: #dc2626;   /* red-600 */
}
}


/* Dark mode */
@media (prefers-color-scheme: dark) {
@media (prefers-color-scheme: dark) {
   :root {
   :root {
     --bg-primary: #18181b;     /* zinc-900 */
     --bg: #0a0a0a;           /* warm near-black - exact match */
     --bg-secondary: #27272a;   /* zinc-800 */
     --bg-alt: #18181b;       /* zinc-900 */
   
     --fg: #f5f5f4;           /* warmer off-white - exact match */
     --border-light: #3f3f46;   /* zinc-700 */
     --fg-secondary: #a1a1aa; /* zinc-400 */
     --border-medium: #52525b;   /* zinc-600 */
     --fg-muted: #71717a;    /* zinc-500 */
   
     --border: #3f3f46;       /* zinc-700 */
     --text-primary: #f4f4f5;   /* zinc-100 */
     --red: #f87171;
     --text-secondary: #d4d4d8;  /* zinc-300 */
     --text-muted: #71717a;     /* zinc-500 */
   
     --accent-error: #f87171;   /* red-400 */
   }
   }
}
}


/* ==================== BASE ==================== */
/* === BASE === */
/* Typography - Match main site exactly */
html {
body, html,
   overflow-x: hidden;
#mw-page-base, #mw-head, #mw-panel, #content, #bodyContent,
.mw-body, .mw-body-content, .mw-content,
#p-logo, #p-navigation, #p-search, #p-tb, #p-lang,
.vectorTabs, .vectorMenu, .vectorMenuCheckbox,
#ca-edit, #ca-history, #ca-talk, #ca-viewsource,
.oo-ui-widget, .oo-ui-element, .oo-ui-layout,
#mw-head-base, .mw-wiki-logo, .vector-menu,
.mw-portlet, .mw-portlet-body, .mw-list-item,
input, select, textarea, button,
.suggestions, .suggestions-result,
.vector-menu-content,
.vector-menu-heading,
.vector-menu-content-list {
   font-family: var(--font-primary) !important;
}
 
/* Headings use same Georgia font as body */
h1, h2, h3, h4, h5, h6,
.mw-body h1, .mw-body h2, .mw-body h3, .mw-body h4, .mw-body h5, .mw-body h6,
#content h1, #content h2, #content h3, #content h4, #content h5, #content h6,
.firstHeading {
  font-family: var(--font-primary) !important;
}
 
/* Monospace elements */
code, pre, kbd, samp, tt,
.mw-code, .mw-pre, .codehilite,
.mw-changeslist-time, .mw-diff-bytes,
#searchInput {
  font-family: var(--font-mono) !important;
}
}


body {
body {
   background: var(--bg-primary) !important;
   background: var(--bg);
   color: var(--text-primary) !important;
  color: var(--fg);
   font-size: 1rem !important;
   font-family: var(--font-body);
   line-height: 1.6 !important;
   font-size: 1.125rem;       /* 18px - match website2 */
   margin: 0 !important;
   line-height: 1.75;         /* match website2 loose */
   padding: 0 !important;
   font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'onum' 1;
   transition: background-color var(--transition), color var(--transition) !important;
   font-variant-ligatures: common-ligatures contextual;
   font-variant-numeric: oldstyle-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
  overflow-x: hidden;
}
}


/* ==================== LAYOUT ==================== */
@media (prefers-color-scheme: dark) {
/* Hide unnecessary elements */
  body { font-weight: 375; } /* match website2 dark mode */
#p-search,
#p-logo,
.mw-wiki-logo,
#footer,
.printfooter,
#catlinks,
#f-poweredbyico,
#f-copyrightico {
    display: none !important;
}
 
/* Edit buttons - minimal styling */
#p-views, #p-cactions {
    margin: var(--space-3) 0 !important;
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
}
 
#p-views ul, #p-cactions ul {
    display: flex !important;
    gap: var(--space-4) !important;
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
 
#p-views li, #p-cactions li {
    margin: 0 !important;
}
}


#p-views a, #p-cactions a {
/* === LAYOUT === */
    color: var(--text-muted) !important;
#p-search, #p-logo, .mw-wiki-logo, #footer, .printfooter,
    font-family: var(--font-mono) !important;
#f-poweredbyico, #f-copyrightico, .mw-jump-link, #jump-to-nav {
    font-size: 0.875rem !important;
  display: none;
    text-decoration: none !important;
    border-bottom: 1px dotted var(--border-medium) !important;
    padding: 1px 2px !important;
    transition: all var(--transition) !important;
    background: transparent !important;
}
}


#p-views a:hover, #p-cactions a:hover {
    color: var(--text-primary) !important;
    border-bottom-color: var(--text-primary) !important;
}
/* Content layout */
.mw-body {
.mw-body {
    margin: 0 auto !important;
  max-width: var(--max-w);
    border: none !important;
  margin: 0 auto;
    padding: var(--space-6) !important;
  padding: 3rem 1rem 1.5rem;
    background: transparent !important;
  background: transparent;
    max-width: var(--max-width) !important;
  border: none;
}
}


#content {
#content {
    margin-left: 0 !important;
  margin-left: 0;
    background: transparent !important;
  background: transparent;
    border: none !important;
  border: none;
}
}


/* ==================== TYPOGRAPHY ==================== */
/* === TYPOGRAPHY - Match website2 scale === */
.mw-body h1 {
h1, h2, h3, h4, h5, h6,
    color: var(--text-primary) !important;
.mw-heading, .mw-heading1, .mw-heading2, .mw-heading3, .mw-heading4 {
    font-size: 2rem !important;
  font-family: var(--font-body);
    font-weight: 400 !important;
  font-weight: 400;
    line-height: 1.2 !important;
  color: var(--fg);
    margin: 0 0 var(--space-6) 0 !important;
  background: none !important;
    border-bottom: none !important;
  border: none !important;
}
 
.mw-body h2 {
    color: var(--text-primary) !important;
    font-size: 1.5rem !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    margin: var(--space-8) 0 var(--space-4) 0 !important;
    border-bottom: 1px dotted var(--border-medium) !important;
    padding-bottom: var(--space-2) !important;
}
}


.mw-body h3 {
.mw-body h1, .firstHeading {
    color: var(--text-primary) !important;
  font-size: 2.5rem;          /* 40px - match website2 4xl */
    font-size: 1.125rem !important;
  letter-spacing: -0.035em;   /* match website2 tighter */
    font-weight: 600 !important;
  line-height: 1.2;
    margin: var(--space-6) 0 var(--space-3) 0 !important;
  margin: 0 0 1.5rem;
  border: none;
}
}


.mw-body p {
.mw-body h2, .mw-heading2 h2 {
    color: var(--text-primary) !important;
  font-size: 2rem;            /* 32px - match website2 3xl */
    line-height: 1.6 !important;
  letter-spacing: -0.025em;   /* match website2 tight */
    margin-bottom: var(--space-4) !important;
  line-height: 1.25;
  margin: 2.5rem 0 0.75rem;
  padding: 0;
  border: none !important;
  background: none !important;
}
}


/* ==================== LINKS ==================== */
.mw-body h3, .mw-heading3 h3 {
.mw-body a:not(.external) {
  font-size: 1.75rem;        /* 28px - match website2 2xl */
    color: var(--text-primary) !important;
  letter-spacing: -0.015em;   /* match website2 */
    text-decoration: none !important;
  line-height: 1.3;
    border-bottom: 1px solid var(--border-medium) !important;
  font-weight: 400;
    padding: 1px 2px !important;
  margin: 2rem 0 0.5rem;
    transition: all var(--transition) !important;
}
}


.mw-body a:not(.external):hover {
.mw-body h4, .mw-heading4 h4 {
    border-bottom-color: var(--text-primary) !important;
  font-size: 1.5rem;          /* 24px - match website2 xl */
  letter-spacing: -0.01em;
  line-height: 1.35;
  font-weight: 400;
  margin: 1.5rem 0 0.5rem;
}
}


/* External links */
.mw-body p {
.mw-body a.external {
  margin-bottom: 1rem;
    color: var(--text-secondary) !important;
  line-height: 1.75;         /* match website2 */
    text-decoration: none !important;
    border-bottom: 1px solid var(--text-secondary) !important;
    padding: 1px 15px 1px 2px !important;
    transition: all var(--transition) !important;
}
 
.mw-body a.external:hover {
    color: var(--text-primary) !important;
    border-bottom-color: var(--text-primary) !important;
}
 
.mw-body .external {
    background-position: right center !important;
    background-repeat: no-repeat !important;
}
}


/* ==================== TABLES ==================== */
/* === LINKS === */
.wikitable {
.mw-body a {
    background: var(--bg-secondary) !important;
  color: var(--fg);
    border: 1px solid var(--border-light) !important;
  text-decoration: none;
    border-collapse: collapse !important;
  border-bottom: 1px solid var(--border);
    font-family: var(--font-mono) !important;
  transition: border-color 200ms ease-out;
    font-size: var(--text-sm) !important;
    margin: var(--space-5) 0 !important; /* Reduced from space-6 */
    width: 100% !important;
    border-radius: 4px !important;
    overflow: hidden !important;
}
}


.wikitable th {
.mw-body a:hover { border-color: var(--fg); }
    background: var(--bg-tertiary) !important;
    border: 1px solid var(--border-medium) !important;
    color: var(--text-primary) !important;
    padding: var(--space-3) !important; /* Reduced from space-4 */
    font-weight: 600 !important;
    text-align: left !important;
}


.wikitable td {
.mw-body a.new {
    border: 1px solid var(--border-light) !important;
  color: var(--red);
    color: var(--text-primary) !important;
  border-color: var(--red);
    padding: var(--space-3) !important; /* Reduced from space-4 */
  opacity: 0.7;
}
}


.wikitable tr:nth-child(even) td {
.mw-body a.new:hover { opacity: 1; }
    background: rgba(0, 0, 0, 0.02) !important;
}


@media (prefers-color-scheme: dark) {
.mw-body a.external {
    .wikitable tr:nth-child(even) td {
  color: var(--fg-secondary);
        background: rgba(255, 255, 255, 0.02) !important;
  border-color: var(--fg-secondary);
    }
}
}


/* ==================== CODE ==================== */
/* === CODE === */
code, pre {
code, pre {
    font-family: var(--font-mono) !important;
  font-family: var(--font-mono);
    font-feature-settings: "tnum", "zero" !important;
  font-size: 0.875rem;
    background: var(--bg-secondary) !important;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
    border: 1px solid var(--border-light) !important;
  background: var(--bg-alt);
    border-radius: 4px !important;
  border: none;
    color: var(--text-primary) !important;
  border-radius: 2px;
}
}


code {
code {
    padding: 2px 4px !important;
  padding: 1px 4px;
    font-size: var(--text-sm) !important;
  word-break: break-word;
}
}


pre {
pre {
    padding: var(--space-4) !important;
  padding: 1rem;
    margin: var(--space-5) 0 !important; /* Reduced from space-6 */
  margin: 1rem 0;
    overflow-x: auto !important;
  overflow-x: auto;
    line-height: 1.5 !important;
  -webkit-overflow-scrolling: touch;
  line-height: 1.4;
  max-width: 100%;
}
}


/* ==================== LISTS ==================== */
/* === TABLES === */
.mw-body ul, .mw-body ol {
.wikitable {
    margin: var(--space-3) 0 !important; /* Reduced from space-4 */
  width: 100%;
    padding-left: var(--space-6) !important;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
  margin: 1rem 0;
  border: none;
}
}


.mw-body li {
.wikitable th, .wikitable td {
    margin-bottom: var(--space-1) !important; /* Reduced from space-2 */
  border: none;
    color: var(--text-primary) !important;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  text-align: left;
  word-break: break-word;
}
}


/* ==================== SPECIAL PAGES - Basic fixes only ==================== */
.wikitable th {
/* Fix overlapping issues on special pages */
  background: transparent;
.ns-special .mw-body {
  font-weight: 600;
    padding: var(--space-4) !important;
  text-transform: uppercase;
    line-height: 1.4 !important;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  color: var(--fg-muted);
}
}


.ns-special .mw-body p {
.wikitable tr:last-child td {
    margin-bottom: var(--space-3) !important;
  border-bottom: none;
    line-height: 1.4 !important;
}
}


/* Recent Changes specific fixes */
/* === LISTS === */
.mw-changeslist-line {
.mw-body ul, .mw-body ol {
    margin-bottom: var(--space-2) !important;
  margin: 0.5rem 0;
    line-height: 1.3 !important;
  padding-left: 1.5rem;
    clear: both !important;
}
}


.mw-changeslist .mw-title {
.mw-body li { margin-bottom: 0.25rem; }
    display: inline !important;
 
    margin-right: var(--space-2) !important;
/* === TOC === */
#toc, .toc {
  display: inline-block;
  background: transparent;
  border: none;
  padding: 0.5rem 0;
  margin: 0.75rem 0;
  font-size: 0.875rem;
  max-width: 260px;
}
}


.mw-changeslist-date {
.toctitle h2 {
    margin-bottom: var(--space-3) !important;
  font-family: var(--font-mono);
    font-weight: 600 !important;
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  margin: 0 0 0.5rem;
  border: none !important;
  padding: 0;
  background: none !important;
}
}


/* Fix timestamps and metadata */
.toc ul { margin: 0; padding-left: 0.75rem; list-style: none; }
.mw-changeslist-time {
.tocnumber {
    font-family: var(--font-mono) !important;
  font-family: var(--font-mono);
    font-size: var(--text-sm) !important;
  font-size: 0.65rem;
    margin-right: var(--space-2) !important;
  color: var(--fg-muted);
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}
}


.mw-usertoollinks {
/* === EDIT LINKS === */
    font-size: var(--text-xs) !important;
#p-views, #p-cactions {
    margin-left: var(--space-1) !important;
  margin: 0.5rem 0;
  background: transparent;
  border: none;
}
}


/* Fix diff links and counters */
#p-views ul, #p-cactions ul {
.mw-diff-bytes {
  display: flex;
    font-family: var(--font-mono) !important;
  gap: 1rem;
    font-size: var(--text-xs) !important;
  list-style: none;
    margin: 0 var(--space-1) !important;
  margin: 0;
  padding: 0;
}
}


/* Fix summary text */
#p-views a, #p-cactions a {
.comment {
  font-family: var(--font-mono);
    font-style: italic !important;
  font-size: 0.7rem;
    color: var(--text-tertiary) !important;
  text-transform: uppercase;
    margin-left: var(--space-2) !important;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  border: none;
  background: transparent;
}
}


/* ==================== RESPONSIVE ==================== */
#p-views a:hover, #p-cactions a:hover {
@media (max-width: 768px) {
  color: var(--fg);
    :root {
        --text-base: 0.95rem; /* Slightly smaller on mobile */
    }
   
    .mw-body {
        padding: var(--space-4) !important;
        margin-left: 0 !important;
    }
   
    #mw-panel {
        position: relative !important;
        width: 100% !important;
        margin: 0 0 var(--space-4) 0 !important; /* Reduced from space-6 */
        backdrop-filter: blur(16px) !important;
        background: rgba(var(--bg-secondary), 0.8) !important;
    }
   
    .mw-body h1 {
        font-size: var(--text-3xl) !important;
    }
   
    .mw-body h2 {
        font-size: var(--text-lg) !important;
    }
   
    /* Simple mobile edit buttons */
    #p-views ul, #p-cactions ul {
        flex-direction: column !important;
        gap: var(--space-2) !important;
    }
   
    /* Mobile fixes for special pages */
    .ns-special .mw-changeslist-line {
        font-size: var(--text-sm) !important;
        padding: var(--space-1) 0 !important;
    }
   
    .ns-special .mw-changeslist-time {
        display: block !important;
        margin-bottom: var(--space-1) !important;
    }
}
}


/* ==================== SEARCH (if you want to show it) ==================== */
.mw-editsection {
#searchform {
  font-family: var(--font-mono);
    background: var(--bg-secondary) !important;
  font-size: 0.6rem;
    border: 1px solid var(--border-light) !important;
  text-transform: uppercase;
    border-radius: 4px !important;
  letter-spacing: 0.1em;
    margin: var(--space-4) 0 !important;
  opacity: 0.3;
    overflow: hidden !important;
  margin-left: 0.5rem;
}
}


#searchInput {
.mw-editsection:hover { opacity: 0.6; }
    background: transparent !important;
.mw-editsection a { border: none; color: var(--fg-muted); }
    border: none !important;
    color: var(--text-primary) !important;
    font-family: var(--font-mono) !important;
    font-size: var(--text-sm) !important;
    padding: var(--space-2) var(--space-4) !important;
    width: calc(100% - var(--space-8)) !important;
}


#searchInput::placeholder {
/* === CATEGORIES === */
    color: var(--text-muted) !important;
#catlinks {
  display: block;
  margin-top: 2.5rem;
  padding-top: 0.75rem;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
}
}


#searchInput:focus {
#catlinks a {
    outline: none !important;
  color: var(--fg-muted);
    box-shadow: 0 0 0 1px var(--focus-ring) !important;
  border: none;
}
}


/* ==================== GEOMETRIC ACCENTS ==================== */
#catlinks a:hover { color: var(--fg-secondary); }
.mw-body::before {
    content: "";
    position: fixed;
    top: var(--space-4);
    right: var(--space-4);
    width: 8px;
    height: 8px;
    background: var(--accent-primary);
    border-radius: 50%;
    z-index: 1000;
}


/* === SPECIAL PAGES === */
.ns-special .mw-body { line-height: 1.6; }


/* ==================== UNCREATED PAGES (RED LINKS) ==================== */
.mw-changeslist-line {
/* Override styles for non-existent pages */
  margin-bottom: 0.25rem;
.mw-body a.new,
  line-height: 1.3;
.mw-body a.new:visited {
    color: var(--accent-error) !important;
    border-bottom-color: var(--accent-error) !important;
    opacity: 0.8;
}
}


.mw-body a.new:hover {
.mw-changeslist-time {
    color: var(--accent-error) !important;
  font-family: var(--font-mono);
    border-bottom-color: var(--accent-error) !important;
  font-size: 0.75rem;
    background: var(--hover-bg) !important;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
    opacity: 1;
}
}


/* Question mark indicator for uncreated pages */
.mw-diff-bytes {
.mw-body a.new::after {
  font-family: var(--font-mono);
    content: "?";
  font-size: 0.65rem;
    font-size: 0.75em;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
    margin-left: 2px;
    opacity: 0.6;
    font-weight: 400;
}
}


/* Special styling for uncreated user/talk pages */
.comment {
.mw-body a.new.mw-userlink,
  font-style: italic;
.mw-body a.new[title*="User:"],
  color: var(--fg-muted);
.mw-body a.new[title*="User talk:"] {
  margin-left: 0.25rem;
    font-style: italic;
}
}


 
/* === VECTOR SKIN CLEANUP === */
/* FPV part infobox styling */
.vector-page-titlebar,
/* FPV Part Infobox Styling - Light & Dark Mode Compatible */
.vector-page-toolbar,
.fpvpart-infobox {
.vector-menu-tabs,
    float: right;
.vector-menu-content,
    width: 300px;
#p-views, #p-namespaces, #p-cactions,
    margin: 0 0 1em 1em;
.mw-portlet, .vector-tabs, .vector-menu {
    border: 1px solid #555;
  border: none;
    background: #2a2a2a;
  box-shadow: none;
    color: #e0e0e0;
    padding: 5px;
    font-size: 88%;
    clear: right;
}
}


/* Light mode overrides */
.vector-menu-tabs li, .vector-tabs li, #p-views li {
body.skin-light .fpvpart-infobox,
  border: none;
body.mw-light-mode .fpvpart-infobox,
  background: transparent;
body:not(.skin-dark):not(.mw-dark-mode) .fpvpart-infobox {
    border: 1px solid #aaa;
    background: #f9f9f9;
    color: #000;
}
}


.fpvpart-header {
/* === NAVBOXES === */
    background: #555;
.wikitable[style*="margin-top"] {
    color: white;
  font-size: 0.75rem;
    padding: 5px;
  margin-top: 2rem;
    font-weight: bold;
    text-align: center;
    font-size: 110%;
}
}


.fpvpart-type {
.wikitable[style*="margin-top"] th {
    background: #666;
  font-size: 0.7rem;
    color: white;
    padding: 3px;
    text-align: center;
    font-size: 90%;
}
}


.fpvpart-specs {
/* === SEARCH === */
    width: 100%;
#searchInput {
    margin: 5px 0;
  font-family: var(--font-mono);
    border-collapse: collapse;
  font-size: 0.875rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.25rem 0.5rem;
  color: var(--fg);
}
}


.fpvpart-specs th {
#searchInput::placeholder { color: var(--fg-muted); }
    background: #3a3a3a;
    color: #e0e0e0;
    padding: 3px 5px;
    text-align: left;
    width: 40%;
    font-weight: bold;
    border: 1px solid #555;
}


.fpvpart-specs td {
/* === INFOBOXES === */
    background: #2a2a2a;
.infobox {
    color: #e0e0e0;
  float: right;
    padding: 3px 5px;
  width: 240px;
    border: 1px solid #555;
  margin: 0 0 1rem 1rem;
  border: none;
  background: var(--bg-alt);
  font-size: 0.875rem;
  padding: 0.75rem;
}
}


/* Light mode table overrides */
.infobox th {
body.skin-light .fpvpart-specs th,
  font-family: var(--font-mono);
body.mw-light-mode .fpvpart-specs th,
  font-size: 0.65rem;
body:not(.skin-dark):not(.mw-dark-mode) .fpvpart-specs th {
  text-transform: uppercase;
    background: #e0e0e0;
  letter-spacing: 0.1em;
    color: #000;
  text-align: left;
    border: 1px solid #ccc;
  padding: 0.25rem;
  font-weight: 600;
}
}


body.skin-light .fpvpart-specs td,
.infobox td { padding: 0.25rem; }
body.mw-light-mode .fpvpart-specs td,
body:not(.skin-dark):not(.mw-dark-mode) .fpvpart-specs td {
    background: #fff;
    color: #000;
    border: 1px solid #ccc;
}


/* Status colors - work in both modes */
/* === SUBTITLE/META === */
.fpvpart-status {
#siteSub, #contentSub, .mw-content-subtitle {
    padding: 5px;
  font-family: var(--font-mono);
    text-align: center;
  font-size: 0.65rem;
    font-weight: bold;
  text-transform: uppercase;
    margin: 5px 0;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  opacity: 0.6;
}
}


.fpvpart-status.status-IN_STOCK {
/* Hide empty catlinks on Main Page */
    background: #2d5a2d;
body.page-Main_Page #catlinks { display: none; }
    color: #90EE90;
}


body.skin-light .fpvpart-status.status-IN_STOCK,
/* ============================================
body.mw-light-mode .fpvpart-status.status-IN_STOCK,
  MOBILE STYLES - Fix horizontal scrolling
body:not(.skin-dark):not(.mw-dark-mode) .fpvpart-status.status-IN_STOCK {
  ============================================ */
     background: #90EE90;
@media (max-width: 768px) {
     color: darkgreen;
  .mw-body {
}
    padding: 2rem 0.75rem 1rem;
     max-width: 100vw;
     overflow-x: hidden;
  }


.fpvpart-status.status-OUT_OF_STOCK {
  .mw-body h1 { font-size: 2rem; }
    background: #5a2d2d;
  .mw-body h2 { font-size: 1.5rem; }
    color: #FFB6C1;
  .mw-body h3 { font-size: 1.25rem; }
}


body.skin-light .fpvpart-status.status-OUT_OF_STOCK,
  #p-views ul, #p-cactions ul {
body.mw-light-mode .fpvpart-status.status-OUT_OF_STOCK,
     flex-direction: column;
body:not(.skin-dark):not(.mw-dark-mode) .fpvpart-status.status-OUT_OF_STOCK {
     gap: 0.5rem;
     background: #FFB6C1;
  }
     color: darkred;
}


.fpvpart-status.status-LIMITED {
  #toc, .toc {
     background: #5a5a2d;
     max-width: 100%;
     color: #FFD700;
     display: block;
}
  }


body.skin-light .fpvpart-status.status-LIMITED,
  /* Code blocks - contained scroll */
body.mw-light-mode .fpvpart-status.status-LIMITED,
  pre {
body:not(.skin-dark):not(.mw-dark-mode) .fpvpart-status.status-LIMITED {
    max-width: calc(100vw - 1.5rem);
     background: #FFD700;
    font-size: 0.75rem;
     color: #8B4513;
    padding: 0.75rem;
}
    white-space: pre;
     word-break: normal;
     overflow-x: auto;
  }


.fpvpart-notes {
  /* Inline code - allow wrapping */
     background: #3a3a2d;
  code {
    border: 1px solid #666633;
     word-break: break-all;
    color: #ffff99;
  }
    padding: 5px;
    margin-top: 5px;
    font-size: 85%;
}


body.skin-light .fpvpart-notes,
  /* Tables - horizontal scroll wrapper */
body.mw-light-mode .fpvpart-notes,
  .wikitable {
body:not(.skin-dark):not(.mw-dark-mode) .fpvpart-notes {
    display: block;
    background: #ffffcc;
    max-width: calc(100vw - 1.5rem);
     border: 1px solid #cccc00;
     overflow-x: auto;
     color: #000;
     -webkit-overflow-scrolling: touch;
}
  }


/* Links in infobox */
  .wikitable th, .wikitable td {
.fpvpart-infobox a {
    white-space: nowrap;
     color: #6db3ec;
     min-width: 80px;
}
  }


body.skin-light .fpvpart-infobox a,
  /* Infobox - stack on mobile */
body.mw-light-mode .fpvpart-infobox a,
  .infobox {
body:not(.skin-dark):not(.mw-dark-mode) .fpvpart-infobox a {
    float: none;
     color: #0645ad;
    width: 100%;
     margin: 1rem 0;
  }
}
}


/* Extra small screens */
@media (max-width: 480px) {
  .mw-body {
    padding: 1.5rem 0.5rem 0.75rem;
  }


/* ==================== REFINED METADATA & SUBHEADERS ==================== */
  .mw-body h1 { font-size: 1.75rem; }
/* Match website2 aesthetic - subtle, refined, monospace data */
  .mw-body h2 { font-size: 1.375rem; }


/* Edit section links - almost invisible until hover */
  pre {
.mw-editsection {
     max-width: calc(100vw - 1rem);
     font-size: 0.7rem !important;
     font-size: 0.7rem;
     font-family: ui-monospace, 'SF Mono', Monaco, monospace !important;
     padding: 0.5rem;
    opacity: 0.25 !important;
  }
     transition: opacity 200ms ease-out !important;
    margin-left: 0.5rem !important;
}


.mw-editsection:hover {
  .wikitable {
     opacity: 0.6 !important;
    max-width: calc(100vw - 1rem);
     font-size: 0.7rem;
  }
}
}


.mw-editsection-bracket {
/* === KILL TAB UNDERLINES === */
    color: var(--text-muted) !important;
.vector-menu-tabs .selected,
.vector-menu-tabs .selected a,
.vector-menu-tabs li,
.vector-menu-tabs li a,
#p-namespaces li,
#p-namespaces li a,
#p-views li,
#p-views li a,
.mw-list-item,
.mw-list-item a,
#ca-nstab-main,
#ca-talk,
#ca-view,
#ca-viewsource,
#ca-history {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background: transparent !important;
}
}


.mw-editsection a {
/* Vector 2022 specific tab styling */
    color: var(--text-muted) !important;
.vector-page-toolbar,
    border-bottom: none !important;
.vector-page-toolbar-container,
    text-decoration: none !important;
.vector-tabs,
.vector-tabs li,
.vector-tabs a,
.cdx-tabs,
.cdx-tabs__list,
.cdx-tabs__list__item {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}
}


/* Table of contents - compact, refined */
/* Nuclear option - all nav borders */
#toc, .toc {
nav, nav * {
    background: transparent !important;
  border: none !important;
    border: 1px solid var(--border-light) !important;
    padding: 0.75rem 1rem !important;
    margin: 1rem 0 !important;
    font-size: 0.8rem !important;
    display: inline-block !important;
    max-width: 280px !important;
}
}


#toc h2, .toc h2, .toctitle h2, #toctitle h2 {
/* === NAV FONT CONSISTENCY === */
    font-size: 0.65rem !important;
/* All nav elements: mono, uppercase, small */
    font-weight: 500 !important;
#p-namespaces,
    text-transform: uppercase !important;
#p-namespaces a,
    letter-spacing: 0.15em !important;
#p-views,
    color: var(--text-muted) !important;
#p-views a,
    margin: 0 0 0.5rem 0 !important;
#p-personal,
    border: none !important;
#p-personal a,
    padding: 0 !important;
#p-logo a,
    font-family: ui-monospace, 'SF Mono', Monaco, monospace !important;
.mw-portlet a,
.vector-menu a,
.vector-tabs a,
.cdx-tabs a,
#pt-login,
#pt-login a,
#ca-nstab-main,
#ca-talk,
nav a,
header a,
.mw-header a,
.vector-header a,
.vector-header-container a {
  font-family: var(--font-mono) !important;
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--fg-muted) !important;
}
}


.toc ul, #toc ul {
/* Hover state */
    margin: 0 !important;
#p-namespaces a:hover,
    padding-left: 1rem !important;
#p-views a:hover,
    list-style: none !important;
#p-personal a:hover,
.mw-portlet a:hover,
.vector-menu a:hover,
nav a:hover,
header a:hover {
  color: var(--fg) !important;
}
}


.tocnumber {
/* Site title "Archive" - slightly larger */
    color: var(--text-muted) !important;
.mw-logo-wordmark,
    font-family: ui-monospace, 'SF Mono', Monaco, monospace !important;
.vector-header .mw-logo a,
    font-size: 0.65rem !important;
#p-logo a {
    opacity: 0.6 !important;
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}
}


/* Page subtitle - barely there */
/* === MINIMAL SPACING FIXES === */
#siteSub, #contentSub, .mw-content-subtitle {
/* Add gap between PAGE and DISCUSSION */
    font-size: 0.7rem !important;
#p-namespaces li {
    color: var(--text-muted) !important;
  margin-right: 1rem !important;
    font-family: ui-monospace, 'SF Mono', Monaco, monospace !important;
    letter-spacing: 0.05em !important;
    opacity: 0.5 !important;
}
}


/* Jump links - hidden */
/* Reduce huge gap above title */
.mw-jump-link, #jump-to-nav, .mw-jump {
.mw-body {
    display: none !important;
  padding-top: 1.5rem !important;
}
}


/* Category links - refined, monospace */
/* === FIX LEFT/RIGHT NAV ALIGNMENT === */
#catlinks {
#left-navigation,
    display: block !important;
#right-navigation {
    margin-top: 3rem !important;
  margin: 0 !important;
    padding-top: 1rem !important;
  padding: 0.5rem 0 !important;
    border-top: 1px dotted var(--border-light) !important;
    font-size: 0.7rem !important;
    font-family: ui-monospace, 'SF Mono', Monaco, monospace !important;
    opacity: 0.7 !important;
}
}


#catlinks a {
.vector-page-toolbar-container {
    color: var(--text-muted) !important;
  padding: 0 !important;
    border-bottom: none !important;
  margin: 0 !important;
}
 
/* Footer - whisper quiet */
#footer-info, .mw-footer {
    font-size: 0.65rem !important;
    opacity: 0.4 !important;
    font-family: ui-monospace, 'SF Mono', Monaco, monospace !important;
}
}


/* Hatnotes */
/* Reset the -8px margin on left nav */
.hatnote, .dablink {
#left-navigation {
    font-size: 0.8rem !important;
  margin-left: 0 !important;
    font-style: italic !important;
    color: var(--text-muted) !important;
    opacity: 0.8 !important;
}
}


/* Print footer - hide */
/* Align both nav sections vertically */
.printfooter {
#left-navigation,
    display: none !important;
#right-navigation,
#p-namespaces,
#p-views {
  display: flex !important;
  align-items: center !important;
}
}

Latest revision as of 17:47, 26 January 2026

/* EJ Fox Archive - Matched to website2 exactly */

:root {
  /* Typography - Match website2 exactly */
  --font-body: 'Georgia', 'Times New Roman', 'Droid Serif', 'Times', 'Source Serif Pro', serif;
  --font-mono: 'Monaspace Neon', 'Monaspace Argon', 'SFMono-Regular', 'Menlo', 'Monaco', 'Consolas', 'Liberation Mono', 'Courier New', monospace;

  /* Colors - Match website2 zinc palette */
  --bg: #fafafa;
  --bg-alt: #f4f4f5;
  --fg: #1a1a1a;           /* warm near-black - exact match */
  --fg-secondary: #52525b;  /* zinc-600 */
  --fg-muted: #71717a;      /* zinc-500 */
  --border: #e4e4e7;        /* zinc-200 */
  --red: #dc2626;

  --max-w: 65ch;
}

@media (prefers-color-scheme: dark) {
  :root {
    --bg: #0a0a0a;           /* warm near-black - exact match */
    --bg-alt: #18181b;       /* zinc-900 */
    --fg: #f5f5f4;           /* warmer off-white - exact match */
    --fg-secondary: #a1a1aa; /* zinc-400 */
    --fg-muted: #71717a;     /* zinc-500 */
    --border: #3f3f46;       /* zinc-700 */
    --red: #f87171;
  }
}

/* === BASE === */
html {
  overflow-x: hidden;
}

body {
  background: var(--bg);
  color: var(--fg);
  font-family: var(--font-body);
  font-size: 1.125rem;        /* 18px - match website2 */
  line-height: 1.75;          /* match website2 loose */
  font-feature-settings: 'kern' 1, 'liga' 1, 'calt' 1, 'onum' 1;
  font-variant-ligatures: common-ligatures contextual;
  font-variant-numeric: oldstyle-nums;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  margin: 0;
  overflow-x: hidden;
}

@media (prefers-color-scheme: dark) {
  body { font-weight: 375; }  /* match website2 dark mode */
}

/* === LAYOUT === */
#p-search, #p-logo, .mw-wiki-logo, #footer, .printfooter,
#f-poweredbyico, #f-copyrightico, .mw-jump-link, #jump-to-nav {
  display: none;
}

.mw-body {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 3rem 1rem 1.5rem;
  background: transparent;
  border: none;
}

#content {
  margin-left: 0;
  background: transparent;
  border: none;
}

/* === TYPOGRAPHY - Match website2 scale === */
h1, h2, h3, h4, h5, h6,
.mw-heading, .mw-heading1, .mw-heading2, .mw-heading3, .mw-heading4 {
  font-family: var(--font-body);
  font-weight: 400;
  color: var(--fg);
  background: none !important;
  border: none !important;
}

.mw-body h1, .firstHeading {
  font-size: 2.5rem;          /* 40px - match website2 4xl */
  letter-spacing: -0.035em;   /* match website2 tighter */
  line-height: 1.2;
  margin: 0 0 1.5rem;
  border: none;
}

.mw-body h2, .mw-heading2 h2 {
  font-size: 2rem;            /* 32px - match website2 3xl */
  letter-spacing: -0.025em;   /* match website2 tight */
  line-height: 1.25;
  margin: 2.5rem 0 0.75rem;
  padding: 0;
  border: none !important;
  background: none !important;
}

.mw-body h3, .mw-heading3 h3 {
  font-size: 1.75rem;         /* 28px - match website2 2xl */
  letter-spacing: -0.015em;   /* match website2 */
  line-height: 1.3;
  font-weight: 400;
  margin: 2rem 0 0.5rem;
}

.mw-body h4, .mw-heading4 h4 {
  font-size: 1.5rem;          /* 24px - match website2 xl */
  letter-spacing: -0.01em;
  line-height: 1.35;
  font-weight: 400;
  margin: 1.5rem 0 0.5rem;
}

.mw-body p {
  margin-bottom: 1rem;
  line-height: 1.75;          /* match website2 */
}

/* === LINKS === */
.mw-body a {
  color: var(--fg);
  text-decoration: none;
  border-bottom: 1px solid var(--border);
  transition: border-color 200ms ease-out;
}

.mw-body a:hover { border-color: var(--fg); }

.mw-body a.new {
  color: var(--red);
  border-color: var(--red);
  opacity: 0.7;
}

.mw-body a.new:hover { opacity: 1; }

.mw-body a.external {
  color: var(--fg-secondary);
  border-color: var(--fg-secondary);
}

/* === CODE === */
code, pre {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
  background: var(--bg-alt);
  border: none;
  border-radius: 2px;
}

code {
  padding: 1px 4px;
  word-break: break-word;
}

pre {
  padding: 1rem;
  margin: 1rem 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  line-height: 1.4;
  max-width: 100%;
}

/* === TABLES === */
.wikitable {
  width: 100%;
  border-collapse: collapse;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
  margin: 1rem 0;
  border: none;
}

.wikitable th, .wikitable td {
  border: none;
  border-bottom: 1px solid var(--border);
  padding: 0.5rem 0.75rem;
  text-align: left;
  word-break: break-word;
}

.wikitable th {
  background: transparent;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-size: 0.7rem;
  color: var(--fg-muted);
}

.wikitable tr:last-child td {
  border-bottom: none;
}

/* === LISTS === */
.mw-body ul, .mw-body ol {
  margin: 0.5rem 0;
  padding-left: 1.5rem;
}

.mw-body li { margin-bottom: 0.25rem; }

/* === TOC === */
#toc, .toc {
  display: inline-block;
  background: transparent;
  border: none;
  padding: 0.5rem 0;
  margin: 0.75rem 0;
  font-size: 0.875rem;
  max-width: 260px;
}

.toctitle h2 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
  margin: 0 0 0.5rem;
  border: none !important;
  padding: 0;
  background: none !important;
}

.toc ul { margin: 0; padding-left: 0.75rem; list-style: none; }
.tocnumber {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  color: var(--fg-muted);
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}

/* === EDIT LINKS === */
#p-views, #p-cactions {
  margin: 0.5rem 0;
  background: transparent;
  border: none;
}

#p-views ul, #p-cactions ul {
  display: flex;
  gap: 1rem;
  list-style: none;
  margin: 0;
  padding: 0;
}

#p-views a, #p-cactions a {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  border: none;
  background: transparent;
}

#p-views a:hover, #p-cactions a:hover {
  color: var(--fg);
}

.mw-editsection {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  opacity: 0.3;
  margin-left: 0.5rem;
}

.mw-editsection:hover { opacity: 0.6; }
.mw-editsection a { border: none; color: var(--fg-muted); }

/* === CATEGORIES === */
#catlinks {
  display: block;
  margin-top: 2.5rem;
  padding-top: 0.75rem;
  border: none;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--fg-muted);
}

#catlinks a {
  color: var(--fg-muted);
  border: none;
}

#catlinks a:hover { color: var(--fg-secondary); }

/* === SPECIAL PAGES === */
.ns-special .mw-body { line-height: 1.6; }

.mw-changeslist-line {
  margin-bottom: 0.25rem;
  line-height: 1.3;
}

.mw-changeslist-time {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}

.mw-diff-bytes {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-feature-settings: 'lnum' 1, 'tnum' 1;
}

.comment {
  font-style: italic;
  color: var(--fg-muted);
  margin-left: 0.25rem;
}

/* === VECTOR SKIN CLEANUP === */
.vector-page-titlebar,
.vector-page-toolbar,
.vector-menu-tabs,
.vector-menu-content,
#p-views, #p-namespaces, #p-cactions,
.mw-portlet, .vector-tabs, .vector-menu {
  border: none;
  box-shadow: none;
}

.vector-menu-tabs li, .vector-tabs li, #p-views li {
  border: none;
  background: transparent;
}

/* === NAVBOXES === */
.wikitable[style*="margin-top"] {
  font-size: 0.75rem;
  margin-top: 2rem;
}

.wikitable[style*="margin-top"] th {
  font-size: 0.7rem;
}

/* === SEARCH === */
#searchInput {
  font-family: var(--font-mono);
  font-size: 0.875rem;
  background: var(--bg-alt);
  border: 1px solid var(--border);
  padding: 0.25rem 0.5rem;
  color: var(--fg);
}

#searchInput::placeholder { color: var(--fg-muted); }

/* === INFOBOXES === */
.infobox {
  float: right;
  width: 240px;
  margin: 0 0 1rem 1rem;
  border: none;
  background: var(--bg-alt);
  font-size: 0.875rem;
  padding: 0.75rem;
}

.infobox th {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: left;
  padding: 0.25rem;
  font-weight: 600;
}

.infobox td { padding: 0.25rem; }

/* === SUBTITLE/META === */
#siteSub, #contentSub, .mw-content-subtitle {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--fg-muted);
  opacity: 0.6;
}

/* Hide empty catlinks on Main Page */
body.page-Main_Page #catlinks { display: none; }

/* ============================================
   MOBILE STYLES - Fix horizontal scrolling
   ============================================ */
@media (max-width: 768px) {
  .mw-body {
    padding: 2rem 0.75rem 1rem;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .mw-body h1 { font-size: 2rem; }
  .mw-body h2 { font-size: 1.5rem; }
  .mw-body h3 { font-size: 1.25rem; }

  #p-views ul, #p-cactions ul {
    flex-direction: column;
    gap: 0.5rem;
  }

  #toc, .toc {
    max-width: 100%;
    display: block;
  }

  /* Code blocks - contained scroll */
  pre {
    max-width: calc(100vw - 1.5rem);
    font-size: 0.75rem;
    padding: 0.75rem;
    white-space: pre;
    word-break: normal;
    overflow-x: auto;
  }

  /* Inline code - allow wrapping */
  code {
    word-break: break-all;
  }

  /* Tables - horizontal scroll wrapper */
  .wikitable {
    display: block;
    max-width: calc(100vw - 1.5rem);
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }

  .wikitable th, .wikitable td {
    white-space: nowrap;
    min-width: 80px;
  }

  /* Infobox - stack on mobile */
  .infobox {
    float: none;
    width: 100%;
    margin: 1rem 0;
  }
}

/* Extra small screens */
@media (max-width: 480px) {
  .mw-body {
    padding: 1.5rem 0.5rem 0.75rem;
  }

  .mw-body h1 { font-size: 1.75rem; }
  .mw-body h2 { font-size: 1.375rem; }

  pre {
    max-width: calc(100vw - 1rem);
    font-size: 0.7rem;
    padding: 0.5rem;
  }

  .wikitable {
    max-width: calc(100vw - 1rem);
    font-size: 0.7rem;
  }
}

/* === KILL TAB UNDERLINES === */
.vector-menu-tabs .selected,
.vector-menu-tabs .selected a,
.vector-menu-tabs li,
.vector-menu-tabs li a,
#p-namespaces li,
#p-namespaces li a,
#p-views li,
#p-views li a,
.mw-list-item,
.mw-list-item a,
#ca-nstab-main,
#ca-talk,
#ca-view,
#ca-viewsource,
#ca-history {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
  background: transparent !important;
}

/* Vector 2022 specific tab styling */
.vector-page-toolbar,
.vector-page-toolbar-container,
.vector-tabs,
.vector-tabs li,
.vector-tabs a,
.cdx-tabs,
.cdx-tabs__list,
.cdx-tabs__list__item {
  border: none !important;
  border-bottom: none !important;
  box-shadow: none !important;
}

/* Nuclear option - all nav borders */
nav, nav * {
  border: none !important;
}

/* === NAV FONT CONSISTENCY === */
/* All nav elements: mono, uppercase, small */
#p-namespaces,
#p-namespaces a,
#p-views,
#p-views a,
#p-personal,
#p-personal a,
#p-logo a,
.mw-portlet a,
.vector-menu a,
.vector-tabs a,
.cdx-tabs a,
#pt-login,
#pt-login a,
#ca-nstab-main,
#ca-talk,
nav a,
header a,
.mw-header a,
.vector-header a,
.vector-header-container a {
  font-family: var(--font-mono) !important;
  font-size: 0.7rem !important;
  text-transform: uppercase !important;
  letter-spacing: 0.1em !important;
  color: var(--fg-muted) !important;
}

/* Hover state */
#p-namespaces a:hover,
#p-views a:hover,
#p-personal a:hover,
.mw-portlet a:hover,
.vector-menu a:hover,
nav a:hover,
header a:hover {
  color: var(--fg) !important;
}

/* Site title "Archive" - slightly larger */
.mw-logo-wordmark,
.vector-header .mw-logo a,
#p-logo a {
  font-size: 0.875rem !important;
  font-weight: 500 !important;
}

/* === MINIMAL SPACING FIXES === */
/* Add gap between PAGE and DISCUSSION */
#p-namespaces li {
  margin-right: 1rem !important;
}

/* Reduce huge gap above title */
.mw-body {
  padding-top: 1.5rem !important;
}

/* === FIX LEFT/RIGHT NAV ALIGNMENT === */
#left-navigation,
#right-navigation {
  margin: 0 !important;
  padding: 0.5rem 0 !important;
}

.vector-page-toolbar-container {
  padding: 0 !important;
  margin: 0 !important;
}

/* Reset the -8px margin on left nav */
#left-navigation {
  margin-left: 0 !important;
}

/* Align both nav sections vertically */
#left-navigation,
#right-navigation,
#p-namespaces,
#p-views {
  display: flex !important;
  align-items: center !important;
}