MediaWiki:Vector.css

From BOTF-Wiki
Revision as of 15:11, 1 September 2024 by Flocke (talk | contribs) (more style fixtures)

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

  • Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
  • Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
  • Internet Explorer / Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Press Ctrl-F5.
/* Dark BOTF-Wiki style for the Vector skin. */
/* Globally applied through MediaWiki:Vector.css page. */
/* Editing requires interface administrator permission. */
.skin-vector {
    --background-color-base: #363636;   /* wiki background color */
    background-color: #202020;          /* outer background color */
    color: #f0f0f0;                     /* wiki page font color */

    a, a.external:not(.text), .vector-pinnable-element .mw-list-item a, .vector-toc .vector-toc-link {
        color: #ffe453;                 /* link color */
    }
    a.external.text {
        filter: hue-rotate(190deg) brightness(2.2);
    }
    a.external.text:visited {
        filter: hue-rotate(150deg) brightness(2);
    }
    #pt-userpage-2 a {
        color: #ffe453;                 /* top user page link color */
    }
    a:visited, .vector-pinnable-element .mw-list-item a:visited {
        color: #ffa42e;                 /* visited link color */
    }
    .mw-heading, .vector-menu-heading, h1, h2, h3, h4, h5, h6 {
        color: white;                   /* topic color */
    }
    .vector-toc .vector-toc-list-item-active > .vector-toc-link {
        color: #ffa42e;                 /* active contents link color */
    }
    .mw-content-ltr ul li::marker {
        color: #f0f0f0;                 /* wiki page list marker color */
    }
    .vector-pinned-container {
        background-color: #2d2d2d;      /* left and right tool boxes */
    }
    .vector-toc .vector-pinnable-header {
        margin-left: 0px;               /* fix left contents menu pedding */
    }
    .vector-toc .vector-toc-list-item {
        padding-left: 0px;              /* fix left contents menu pedding */
    }
    .vector-column-start .vector-sticky-pinned-container {
        margin-left: 0px;               /* fix left contents menu alignment */
    }
    .vector-menu-tabs .mw-list-item.selected a, .vector-menu-tabs .mw-list-item.selected a:visited {
        color: white;                   /* menu tabs*/
    }
    .vector-icon {
        filter: invert(100%);           /* invert icon colors */
        -webkit-filter: invert(100%);
    }
    .cdx-button:enabled.cdx-button--weight-quiet:hover, .cdx-button.cdx-button--fake-button--enabled.cdx-button--weight-quiet:hover {
        background-color: #606060;      /* hovered button color */
    }
    .mw-footer li {
        color: #f0f0f0;                 /* footer color */
    }
    code, .mw-code {
        background-color: #2d2d2d;      /* code box color */
        color: #f0f0f0;                 /* code font color */
    }
}