MediaWiki:Vector.css: Difference between revisions

From QME Wiki
Jump to navigation Jump to search
No edit summary
Tag: Manual revert
No edit summary
 
(72 intermediate revisions by the same user not shown)
Line 4: Line 4:


/* ------------------------------ */
/* ------------------------------ */
/* 1. Base Page & Backgrounds */
/* 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,
body,
#mw-head-base,
#mw-head-base,
Line 17: Line 57:
/* 2. Links */
/* 2. Links */
/* ------------------------------ */
/* ------------------------------ */
a {
a {
     color: #7aa06e !important;
     color: #88cc88 !important;
}
}
a:visited {
a:visited {
     color: #cccccc !important;
     color: #2e8b57 !important;
}
}
a:hover {
a:hover {
Line 34: Line 73:
/* 3. Content Area */
/* 3. Content Area */
/* ------------------------------ */
/* ------------------------------ */
#content,
#content,
.vector-body {
.vector-body {
Line 41: Line 79:
     border-color: #444 !important;
     border-color: #444 !important;
}
}
#content h1, #content h2, #content h3,
#content h1, #content h2, #content h3,
#content h4, #content h5, #content h6 {
#content h4, #content h5, #content h6 {
     color: #f0f0f0 !important;
     color: #f0f0f0 !important;
}
}
#content p, #content ul, #content ol,
#content p, #content ul, #content ol,
#content li, #content dl, #content dd,
#content li, #content dl, #content dd,
Line 52: Line 88:
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
}
}
#content a, .vector-body a {
#content a, .vector-body a {
     color: #7aa06e !important;
     color: #88cc88 !important;
}
}
#content a:visited {
#content a:visited {
     color: #cccccc !important;
     color: #2e8b57 !important;
}
}
#content a:hover {
#content a:hover {
Line 63: Line 98:
}
}


/* ------------------------------ */
/* 3.a Custom bullets */
/* 3.a Custom bullets inside article content only */
/* ------------------------------ */
 
.ns-0 #content ul,
.ns-0 #content ul,
.ns-0 #content ol {
.ns-0 #content ol {
Line 72: Line 104:
     padding-left: 1.5em;
     padding-left: 1.5em;
}
}
.ns-0 #content ul li::before {
.ns-0 #content ul li::before {
     content: "•";
     content: "•";
     color: #7aa06e;
     color: #88cc88;
     display: inline-block;
     display: inline-block;
     width: 1em;
     width: 1em;
Line 84: Line 115:
/* 4. Sidebar & Navigation Panel */
/* 4. Sidebar & Navigation Panel */
/* ------------------------------ */
/* ------------------------------ */
#mw-panel {
#mw-panel {
     background-color: #1a1a1a !important;
     background-color: #1a1a1a !important;
Line 90: Line 120:
     border-color: #444 !important;
     border-color: #444 !important;
}
}
 
#mw-panel ul, #mw-panel ol {
#mw-panel ul,
#mw-panel ol {
     list-style: none !important;
     list-style: none !important;
     padding-left: 0 !important;
     padding-left: 0 !important;
     margin-left: 0 !important;
     margin-left: 0 !important;
}
}
#mw-panel div.portal {
#mw-panel div.portal {
     background-color: #1a1a1a !important;
     background-color: #1a1a1a !important;
Line 106: Line 133:
     border-color: #444 !important;
     border-color: #444 !important;
}
}
#mw-panel div.body ul li a {
#mw-panel div.body ul li a,
    color: #7aa06e !important;
}
#mw-panel div.body ul li a:visited {
    color: #cccccc !important;
}
#mw-panel div.body ul li a:hover {
    color: #a3be8c !important;
    background-color: #3a3a3a !important;
}
#mw-panel div.body ul li {
    color: #e0e0e0 !important;
}
#mw-panel li.mw-list-item a {
#mw-panel li.mw-list-item a {
     color: #7aa06e !important;
     color: #88cc88 !important;
}
}
#mw-panel div.body ul li a:visited,
#mw-panel li.mw-list-item a:visited {
#mw-panel li.mw-list-item a:visited {
     color: #cccccc !important;
     color: #2e8b57 !important;
}
}
#mw-list-item a:hover {
#mw-panel div.body ul li a:hover,
#mw-panel li.mw-list-item a:hover {
     color: #a3be8c !important;
     color: #a3be8c !important;
     background-color: #3a3a3a !important;
     background-color: #3a3a3a !important;
