MediaWiki:Vector.css: Difference between revisions

From QME Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(107 intermediate revisions by the same user not shown)
Line 1: Line 1:
/* All CSS here will be loaded for users of the Vector skin */
/* ========================================================= */
/* Vector 2022 Dark Mode - Custom Skin Overrides            */
/* ========================================================= */


/* -------------------------------------------------------- */
/* ------------------------------ */
/* 1. Global / Base Styles */
/* 1a. Font face for episode titles */
/* -------------------------------------------------------- */
/* ------------------------------ */
@font-face {
    font-family: 'Lydian Bold BT';
    src: url('/wiki/skins/Vector/fonts/LydianBold-BT.woff2') format('woff2'),
        url('/wiki/skins/Vector/fonts/LydianBold-BT.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}
 
/* ------------------------------ */
/* 1b. Default font for all wiki pages */
/* ------------------------------ */
body, #content, #firstHeading {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-transform: none;
    color: black; /* default heading color */
}
 
/* ------------------------------ */
/* 1c. Apply episode font ONLY if marker is present */
/* ------------------------------ */
.episode-identifier ~ #content #firstHeading {
    font-family: 'Lydian Bold BT', sans-serif;
    text-transform: uppercase;
    color: white; /* default for most episodes */
}
 
/* ------------------------------ */
/* 1d. Special title color for first 4 episodes */
/* ------------------------------ */
.episode-identifier[data-ep="1"] ~ #content #firstHeading,
.episode-identifier[data-ep="2"] ~ #content #firstHeading,
.episode-identifier[data-ep="3"] ~ #content #firstHeading,
.episode-identifier[data-ep="4"] ~ #content #firstHeading {
    color: #FFD700; /* golden yellow */
}


/* Dark background for the overall page, top header strip, and page background */
 
 
/* ------------------------------ */
/* 1e. Base Page & Backgrounds */
/* ------------------------------ */
body,
body,
#mw-head-base,
#mw-head-base,
#mw-page-base {
#mw-page-base {
     background-color: #1a1a1a; /* Very dark gray, almost black */
     background-color: #1a1a1a !important;
     color: #e0e0e0;           /* Light gray for default text */
     color: #e0e0e0 !important;
}
}


/* General link styles (fallback for links not covered by more specific rules) */
/* ------------------------------ */
/* 2. Links */
/* ------------------------------ */
a {
a {
     color: #7aa06e; /* Dull aqua green for unvisited links */
     color: #88cc88 !important;
}
}
a:visited {
a:visited {
     color: #cccccc; /* Light grey for visited links */
     color: #2e8b57 !important;
}
}
a:hover {
a:hover {
     color: #a3be8c; /* A light green for hover */
     color: #a3be8c !important;
}
}
/* Style for links to non-existent pages ("red links") */
a.new {
a.new {
     color: #ffff00; /* Yellow for non-existent page links */
     color: #ffff00 !important;
}
}


/* -------------------------------------------------------- */
/* ------------------------------ */
/* 2. Main Content Area (#content) and Main Page Text */
/* 3. Content Area */
/* -------------------------------------------------------- */
/* ------------------------------ */
#content,
.vector-body {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
#content h1, #content h2, #content h3,
#content h4, #content h5, #content h6 {
    color: #f0f0f0 !important;
}
#content p, #content ul, #content ol,
#content li, #content dl, #content dd,
#content dt, #content div {
    color: #e0e0e0 !important;
}
#content a, .vector-body a {
    color: #88cc88 !important;
}
#content a:visited {
    color: #2e8b57 !important;
}
#content a:hover {
    color: #a3be8c !important;
}


#content {
/* 3.a Custom bullets */
     background-color: #2a2a2a; /* A slightly lighter dark gray for contrast with body */
.ns-0 #content ul,
     color: #e0e0e0;           /* Light gray for general text within the content area */
.ns-0 #content ol {
     border-color: #444;       /* Darker border if there's one around the content */
     list-style: none;
    padding-left: 1.5em;
}
.ns-0 #content ul li::before {
    content: "•";
     color: #88cc88;
    display: inline-block;
    width: 1em;
     margin-left: -1em;
}
}


/* Ensure all common text elements within the main content area are light */
/* ------------------------------ */
#content p,
/* 4. Sidebar & Navigation Panel */
#content ul,
/* ------------------------------ */
#content ol,
#mw-panel {
#content li,
    background-color: #1a1a1a !important;
#content dl,
    color: #e0e0e0 !important;
#content dd,
    border-color: #444 !important;
#content dt,
}
#content div { /* Added div for general block elements */
#mw-panel ul, #mw-panel ol {
     color: #e0e0e0;
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
#mw-panel div.portal {
    background-color: #1a1a1a !important;
    border-color: #444 !important;
}
#mw-panel div.portal h3 {
    color: #f0f0f0 !important;
    border-color: #444 !important;
}
#mw-panel div.body ul li a,
#mw-panel li.mw-list-item a {
    color: #88cc88 !important;
}
#mw-panel div.body ul li a:visited,
#mw-panel li.mw-list-item a:visited {
    color: #2e8b57 !important;
}
#mw-panel div.body ul li a:hover,
#mw-panel li.mw-list-item a:hover {
    color: #a3be8c !important;
    background-color: #3a3a3a !important;
}
#mw-panel li.mw-list-item {
    background-color: transparent !important;
     color: #e0e0e0 !important;
}
}


