MediaWiki:Timeless.css

From Tarazedi
Revision as of 18:50, 1 December 2026 by Tarazedi (talk | contribs)

Note: After publishing, you may have to bypass your browser's cache to see the changes.

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* ==========================================================
   TARAZEDI — TIMELESS SKIN
   ========================================================== */

/* GLOBAL INTERFACE */

body.skin-timeless {
    background: var(--background);
    color: var(--primary);
    font-family: var(--font-body);
}

/* REMOVE DEFAULT BACKGROUNDS AND DECORATION */

#mw-header-container,
#mw-header,
#mw-content-container,
#mw-content-block,
#mw-content,
#mw-site-navigation,
#mw-related-navigation,
#mw-footer-container,
#mw-footer,
#mw-page-header-links,
#mw-page-header-links-bottom,
.sidebar-inner,
.mw-body,
.mw-portlet,
.ts-container {
    background: var(--background);
    color: var(--primary);
    border-color: transparent;
    box-shadow: none;
}

/* REMOVE TIMELESS COLOURED STRIPE */

.color-bar,
.color-left,
.color-middle,
.color-right,
.color-middle-container {
    display: none;
}

/* SITE WORDMARK */

#p-logo-text,
#p-logo-text a,
#p-logo-text a:visited {
    font-family: var(--font-heading);
    font-size: 1.5em;
    font-weight: 400;

    background-image: var(--heading-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    border: none;
    text-decoration: none;
}

/* SITE LOGO */

#p-logo {
    text-align: center;
}

.mw-wiki-logo {
    display: block;
    width: 135px;
    height: 135px;
    margin: 0 auto;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

/* ARTICLE CONTAINER */

#mw-content {
    border: none;
    box-shadow: none;
}

/* ARTICLE TITLE */

#firstHeading {
    font-family: var(--font-heading);
    font-size: 3.5em;
    font-weight: 400;
    text-align: center;
    border: none;
    margin-bottom: 0.3em;
}

/* SECTION HEADINGS */

.mw-body h2,
.mw-body h3,
.mw-body h4,
.mw-body h5,
.mw-body h6 {
    font-family: var(--font-heading);
    font-weight: 400;
    text-align: center;
    border: none;
}

/* SIDEBAR */

.sidebar-chunk {
    background: var(--background);
    border: none;
    box-shadow: none;
}

.sidebar-chunk h2,
.sidebar-chunk h3,
.mw-portlet h3 {
    font-family: var(--font-heading);
    font-size: 1.8em;
    font-weight: 400;
    text-align: center;
    border: none;
}

.sidebar-chunk ul {
    list-style: none;
    padding-left: 0;
}

.sidebar-chunk li {
    margin: 0.4em 0;
}

/* NAVIGATION LINKS */

.mw-portlet a,
.sidebar-chunk a,
#mw-page-header-links a,
#mw-page-header-links-bottom a {
    color: var(--secondary);
    font-family: var(--font-body);
    text-decoration: none;
}

.sidebar-chunk a {
    border-bottom: 1px dotted var(--accent);
}

.mw-portlet a:hover,
.sidebar-chunk a:hover {
    color: var(--primary);
}

/* SELECTED NAVIGATION TAB */

.mw-portlet .selected a {
    color: var(--primary);
    border-bottom: 1px dotted var(--accent);
}

/* SEARCH AND FORM CONTROLS */

input,
textarea,
select,
button {
    background-color: var(--background);
    color: var(--primary);
    border: 1px solid var(--secondary);
    border-radius: 3px;
    font-family: var(--font-body);
}

input::placeholder,
textarea::placeholder {
    color: var(--secondary);
    opacity: 1;
}

input:focus,
textarea:focus,
select:focus,
button:focus-visible {
    outline: 1px solid var(--primary);
    outline-offset: 2px;
}

#searchInput {
    background-color: var(--background);
    color: var(--primary);
    border-color: var(--secondary);
}

/* DROPDOWN MENUS */

.mw-portlet-body,
.dropdown,
.suggestions,
.suggestions-results,
.suggestions-special {
    background-color: var(--background);
    color: var(--primary);
}

.suggestions-result {
    color: var(--primary);
}

.suggestions-result-current {
    background-color: var(--surface);
    color: var(--accent);
}

/* TABLE OF CONTENTS */

#toc,
.toc {
    background: var(--surface);
    color: var(--primary);
    border: none;
    padding: 1em;
}

.tocnumber {
    color: var(--primary);
}

.toctext {
    color: var(--secondary);
}

/* INFOBOXES */

.infobox {
    background: var(--background);
    color: var(--primary);
    border: 1px solid var(--border);
    padding: 0.5em;
    margin: 0 0 1em 1em;
    max-width: 100%;
}

.infobox th {
    background: var(--surface);
    color: var(--secondary);
}

.infobox td {
    color: var(--primary);
}

/* CATEGORY LIST */

#catlinks {
    background: var(--background);
    color: var(--primary);
    border: none;
    border-top: 1px solid var(--border);
    padding: 0.75em 0;
}

/* FOOTER */

#mw-footer {
    color: var(--secondary);
    font-size: 0.8em;
    text-align: center;
}

/* EDITING INTERFACE */

#wpTextbox1 {
    background: var(--background);
    color: var(--primary);
    border: 1px solid var(--secondary);
    font-family: var(--font-body);
}

/* ==========================================================
   RESPONSIVE — MOBILE
   ========================================================== */