Line 132: Line 149:
     background-color: transparent !important;
     background-color: transparent !important;
     color: #e0e0e0 !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/login menu dropdown with spacing restored */
/* 4.b Top-right user menu spacing fix */
/* ------------------------------ */
/* ------------------------------ */
#pt-userpage, #pt-anonuserpage,
#pt-userpage, #pt-anonuserpage,
#pt-login, #pt-logout, #pt-createaccount,
#pt-login, #pt-logout, #pt-createaccount,
Line 148: Line 177:
     display: inline-block !important;
     display: inline-block !important;
}
}
 
#p-cactions-label,
/* Fix top menu "More" checkbox label (carrot) color */
#p-cactions-label::after {
#p-cactions-label {
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
}
#p-cactions-label::after {
    color: #e0e0e0 !important; /* The downward carrot */
}
}


/* ------------------------------ */
/* ------------------------------ */
/* 5. Top Tabs (Read/Edit/History) */
/* 5. Top Tabs */
/* ------------------------------ */
/* ------------------------------ */
#p-views ul li {
#p-views ul li {
     background-color: #3a3a3a !important;
     background-color: #3a3a3a !important;
Line 173: Line 196:
#p-views ul li.selected {
#p-views ul li.selected {
     background-color: #2a2a2a !important;
     background-color: #2a2a2a !important;
    border-color: #444 !important;
}
}
#p-views ul li.selected a {
#p-views ul li.selected a {
Line 184: Line 206:
     color: #ffffff !important;
     color: #ffffff !important;
}
}
/* Vector 2022 Tabs */
.vector-menu-tabs,
.vector-menu-tabs,
.vector-menu-tabs a,
.vector-menu-tabs a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
#mw-head .vector-menu-dropdown .vector-menu-heading {
    background-image: none !important;
     background-color: #3a3a3a !important;
     background-color: #3a3a3a !important;
     color: #e0e0e0 !important;
     color: #e0e0e0 !important;
Line 195: Line 214:


/* ------------------------------ */
/* ------------------------------ */
/* 6. Header & Logo */
/* 6a. Header & Logo */
/* ------------------------------ */
/* ------------------------------ */
#mw-head {
#mw-head {
     background-color: #1a1a1a !important;
     background-color: #1a1a1a !important;
Line 207: Line 225:


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


#footer {
figcaption {
     background-color: #1a1a1a !important;
     color: #222 !important; /* A dark gray close to black */
     color: #e0e0e0 !important;
/*    font-weight: bold;      /* Optional: make the text bolder */
}
 
 
/* ------------------------------ */
/* 7. Main Page Title Hidden */
/* ------------------------------ */
.page-Main_Page h1.firstHeading {
     display: none !important;
}
}
#footer a {
 
     color: #7aa06e !important;
.page-Main_Page #mw-content-text {
     padding-top: 4.5em !important;
}
}
#footer a:visited {
 
     color: #cccccc !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;
}
}
#footer a:hover {
 
     color: #a3be8c !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 */
}
}
#footer li {
/* 7.c Set Arial font for main title on all pages except Main Page */
     color: #e0e0e0 !important;
/*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 */
/* 8. Search Input */
/* ------------------------------ */
/* ------------------------------ */
#searchInput {
#searchInput {
     background-color: #ffffff !important;
     background-color: #ffffff !important;
     color: #333333 !important;
     color: #000000 !important;
}
}
#searchInput::placeholder,
#searchInput::placeholder {
#searchInput::-webkit-input-placeholder,
#searchInput::-moz-placeholder,
#searchInput:-ms-input-placeholder,
#searchInput::-ms-input-placeholder {
     color: #666666 !important;
     color: #666666 !important;
    opacity: 1 !important;
}
}