/* Headings within content */
/* Highlight Donate link */
#content h1,
#mw-panel a[href="https://buymeacoffee.com/QuincyExaminer"] {
#content h2,
    color: #ffff00 !important;
#content h3,
    font-weight: normal !important;
#content h4,
    text-decoration: none !important;
#content h5,
}
#content h6 {
#mw-panel a[href="https://buymeacoffee.com/QuincyExaminer"]:visited {
     color: #f0f0f0; /* Slightly lighter headings */
    color: #ffff00 !important;
}
#mw-panel a[href="https://buymeacoffee.com/QuincyExaminer"]:hover {
     color: #ffff00 !important;
}
}


/* Specific link styles for links inside the main content area */
/* ------------------------------ */
#content a {
/* 4.b Top-right user menu spacing fix */
     color: #7aa06e; /* Dull aqua green for unvisited links within content */
/* ------------------------------ */
#pt-userpage, #pt-anonuserpage,
#pt-login, #pt-logout, #pt-createaccount,
#pt-anontalk, #pt-mytalk, #pt-preferences,
#pt-watchlist, #pt-mycontris, #pt-globalwatchlist,
#pt-myalerts, #pt-messages {
    list-style: none !important;
    padding: 0.25em 0.5em !important;
    margin: 0.1em 0 !important;
    display: inline-block !important;
}
#p-cactions-label,
#p-cactions-label::after {
     color: #e0e0e0 !important;
}
}
#content a:visited {
 
     color: #cccccc; /* Light grey for visited links within content */
/* ------------------------------ */
/* 5. Top Tabs */
/* ------------------------------ */
#p-views ul li {
    background-color: #3a3a3a !important;
    border-color: #444 !important;
    background-image: none !important;
}
#p-views ul li a {
    color: #e0e0e0 !important;
    background-image: none !important;
}
#p-views ul li.selected {
    background-color: #2a2a2a !important;
}
#p-views ul li.selected a {
    color: #f0f0f0 !important;
}
#p-views ul li:not(.selected):hover {
    background-color: #4a4a4a !important;
}
#p-views ul li:not(.selected):hover a {
    color: #ffffff !important;
}
.vector-menu-tabs,
.vector-menu-tabs a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
    background-color: #3a3a3a !important;
     color: #e0e0e0 !important;
}
 
/* ------------------------------ */
/* 6a. Header & Logo */
/* ------------------------------ */
#mw-head {
    background-color: #1a1a1a !important;
    border-bottom-color: #444 !important;
}
}
#content a:hover {
#mw-wiki-logo {
     color: #a3be8c; /* Light green on hover for links within content */
     background-color: transparent !important;
}
}


/* -------------------------------------------------------- */
/* ------------------------------ */
/* 3. Table of Contents (TOC) */
/* 6b. Images and Captions
/* -------------------------------------------------------- */
/* ------------------------------ */


/* Style for the Table of Contents heading */
figcaption {
.mw-toc-heading {
     color: #222 !important; /* A dark gray close to black */
     color: #f0f0f0;         /* Set a light color for the heading text */
/*    font-weight: bold;     /* Optional: make the text bolder */
    background-color: #3a3a3a; /* Set a dark background color for the heading */
}
}


/* -------------------------------------------------------- */
/* 4. Footer */
/* -------------------------------------------------------- */


/* Style for the footer area */
/* ------------------------------ */
#footer {
/* 7. Main Page Title Hidden */
    background-color: #1a1a1a; /* Match your body background for consistency */
/* ------------------------------ */
     color: #e0e0e0;           /* Light gray for general text in the footer */
.page-Main_Page h1.firstHeading {
     display: none !important;
}
}


/* Specific link styles within the footer */
.page-Main_Page #mw-content-text {
#footer a {
     padding-top: 4.5em !important;
     color: #7aa06e; /* Dull aqua green for unvisited links in footer */
}
}
#footer a:visited {
 
     color: #cccccc; /* Light grey for visited links in footer */
 
 
/* 7.a Adjust title position below tabs on all pages */
h1.firstHeading {
    display: block !important;
     color: #f0f0f0 !important;
    background: none !important;
    padding: 0.5em 0.5em 0.5em 0.5em !important;
    margin: 3.5em 0 1em 0 !important; /* push down to clear tabs (approx 56px) */
    position: relative !important;
    z-index: 10 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6) !important;
}
}
#footer a:hover {
 
     color: #a3be8c; /* Light green on hover in footer */
/* 7.b Main Page: keep title hidden but reserve space to avoid layout shift */
 
.page-Main_Page h1.firstHeading {
     display: none !important;
    margin-top: 8.5em !important; /* added ~26px more space */
}
}
 
/* 7.c Set Arial font for main title on all pages except Main Page */
/* Specific list item text color within the footer */
/*body:not(.page-Main_Page) h1.firstHeading {  */
#footer li {
/*    font-family: Arial, sans-serif !important; */
     color: #e0e0e0;
/*} */
/* 7.c Set Lydian Std Bold as font for main title on all pages except Main Page */
body:not(.page-Main_Page) h1.firstHeading {
     font-family: 'Lydian Bold BT', Arial, sans-serif !important;
    font-weight: bold;
}
}


/* -------------------------------------------------------- */
/* 5. Search Box */
/* -------------------------------------------------------- */