@media screen and (max-width: 850px) {

    #mw-header-container,
    #mw-content-container,
    #mw-content {
        background: var(--background);
        border: none;
        box-shadow: none;
    }

    #firstHeading {
        font-size: 2.7em;
    }

    #p-logo-text {
        font-size: 1.2em;
    }

    .mw-body h2 {
        font-size: 2em;
    }

    .mw-body h3 {
        font-size: 1.7em;
    }

    .mw-parser-output {
        font-size: 1em;
        line-height: 1.5;
    }

    .infobox {
        float: none !important;
        width: 100% !important;
        max-width: 100%;
        box-sizing: border-box;
        margin: 1em auto;
    }

    .thumb,
    .thumbinner,
    figure {
        max-width: 100%;
        box-sizing: border-box;
    }

    .mw-parser-output img {
        max-width: 100%;
        height: auto;
    }
}

/* ==========================================================
   TARAZEDI — TIMELESS CORRECTIONS
   ========================================================== */

/* REMOVE RESIDUAL WHITE PANELS */

.skin-timeless .sidebar-chunk,
.skin-timeless .sidebar-chunk .mw-portlet,
.skin-timeless #mw-site-navigation,
.skin-timeless #mw-related-navigation,
.skin-timeless #mw-site-navigation .sidebar-chunk,
.skin-timeless #mw-related-navigation .sidebar-chunk {
    background: #000000 !important;
    border: none !important;
    box-shadow: none !important;
}

/* REMOVE RESIDUAL BACKGROUND IMAGES */

body.skin-timeless,
#mw-content-container,
#mw-header-container,
#mw-footer-container {
    background-color: #000000 !important;
    background-image: none !important;
}

/* BASE TYPOGRAPHY */

body.skin-timeless {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 16px;
}

#mw-content-text {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.5;
}

/* SITE WORDMARK */

#p-logo-text a,
#p-logo-text a.long {
    font-family: var(--font-heading) !important;
    font-variant: normal !important;
    text-transform: none !important;
    letter-spacing: normal !important;
    font-weight: 400 !important;
    font-size: 2.2rem;
}

/* ALL HEADINGS */

.skin-timeless h1,
.skin-timeless h2,
.skin-timeless h3,
.skin-timeless h4,
.skin-timeless h5,
.skin-timeless h6 {
    font-family: var(--font-heading) !important;
    font-weight: 400 !important;
    font-variant: normal !important;
    text-transform: none !important;
    text-align: center !important;

    background: var(--heading-gradient);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    border: none !important;
    box-shadow: none !important;
}

/* ARTICLE HEADINGS */

#firstHeading {
    font-size: 3.5rem !important;
}

#mw-content-text h2 {
    font-size: 2.4rem !important;
}

#mw-content-text h3 {
    font-size: 2rem !important;
}

#mw-content-text h4 {
    font-size: 1.7rem !important;
}

/* MODERN MEDIAWIKI SECTION WRAPPERS */

.mw-heading {
    text-align: center !important;
    justify-content: center !important;
    border: none !important;
    box-shadow: none !important;
}

.mw-heading h2,
.mw-heading h3,
.mw-heading h4 {
    border: none !important;
}

.mw-editsection {
    font-family: var(--font-body) !important;
    font-size: 0.75rem !important;
    -webkit-text-fill-color: initial;
}

/* SIDEBAR HEADINGS */

.skin-timeless .sidebar-chunk h2,
.skin-timeless .sidebar-chunk h3,
.skin-timeless .mw-portlet h2,
.skin-timeless .mw-portlet h3 {
    font-size: 1.8rem !important;
    text-align: center !important;
    padding: 0.25em 0;
    margin: 0.5em 0 0.2em;
    border: none !important;
}

/* SIDEBAR LINKS */

.sidebar-chunk li {
    font-size: 0.9rem;
    line-height: 1.5;
}

/* OVERRIDE DEFAULT LINK COLOURS */

.skin-timeless a,
.skin-timeless a:visited,
.skin-timeless a.external,
.skin-timeless a.external:visited,
.skin-timeless a.extiw,
.skin-timeless a.new,
.skin-timeless .mw-parser-output a.external {
    color: var(--secondary) !important;
    text-decoration: none !important;
}

.skin-timeless a:hover,
.skin-timeless a:focus-visible {
    color: var(--primary) !important;
}

/* DOTTED WHITE LINK BORDERS */

#mw-content-text a:not(.image):not(.mw-file-description),
.sidebar-chunk li a,
#mw-footer a {
    border-bottom: 1px dotted #FFFFFF;
}

/* REMOVE EXTERNAL LINK ICONS */

.mw-parser-output a.external {
    background-image: none !important;
    padding-right: 0 !important;
}

/* REMOVE DEFAULT BLUE TAB ACCENTS */

#mw-page-header-links li,
#mw-page-header-links-bottom li,
#mw-page-header-links .selected,
#mw-page-header-links-bottom .selected {
    border-color: var(--secondary) !important;
    box-shadow: none !important;
}

#mw-page-header-links .selected a,
#mw-page-header-links-bottom .selected a {
    color: var(--primary) !important;
    border-bottom: 1px dotted #FFFFFF !important;
}

/* SEARCH */

#searchInput,
#simpleSearch,
#searchform {
    background-color: #000000 !important;
    border-color: var(--secondary) !important;
    color: var(--primary) !important;
    box-shadow: none !important;
}

/* FOOTER */

#mw-footer-container,
#mw-footer {
    background: #000000 !important;
    color: var(--secondary) !important;
    border: none !important;
    box-shadow: none !important;
}

#mw-footer {
    font-size: 0.75rem;
}

/* MOBILE ADJUSTMENTS */

@media screen and (max-width: 850px) {

    #firstHeading {
        font-size: 2.7rem !important;
    }

    #mw-content-text h2 {
        font-size: 2rem !important;
    }

    #mw-content-text h3 {
        font-size: 1.7rem !important;
    }

    #p-logo-text a,
    #p-logo-text a.long {
        font-size: 1.8rem;
    }

    #mw-content-text {
        font-size: 1rem;
    }
}