/* ------------------------------ */
/* ============================== */
/* 9. Table of Contents (TOC) */
/* 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;
}


.mw-toc-heading {
/* Restore indentation while suppressing bullets visually */
     background-color: #3a3a3a !important;
#toc ul,
     color: #f0f0f0 !important;
#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;
}
}


/* 9.a TOC Bullet Fix */
/* Extra bullet suppression (some skins use markers) */
#toc ul {
#toc li::marker {
     list-style-type: none !important;
     color: #2a2a2a !important;             /* Match background to hide marker */
    padding-left: 1.5em !important;
}
}


/* 9.b Remove custom bullets in TOC */
/* Suppress any custom green bullets applied by Vector or gadgets */
#toc li::before {
#toc li::before {
     content: none !important;
     content: none !important;
    display: none !important;
}
}


/* 9.c TOC Background + Text Color Fix */
/* Number styling */
#toc {
#toc .tocnumber {
     background-color: #2a2a2a !important;
     color: #88cc88 !important;             /* Soft green */
     color: #e0e0e0 !important;
     font-weight: bold;
    border: 1px solid #444 !important;
}
}


#toc .toctitle {
/* Number hover effect */
    background-color: transparent !important; /* Removed background shading */
#toc li:hover .tocnumber {
     color: #e0e0e0 !important;
     color: #a3be8c !important;
    border: none !important;
}
}


/* 9.d TOC Heading Fix */
/* TOC toggle links [hide]/[show] */
#mw-toc-heading {
.toctoggle a {
    background-color: transparent !important; /* Removed background shading */
     color: #88cc88 !important;
     color: #f0f0f0 !important;
     text-decoration: none;
     padding: 0.25em 0.5em !important;
    margin: 0 !important;
    font-size: 1.2em !important;
}
}


/* TOC Numbering Color Fix (normal and hover) */
.toctoggle a:hover {
#toc .tocnumber {
    color: #7aa06e !important;
}
#toc li:hover .tocnumber {
     color: #a3be8c !important;
     color: #a3be8c !important;
    text-decoration: underline;
}
}


/* ------------------------------ */
/* ------------------------------ */
/* 10. Changes List & Legends */
/* 10. Changes List */
/* ------------------------------ */
/* ------------------------------ */
.mw-changeslist,
.mw-changeslist,
.mw-changeslist-legend {
.mw-changeslist-legend {
Line 312: Line 358:
/* 11. Editing Interface */
/* 11. Editing Interface */
/* ------------------------------ */
/* ------------------------------ */
#editform,
#editform,
#wpTextbox1 {
#wpTextbox1 {
Line 319: Line 364:
     border: 1px solid #555 !important;
     border: 1px solid #555 !important;
}
}
.divEditOptions,
.divEditOptions,
.editOptions {
.editOptions {
Line 326: Line 370:
     border-color: #444 !important;
     border-color: #444 !important;
}
}
.divEditOptions input,
.divEditOptions input,
.divEditOptions textarea,
.divEditOptions textarea,
Line 336: Line 379:


/* ------------------------------ */
/* ------------------------------ */
/* 12. Custom Blocks (Optional) */
/* 12. Custom Blocks */
/* ------------------------------ */
/* ------------------------------ */
.qme-column {
.qme-column {
     background-color: #2a2a2a !important;
     background-color: #2a2a2a !important;
Line 345: Line 387:
     padding: 1em;
     padding: 1em;
}
}
.qme-heading {
.qme-heading {
     background-color: #3a3a3a !important;
     background-color: #3a3a3a !important;
Line 353: Line 394:


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


/* ------------------------------ */
/* ------------------------------ */
/* 14. Code Blocks (pre, code, .mw-code) */
/* 14. Code Blocks */
/* ------------------------------ */
/* ------------------------------ */
pre,
pre,
code,
code,
Line 377: Line 416:


/* ------------------------------ */
/* ------------------------------ */
/* 15. OOUI Form Field Label Fix */
/* 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 {
.oo-ui-labelElement-label {
     color: #333 !important;
     background-color: transparent !important; /* Remove any background color if applied */
}
}


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