/* Style for the search input field */
/* ------------------------------ */
/* 8. Search Input */
/* ------------------------------ */
#searchInput {
#searchInput {
     background-color: #ffffff; /* White interior */
     background-color: #ffffff !important;
     color: #333333;           /* Darker color for typed text */
     color: #000000 !important;
}
#searchInput::placeholder {
    color: #666666 !important;
}
}


/* Style for the placeholder text (the default text in the search window) */
/* ============================== */
#searchInput::placeholder { /* Standard placeholder selector */
/* Table of Contents (TOC) Style */
     color: #666666; /* A dark grey for the default placeholder text */
/* ============================== */
     opacity: 1;    /* Ensure full opacity in Firefox */
 
/* Style the entire TOC container */
#toc {
    background-color: #2a2a2a !important;  /* Dark gray background */
     color: #e0e0e0 !important;             /* Light gray text */
     border: 1px solid #444 !important;
    padding: 1em;
     border-radius: 5px;
}
}
#searchInput::-webkit-input-placeholder { /* For Webkit browsers (Chrome, Safari) */
 
     color: #666666;
/* Restore indentation while suppressing bullets visually */
#toc ul,
#toc ul li {
    margin-left: 0 !important;
    padding-left: 1.6em !important;        /* Restore original indenting */
    list-style: none !important;            /* Remove default list bullets */
     list-style-image: none !important;
}
}
#searchInput::-moz-placeholder { /* For Firefox */
 
     color: #666666;
/* Extra bullet suppression (some skins use markers) */
    opacity: 1; /* Override Firefox's default lower opacity */
#toc li::marker {
     color: #2a2a2a !important;             /* Match background to hide marker */
}
}
#searchInput:-ms-input-placeholder { /* For Internet Explorer 10+ */
 
     color: #666666;
/* Suppress any custom green bullets applied by Vector or gadgets */
#toc li::before {
     content: none !important;
}
}
#searchInput::-ms-input-placeholder { /* For Microsoft Edge */
 
     color: #666666;
/* Number styling */
#toc .tocnumber {
    color: #88cc88 !important;              /* Soft green */
     font-weight: bold;
}
}


/* -------------------------------------------------------- */
/* Number hover effect */
/* 6. Main Page and Discussion Tabs (Page-level navigation) */
#toc li:hover .tocnumber {
/* -------------------------------------------------------- */
    color: #a3be8c !important;
}


/* Base styles for all top tabs */
/* TOC toggle links [hide]/[show] */
#p-views ul li {
.toctoggle a {
     background-color: #3a3a3a; /* Dark background for unselected tabs */
     color: #88cc88 !important;
     border-color: #444;      /* Darker border for tabs */
     text-decoration: none;
    /* Override any default background images for tabs */
    background-image: none !important;
}
}


#p-views ul li a {
.toctoggle a:hover {
     color: #e0e0e0; /* Light text color for tab links */
     color: #a3be8c !important;
     /* Override any default background images for tab links */
     text-decoration: underline;
    background-image: none !important;
}
}


/* Styles for the currently selected tab */
 
#p-views ul li.selected {
/* ------------------------------ */
     background-color: #2a2a2a; /* Darker background for the selected tab (match #content) */
/* 10. Changes List */
     border-color: #444;       /* Darker border */
/* ------------------------------ */
     background-image: none !important; /* Override background image for selected tab too */
.mw-changeslist,
.mw-changeslist-legend {
     background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
     border-color: #444 !important;
}
.mw-changeslist-legend .mw-legend {
     color: #e0e0e0 !important;
}
}


#p-views ul li.selected a {
/* ------------------------------ */
     color: #f0f0f0; /* Slightly lighter text color for the selected tab link */
/* 11. Editing Interface */
/* ------------------------------ */
#editform,
#wpTextbox1 {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border: 1px solid #555 !important;
}
.divEditOptions,
.editOptions {
     background-color: #1a1a1a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
.divEditOptions input,
.divEditOptions textarea,
.divEditOptions select {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border: 1px solid #555 !important;
}
}


/* Hover state for tabs */
/* ------------------------------ */
#p-views ul li:not(.selected):hover {
/* 12. Custom Blocks */
     background-color: #4a4a4a; /* Slightly lighter dark background on hover for unselected tabs */
/* ------------------------------ */
     background-image: none !important; /* Override background image on hover */
.qme-column {
     background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border: 1px solid #83FCDB !important;
    padding: 1em;
}
.qme-heading {
     background-color: #3a3a3a !important;
    color: #f0f0f0 !important;
    border: 1px solid #444 !important;
}
}


#p-views ul li:not(.selected):hover a {
/* ------------------------------ */
     color: #ffffff; /* White text on hover for unselected tabs */
/* 13. Image Captions */
/* ------------------------------ */
.thumbcaption {
     color: #2e8b57 !important;
}
}


/* Specific overrides for the vector-menu-tabs and dropdown heading for background gradients */
/* ------------------------------ */
.vector-menu-tabs,
/* 14. Code Blocks */
.vector-menu-tabs a,
/* ------------------------------ */
#mw-head .vector-menu-dropdown .vector-menu-heading {
pre,
     background-image: none !important; /* Remove the light gradient */
code,
     background-color: #3a3a3a !important; /* Set to a dark solid color */
tt,
     color: #e0e0e0 !important; /* Ensure text is light */
kbd,
samp,
.mw-code {
     background-color: #1e1e1e !important;
     color: #e0e0e0 !important;
    border: 1px solid #555 !important;
     padding: 0.5em !important;
}
}


/* ------------------------------ */
/* 15. OOUI Labels */
/* ------------------------------ */
.oo-ui-labelElement-label,
.oo-ui-fieldsetLayout-header,
.oo-ui-fieldLayout-header label {
    color: #ffffff !important; /* white text */
}


/* -------------------------------------------------------- */
/* ------------------------------ */
/* 7. Header elements (mw-head, mw-wiki-logo) */
/* Special Case for Edit Save Message */
/* -------------------------------------------------------- */
/* ------------------------------ */
.oo-ui-labelElement-label {
    color: #d3d3d3 !important;  /* Ensure the text is light grey */
}


/* Styles for the main header area, including borders and background */
.oo-ui-labelElement-label a {
#mw-head {
     color: #88cc88 !important; /* Green color for the link (edit link) */
     background-color: #1a1a1a; /* Ensure the header background is dark */
    border-bottom-color: #444; /* Dark border at the bottom of the header */
}
}


/* Styles for the wiki logo area */
.oo-ui-labelElement-label a:hover {
#mw-wiki-logo {
     color: #a3be8c !important; /* Slightly lighter green on hover */
     background-color: transparent; /* Ensure the logo background is transparent or matches main background */
}
}


/* -------------------------------------------------------- */
.oo-ui-labelElement-label .oo-ui-labelElement-text {
/* 8. Left Navigation / Sidebar (#mw-panel) */
    color: #d3d3d3 !important;  /* Ensure "was saved" text is visible */
/* -------------------------------------------------------- */
}


/* Overall sidebar background */
/* Ensure the label text is not white on white */
#mw-panel {
.oo-ui-labelElement-label {
     background-color: #1a1a1a; /* Match body background */
     background-color: transparent !important; /* Remove any background color if applied */
    color: #e0e0e0;            /* Light text for general sidebar content */
    border-color: #444;        /* Darker border for the sidebar if present */
}
}


/* Individual portal (section) within the sidebar */
/* ------------------------------ */
#mw-panel div.portal {
/* 16. Special Pages: Remove bullets */
     background-color: #1a1a1a; /* Ensure portal backgrounds are dark */
/* ------------------------------ */
     border-color: #444;       /* Darker borders for sections */
.mw-search-profile-tabs .search-types ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* ------------------------------ */
/* 17. Confirm Account Table Colors */
/* ------------------------------ */
.mw-confirmaccount-body-0 {
     background-color: #1a1a1a !important; /* Darker background for content */
    color: #d3d3d3 !important;  /* Light grey text for readability */
     border: 1px solid #333 !important;  /* Dark border to match the background */
}
.mw-confirmaccount-body-0 td {
    background-color: #1a1a1a !important;
    color: #d3d3d3 !important;  /* Light text color */
    border: 1px solid #444 !important; /* Slightly lighter border */
}
}


/* Headings for sidebar sections (e.g., "Navigation", "Tools") */
/* ------------------------------ */
#mw-panel div.portal h3 {
/* Ensuring Confirm Account List Styling */
     color: #f0f0f0; /* Light color for section headings */
.mw-confirmaccount-type-0 {
     border-color: #444; /* Darker border under headings */
    background-color: #2a2a2a !important;  /* Slightly lighter background than the main table */
     color: #d3d3d3 !important; /* Light grey text */
     border-bottom: 1px solid #444 !important; /* Border between list items */
}
}


/* Links within sidebar sections */
/* ------------------------------ */
#mw-panel div.body ul li a {
/* Ensuring Links inside Confirm Account List */
     color: #7aa06e; /* Dull aqua green for unvisited links */
.mw-confirmaccount-type-0 a {
    color: #88cc88 !important;  /* Greenish color for links */
    text-decoration: none !important;  /* Remove underline for cleaner look */
}
.mw-confirmaccount-type-0 a:hover {
     color: #a3be8c !important; /* Lighter green when hovered */
}
}


#mw-panel div.body ul li a:visited {
/* ------------------------------ */
     color: #cccccc; /* Light grey for visited links */
/* Ensuring Strong text inside Confirm Account List */
.mw-confirmaccount-type-0 strong {
     color: #f0f0f0 !important; /* Light color for strong text */
}
}


#mw-panel div.body ul li a:hover {
/* ------------------------------ */
    color: #a3be8c; /* Light green on hover */
/* Adjusting Markers (list bullets) */
     background-color: #3a3a3a; /* Slight dark background on hover */
.mw-confirmaccount-type-0::marker {
     color: #88cc88 !important; /* Matching color for list bullet markers */
}
}


/* Ensure list item text is visible if it's not a link */
/* ------------------------------ */
#mw-panel div.body ul li {
/* Hover Effect for Confirm Account List */
     color: #e0e0e0; /* Light text for any non-link list items */
.mw-confirmaccount-type-0:hover {
     background-color: #3a3a3a !important; /* Darker grey background when hovered */
}
}


/* Specific styling for list items with mw-list-item class in the sidebar */
/* ------------------------------ */
#mw-panel li.mw-list-item a {
/* Ensuring contrast on user input forms (textareas, inputs) */
     color: #7aa06e; /* Apply dull aqua green for links inside mw-list-item */
.mw-confirmaccount-type-0 input,
.mw-confirmaccount-type-0 textarea {
     background-color: #2a2a2a !important; /* Dark background for input fields */
    color: #ffffff !important;  /* Light text for input fields */
    border: 1px solid #555 !important;  /* Darker border to maintain the dark theme */
}
}