.mw-confirmaccount-type-0::marker {
/* ------------------------------ */
     color: #7aa06e !important;
/* 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 */
}
}


/* ------------------------------ */
/* ------------------------------ */
/* 18. Warning Message Blocks (Admin Edit Warnings) */
/* 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 */
}


.cdx-message--warning.mw-warning-with-logexcerpt {
/* ------------------------------ */
     background-color: #a94442 !important; /* Darker red shade */
/* Adjusting Markers (list bullets) */
    color: #f8f8f8 !important;
.mw-confirmaccount-type-0::marker {
    border: 1px solid #731f1f !important;
     color: #88cc88 !important; /* Matching color for list bullet markers */
    padding: 1em !important;
}
}


.cdx-message--warning.mw-warning-with-logexcerpt .cdx-message__icon {
/* ------------------------------ */
     fill: #f8f8f8 !important;
/* Hover Effect for Confirm Account List */
.mw-confirmaccount-type-0:hover {
     background-color: #3a3a3a !important; /* Darker grey background when hovered */
}
}


/* ------------------------------ */
/* ------------------------------ */
/* 19. Page Heading #firstHeading adjustments */
/* 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 */
}


/* Hide #firstHeading only on Main Page */
.mw-confirmaccount-type-0 .mw-ui-button:hover {
body.page-Main_Page #firstHeading {
    background-color: #555 !important;  /* Lighter grey when button is hovered */
    display: none !important;
    border-color: #666 !important; /* Lighter border on hover */
}
}


/* Show #firstHeading with margin and padding adjustments on all other pages */
 
body:not(.page-Main_Page) #firstHeading {
 
     display: block !important;
 
     margin-top: 1.5em !important;
/* ------------------------------ */
     padding-top: 0 !important;
/* 18. Admin Warning (EditingInterface) */
     position: relative;
/* ------------------------------ */
     z-index: 10;
.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;
}
}


/* Body padding to prevent header overlap */
/* ------------------------------ */
body {
/* 19. Ace Editor Gutter Styling */
     padding-top: 3.5em !important;
/* ------------------------------ */
.ace_gutter {
     background-color: #2a2a2a !important;
    border-right: 1px solid #555 !important;
}
.ace_gutter-cell {
    color: #aaaaaa !important;
    background-color: #2a2a2a !important;
}
}


/* ------------------------------ */
/* ------------------------------ */
/* 20. Misc Adjustments */
/* 20. View Source Mode Fixes for <pre> Blocks */
/* ------------------------------ */
/* ------------------------------ */
 
.mw-code,
/* Additional fixes to #p-cactions carrot */
.mw-code pre,
input.vector-menu-checkbox#p-cactions-checkbox {
pre {
    background-color: #1e1e1e !important;
     color: #e0e0e0 !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;
}
}


/* Remove background shading for TOC title and heading */
/* ------------------------------ */
.toctitle,
/* 21. Protected Page Warning (View Source Mode) - Dark Theme */
#mw-toc-heading {
/* ------------------------------ */
     background: none !important;
.cdx-message--warning.mw-warning-with-logexcerpt {
     color: #f0f0f0 !important;
     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 {
/* Ensure TOC numbers visible on dark background */
     color: #ffaaaa !important;
.tocnumber {
    text-decoration: underline !important;
     color: #7aa06e !important;
}
}
.tocnumber:hover,
.cdx-message--warning.mw-warning-with-logexcerpt a:hover {
li:hover .tocnumber {
     color: #ffcccc !important;
     color: #a3be8c !important;
}
}
 
.cdx-message--warning.mw-warning-with-logexcerpt strong {
/* Remove TOC bullets */
     color: #ff6666 !important;
#toc li::before {
     content: none !important;
    display: none !important;
}
}
 
.mw-logevent-loglines {
/* Remove TOC shading inside content */
     color: #ffeaea !important;
.toctitle {
     background: none !important;
}
}
/* ------------------------------ */
/* ------------------------------ */
/* End of custom vector.css overrides */
/* 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.