#mw-panel li.mw-list-item a:visited {
/* ------------------------------ */
     color: #cccccc; /* Apply light grey for visited links */
/* Admin buttons, links, and other elements */
.mw-confirmaccount-type-0 .mw-ui-button {
    background-color: #444 !important;  /* Dark button background */
     color: #ffffff !important; /* White text for buttons */
    border: 1px solid #555 !important;  /* Dark border to match the theme */
}
}


#mw-list-item a:hover {
.mw-confirmaccount-type-0 .mw-ui-button:hover {
     color: #a3be8c; /* Apply light green on hover */
     background-color: #555 !important; /* Lighter grey when button is hovered */
     background-color: #3a3a3a; /* Apply slight dark background on hover */
     border-color: #666 !important; /* Lighter border on hover */
}
}


/* Ensure the list item itself has a dark background and light text if not a link */
#mw-panel li.mw-list-item {
    background-color: transparent; /* Or a specific dark color if needed */
    color: #e0e0e0; /* Light text color for the list item itself */
}


/* -------------------------------------------------------- */
/* 9. Main Page Custom Styles - Future Use */
/* -------------------------------------------------------- */
.qme-column {
    background-color: #2a2a2a; /* Dark background */
    color: #e0e0e0; /* Light text color */
    border: 1px solid #444; /* Optional: A subtle dark border for consistency */
    padding: 1em; /* Add some padding if needed, adjust as desired */
}
/*
    This section is intentionally left empty.
    As you refactor your Main Page to remove inline styles,
    you can define CSS classes here (e.g., .my-dark-box, .qme-heading)
    and then apply those classes in your WikiText/HTML.


    Example:
    If your Main Page has:
    <div style="background-color:#fcfcfc; color:#000;">...</div>


     You would change the WikiText to:
/* ------------------------------ */
     <div class="main-page-box">...</div>
/* 18. Admin Warning (EditingInterface) */
/* ------------------------------ */
.mw-editinginterface {
    background-color: #5a1a1a !important;
     color: #ffdddd !important;
     border: 1px solid #aa4444 !important;
    padding: 10px !important;
    margin: 1em 0 !important;
    font-weight: bold !important;
    border-radius: 4px !important;
}
.mw-editinginterface strong {
    color: #ff6666 !important;
}


    And then add the corresponding CSS rule here:
/* ------------------------------ */
    .main-page-box {
/* 19. Ace Editor Gutter Styling */
        background-color: #2a2a2a;
/* ------------------------------ */
        color: #e0e0e0;
.ace_gutter {
        border: 1px solid #444;
    background-color: #2a2a2a !important;
    }
    border-right: 1px solid #555 !important;
}
.ace_gutter-cell {
    color: #aaaaaa !important;
    background-color: #2a2a2a !important;
}


    Similarly for headings:
/* ------------------------------ */
     From: <h2 style="background-color:#83FCDB; color:#000;">Welcome</h2>
/* 20. View Source Mode Fixes for <pre> Blocks */
     To: <h2 class="qme-heading">Welcome</h2>
/* ------------------------------ */
.mw-code,
.mw-code pre,
pre {
     background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border: 1px solid #555 !important;
    padding: 1em !important;
    overflow: auto !important;
    font-family: monospace !important;
     font-size: 0.95em !important;
}
.mw-code span,
.mw-code span[style] {
    color: inherit !important;
}


    And here in CSS:
/* ------------------------------ */
    .qme-heading {
/* 21. Protected Page Warning (View Source Mode) - Dark Theme */
        background-color: #3a3a3a;
/* ------------------------------ */
        color: #f0f0f0;
.cdx-message--warning.mw-warning-with-logexcerpt {
        border: 1px solid #444;
    background-color: #3a1a1a !important;
     }
    color: #ffdddd !important;
    border: 1px solid #aa4444 !important;
    padding: 1em !important;
     border-radius: 5px !important;
    font-weight: bold !important;
}
.cdx-message--warning.mw-warning-with-logexcerpt a {
    color: #ffaaaa !important;
    text-decoration: underline !important;
}
.cdx-message--warning.mw-warning-with-logexcerpt a:hover {
    color: #ffcccc !important;
}
.cdx-message--warning.mw-warning-with-logexcerpt strong {
    color: #ff6666 !important;
}
.mw-logevent-loglines {
    color: #ffeaea !important;
}
/* ------------------------------ */
/* 22. Footer */
/* ------------------------------ */
#footer-info,
#footer-info li {
    color: #ffffff !important;
}


*/
/* ========================================================= */
/* END Vector 2022 Dark Mode Custom Skin                    */
/* ========================================================= */

Latest revision as of 13:51, 26 July 2025

/* ========================================================= */
/* Vector 2022 Dark Mode - Custom Skin Overrides             */
/* ========================================================= */

/* ------------------------------ */
/* 1a. Font face for episode titles */
/* ------------------------------ */
@font-face {
    font-family: 'Lydian Bold BT';
    src: url('/wiki/skins/Vector/fonts/LydianBold-BT.woff2') format('woff2'),
         url('/wiki/skins/Vector/fonts/LydianBold-BT.woff') format('woff');
    font-weight: bold;
    font-style: normal;
}

/* ------------------------------ */
/* 1b. Default font for all wiki pages */
/* ------------------------------ */
body, #content, #firstHeading {
    font-family: 'Helvetica Neue', Arial, sans-serif;
    text-transform: none;
    color: black; /* default heading color */
}

/* ------------------------------ */
/* 1c. Apply episode font ONLY if marker is present */
/* ------------------------------ */
.episode-identifier ~ #content #firstHeading {
    font-family: 'Lydian Bold BT', sans-serif;
    text-transform: uppercase;
    color: white; /* default for most episodes */
}

/* ------------------------------ */
/* 1d. Special title color for first 4 episodes */
/* ------------------------------ */
.episode-identifier[data-ep="1"] ~ #content #firstHeading,
.episode-identifier[data-ep="2"] ~ #content #firstHeading,
.episode-identifier[data-ep="3"] ~ #content #firstHeading,
.episode-identifier[data-ep="4"] ~ #content #firstHeading {
    color: #FFD700; /* golden yellow */
}



/* ------------------------------ */
/* 1e. Base Page & Backgrounds */
/* ------------------------------ */
body,
#mw-head-base,
#mw-page-base {
    background-color: #1a1a1a !important;
    color: #e0e0e0 !important;
}

/* ------------------------------ */
/* 2. Links */
/* ------------------------------ */
a {
    color: #88cc88 !important;
}
a:visited {
    color: #2e8b57 !important;
}
a:hover {
    color: #a3be8c !important;
}
a.new {
    color: #ffff00 !important;
}

/* ------------------------------ */
/* 3. Content Area */
/* ------------------------------ */
#content,
.vector-body {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
#content h1, #content h2, #content h3,
#content h4, #content h5, #content h6 {
    color: #f0f0f0 !important;
}
#content p, #content ul, #content ol,
#content li, #content dl, #content dd,
#content dt, #content div {
    color: #e0e0e0 !important;
}
#content a, .vector-body a {
    color: #88cc88 !important;
}
#content a:visited {
    color: #2e8b57 !important;
}
#content a:hover {
    color: #a3be8c !important;
}

/* 3.a Custom bullets */
.ns-0 #content ul,
.ns-0 #content ol {
    list-style: none;
    padding-left: 1.5em;
}
.ns-0 #content ul li::before {
    content: "•";
    color: #88cc88;
    display: inline-block;
    width: 1em;
    margin-left: -1em;
}

/* ------------------------------ */
/* 4. Sidebar & Navigation Panel */
/* ------------------------------ */
#mw-panel {
    background-color: #1a1a1a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
#mw-panel ul, #mw-panel ol {
    list-style: none !important;
    padding-left: 0 !important;
    margin-left: 0 !important;
}
#mw-panel div.portal {
    background-color: #1a1a1a !important;
    border-color: #444 !important;
}
#mw-panel div.portal h3 {
    color: #f0f0f0 !important;
    border-color: #444 !important;
}
#mw-panel div.body ul li a,
#mw-panel li.mw-list-item a {
    color: #88cc88 !important;
}
#mw-panel div.body ul li a:visited,
#mw-panel li.mw-list-item a:visited {
    color: #2e8b57 !important;
}
#mw-panel div.body ul li a:hover,
#mw-panel li.mw-list-item a:hover {
    color: #a3be8c !important;
    background-color: #3a3a3a !important;
}
#mw-panel li.mw-list-item {
    background-color: transparent !important;
    color: #e0e0e0 !important;
}

/* Highlight Donate link */
#mw-panel a[href="https://buymeacoffee.com/QuincyExaminer"] {
    color: #ffff00 !important;
    font-weight: normal !important;
    text-decoration: none !important;
}
#mw-panel a[href="https://buymeacoffee.com/QuincyExaminer"]:visited {
    color: #ffff00 !important;
}
#mw-panel a[href="https://buymeacoffee.com/QuincyExaminer"]:hover {
    color: #ffff00 !important;
}

/* ------------------------------ */
/* 4.b Top-right user menu spacing fix */
/* ------------------------------ */
#pt-userpage, #pt-anonuserpage,
#pt-login, #pt-logout, #pt-createaccount,
#pt-anontalk, #pt-mytalk, #pt-preferences,
#pt-watchlist, #pt-mycontris, #pt-globalwatchlist,
#pt-myalerts, #pt-messages {
    list-style: none !important;
    padding: 0.25em 0.5em !important;
    margin: 0.1em 0 !important;
    display: inline-block !important;
}
#p-cactions-label,
#p-cactions-label::after {
    color: #e0e0e0 !important;
}

/* ------------------------------ */
/* 5. Top Tabs */
/* ------------------------------ */
#p-views ul li {
    background-color: #3a3a3a !important;
    border-color: #444 !important;
    background-image: none !important;
}
#p-views ul li a {
    color: #e0e0e0 !important;
    background-image: none !important;
}
#p-views ul li.selected {
    background-color: #2a2a2a !important;
}
#p-views ul li.selected a {
    color: #f0f0f0 !important;
}
#p-views ul li:not(.selected):hover {
    background-color: #4a4a4a !important;
}
#p-views ul li:not(.selected):hover a {
    color: #ffffff !important;
}
.vector-menu-tabs,
.vector-menu-tabs a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
    background-color: #3a3a3a !important;
    color: #e0e0e0 !important;
}

/* ------------------------------ */
/* 6a. Header & Logo */
/* ------------------------------ */
#mw-head {
    background-color: #1a1a1a !important;
    border-bottom-color: #444 !important;
}
#mw-wiki-logo {
    background-color: transparent !important;
}

/* ------------------------------ */
/* 6b. Images and Captions
/* ------------------------------ */

figcaption {
    color: #222 !important; /* A dark gray close to black */
/*    font-weight: bold;      /* Optional: make the text bolder */
}


/* ------------------------------ */
/* 7. Main Page Title Hidden */
/* ------------------------------ */
.page-Main_Page h1.firstHeading {
    display: none !important;
}

.page-Main_Page #mw-content-text {
    padding-top: 4.5em !important;
}



/* 7.a Adjust title position below tabs on all pages */
h1.firstHeading {
    display: block !important;
    color: #f0f0f0 !important;
    background: none !important;
    padding: 0.5em 0.5em 0.5em 0.5em !important;
    margin: 3.5em 0 1em 0 !important;  /* push down to clear tabs (approx 56px) */
    position: relative !important;
    z-index: 10 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.6) !important;
}

/* 7.b Main Page: keep title hidden but reserve space to avoid layout shift */

.page-Main_Page h1.firstHeading {
    display: none !important;
    margin-top: 8.5em !important; /* added ~26px more space */
}
/* 7.c Set Arial font for main title on all pages except Main Page */
/*body:not(.page-Main_Page) h1.firstHeading {  */
/*    font-family: Arial, sans-serif !important; */
/*} */
/* 7.c Set Lydian Std Bold as font for main title on all pages except Main Page */
body:not(.page-Main_Page) h1.firstHeading {
    font-family: 'Lydian Bold BT', Arial, sans-serif !important;
    font-weight: bold;
}


/* ------------------------------ */
/* 8. Search Input */
/* ------------------------------ */
#searchInput {
    background-color: #ffffff !important;
    color: #000000 !important;
}
#searchInput::placeholder {
    color: #666666 !important;
}

/* ============================== */
/* Table of Contents (TOC) Style */
/* ============================== */

/* Style the entire TOC container */
#toc {
    background-color: #2a2a2a !important;   /* Dark gray background */
    color: #e0e0e0 !important;              /* Light gray text */
    border: 1px solid #444 !important;
    padding: 1em;
    border-radius: 5px;
}

/* Restore indentation while suppressing bullets visually */
#toc ul,
#toc ul li {
    margin-left: 0 !important;
    padding-left: 1.6em !important;         /* Restore original indenting */
    list-style: none !important;            /* Remove default list bullets */
    list-style-image: none !important;
}

/* Extra bullet suppression (some skins use markers) */
#toc li::marker {
    color: #2a2a2a !important;              /* Match background to hide marker */
}

/* Suppress any custom green bullets applied by Vector or gadgets */
#toc li::before {
    content: none !important;
}

/* Number styling */
#toc .tocnumber {
    color: #88cc88 !important;              /* Soft green */
    font-weight: bold;
}

/* Number hover effect */
#toc li:hover .tocnumber {
    color: #a3be8c !important;
}

/* TOC toggle links [hide]/[show] */
.toctoggle a {
    color: #88cc88 !important;
    text-decoration: none;
}

.toctoggle a:hover {
    color: #a3be8c !important;
    text-decoration: underline;
}


/* ------------------------------ */
/* 10. Changes List */
/* ------------------------------ */
.mw-changeslist,
.mw-changeslist-legend {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
.mw-changeslist-legend .mw-legend {
    color: #e0e0e0 !important;
}

/* ------------------------------ */
/* 11. Editing Interface */
/* ------------------------------ */
#editform,
#wpTextbox1 {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border: 1px solid #555 !important;
}
.divEditOptions,
.editOptions {
    background-color: #1a1a1a !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}
.divEditOptions input,
.divEditOptions textarea,
.divEditOptions select {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border: 1px solid #555 !important;
}

/* ------------------------------ */
/* 12. Custom Blocks */
/* ------------------------------ */
.qme-column {
    background-color: #2a2a2a !important;
    color: #e0e0e0 !important;
    border: 1px solid #83FCDB !important;
    padding: 1em;
}
.qme-heading {
    background-color: #3a3a3a !important;
    color: #f0f0f0 !important;
    border: 1px solid #444 !important;
}

/* ------------------------------ */
/* 13. Image Captions */
/* ------------------------------ */
.thumbcaption {
    color: #2e8b57 !important;
}

/* ------------------------------ */
/* 14. Code Blocks */
/* ------------------------------ */
pre,
code,
tt,
kbd,
samp,
.mw-code {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border: 1px solid #555 !important;
    padding: 0.5em !important;
}

/* ------------------------------ */
/* 15. OOUI Labels */
/* ------------------------------ */
.oo-ui-labelElement-label,
.oo-ui-fieldsetLayout-header,
.oo-ui-fieldLayout-header label {
    color: #ffffff !important; /* white text */
}

/* ------------------------------ */
/* Special Case for Edit Save Message */
/* ------------------------------ */
.oo-ui-labelElement-label {
    color: #d3d3d3 !important;  /* Ensure the text is light grey */
}

.oo-ui-labelElement-label a {
    color: #88cc88 !important;  /* Green color for the link (edit link) */
}

.oo-ui-labelElement-label a:hover {
    color: #a3be8c !important;  /* Slightly lighter green on hover */
}

.oo-ui-labelElement-label .oo-ui-labelElement-text {
    color: #d3d3d3 !important;  /* Ensure "was saved" text is visible */
}

/* Ensure the label text is not white on white */
.oo-ui-labelElement-label {
    background-color: transparent !important;  /* Remove any background color if applied */
}

/* ------------------------------ */
/* 16. Special Pages: Remove bullets */
/* ------------------------------ */
.mw-search-profile-tabs .search-types ul {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
/* ------------------------------ */
/* 17. Confirm Account Table Colors */
/* ------------------------------ */
.mw-confirmaccount-body-0 {
    background-color: #1a1a1a !important; /* Darker background for content */
    color: #d3d3d3 !important;  /* Light grey text for readability */
    border: 1px solid #333 !important;  /* Dark border to match the background */
}
.mw-confirmaccount-body-0 td {
    background-color: #1a1a1a !important;
    color: #d3d3d3 !important;  /* Light text color */
    border: 1px solid #444 !important;  /* Slightly lighter border */
}

/* ------------------------------ */
/* Ensuring Confirm Account List Styling */
.mw-confirmaccount-type-0 {
    background-color: #2a2a2a !important;  /* Slightly lighter background than the main table */
    color: #d3d3d3 !important;  /* Light grey text */
    border-bottom: 1px solid #444 !important; /* Border between list items */
}

/* ------------------------------ */
/* Ensuring Links inside Confirm Account List */
.mw-confirmaccount-type-0 a {
    color: #88cc88 !important;  /* Greenish color for links */
    text-decoration: none !important;  /* Remove underline for cleaner look */
}
.mw-confirmaccount-type-0 a:hover {
    color: #a3be8c !important;  /* Lighter green when hovered */
}

/* ------------------------------ */
/* Ensuring Strong text inside Confirm Account List */
.mw-confirmaccount-type-0 strong {
    color: #f0f0f0 !important;  /* Light color for strong text */
}

/* ------------------------------ */
/* Adjusting Markers (list bullets) */
.mw-confirmaccount-type-0::marker {
    color: #88cc88 !important;  /* Matching color for list bullet markers */
}

/* ------------------------------ */
/* Hover Effect for Confirm Account List */
.mw-confirmaccount-type-0:hover {
    background-color: #3a3a3a !important;  /* Darker grey background when hovered */
}

/* ------------------------------ */
/* Ensuring contrast on user input forms (textareas, inputs) */
.mw-confirmaccount-type-0 input, 
.mw-confirmaccount-type-0 textarea {
    background-color: #2a2a2a !important;  /* Dark background for input fields */
    color: #ffffff !important;  /* Light text for input fields */
    border: 1px solid #555 !important;  /* Darker border to maintain the dark theme */
}

/* ------------------------------ */
/* Admin buttons, links, and other elements */
.mw-confirmaccount-type-0 .mw-ui-button {
    background-color: #444 !important;  /* Dark button background */
    color: #ffffff !important;  /* White text for buttons */
    border: 1px solid #555 !important;  /* Dark border to match the theme */
}

.mw-confirmaccount-type-0 .mw-ui-button:hover {
    background-color: #555 !important;  /* Lighter grey when button is hovered */
    border-color: #666 !important;  /* Lighter border on hover */
}




/* ------------------------------ */
/* 18. Admin Warning (EditingInterface) */
/* ------------------------------ */
.mw-editinginterface {
    background-color: #5a1a1a !important;
    color: #ffdddd !important;
    border: 1px solid #aa4444 !important;
    padding: 10px !important;
    margin: 1em 0 !important;
    font-weight: bold !important;
    border-radius: 4px !important;
}
.mw-editinginterface strong {
    color: #ff6666 !important;
}

/* ------------------------------ */
/* 19. Ace Editor Gutter Styling */
/* ------------------------------ */
.ace_gutter {
    background-color: #2a2a2a !important;
    border-right: 1px solid #555 !important;
}
.ace_gutter-cell {
    color: #aaaaaa !important;
    background-color: #2a2a2a !important;
}

/* ------------------------------ */
/* 20. View Source Mode Fixes for <pre> Blocks */
/* ------------------------------ */
.mw-code,
.mw-code pre,
pre {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border: 1px solid #555 !important;
    padding: 1em !important;
    overflow: auto !important;
    font-family: monospace !important;
    font-size: 0.95em !important;
}
.mw-code span,
.mw-code span[style] {
    color: inherit !important;
}

/* ------------------------------ */
/* 21. Protected Page Warning (View Source Mode) - Dark Theme */
/* ------------------------------ */
.cdx-message--warning.mw-warning-with-logexcerpt {
    background-color: #3a1a1a !important;
    color: #ffdddd !important;
    border: 1px solid #aa4444 !important;
    padding: 1em !important;
    border-radius: 5px !important;
    font-weight: bold !important;
}
.cdx-message--warning.mw-warning-with-logexcerpt a {
    color: #ffaaaa !important;
    text-decoration: underline !important;
}
.cdx-message--warning.mw-warning-with-logexcerpt a:hover {
    color: #ffcccc !important;
}
.cdx-message--warning.mw-warning-with-logexcerpt strong {
    color: #ff6666 !important;
}
.mw-logevent-loglines {
    color: #ffeaea !important;
}
/* ------------------------------ */
/* 22. Footer */
/* ------------------------------ */
#footer-info,
#footer-info li {
    color: #ffffff !important;
}

/* ========================================================= */
/* END Vector 2022 Dark Mode Custom Skin                     */
/* ========================================================= */
By using this site, you agree to the Terms of Use. © 1996–2025 The Quincy Examiner / MTB. All rights reserved.