MediaWiki:Vector.css

From Ardent Spacers Wiki

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.
/* All CSS here will be loaded for users of the Vector skin */
/* ===================================
                  <pre>
   =================================== */
:root {

/* ===================================
             THEME VARIABLES
   =================================== */
/* -----------------------------------
                  Lists
   ----------------------------------- */
    --ul-list-style-image: url("data:image/svg+xml,%3C%3Fxml version='1.0' encoding='UTF-8'%3F%3E%3Csvg xmlns='http://www.w3.org/2000/svg' width='5' height='13'%3E%3Ccircle cx='2.5' cy='9' r='2.5'");

/* -----------------------------------
               Vector Menu
   ----------------------------------- */
    --personal-links-bg: var(--body-main);

/* -----------------------------------
              Vector Search
   ----------------------------------- */
    --searchbutton-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 20 20'%3E%3Cpath fill='%23fff' d='M12.2 13.6a7 7 0 1 1 1.4-1.4l5.4 5.4-1.4 1.4zM3 8a5 5 0 1 0 10 0A5 5 0 0 0 3 8z'/%3E%3C/svg%3E");

/* -----------------------------------
               Vector Tabs
   ----------------------------------- */
    --vector-tab-background: var(--lotus-blue-dark);
    --vector-tab-background--hover: var(--lotus-blue);
    --vector-tab-link-color: var(--light-gray);
    --vector-tab-gap: var(--mid-darker-gray);
    --watch-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='transparent' stroke='%235BB7E5' stroke-width='.8' d='m8.1 1.1 2.2 4.5 4.8.7-3.5 3.4.9 4.8L8 12.2l-4.3 2.3.8-4.8L1 6.3l4.8-.7z'/%3E%3C/svg%3E");
    --unwatch-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16'%3E%3Cpath fill='%235BB7E5' stroke='%235BB7E5' stroke-width='.8' d='m8.1 1.1 2.2 4.5 4.8.7-3.5 3.4.9 4.8L8 12.2l-4.3 2.3.8-4.8L1 6.3l4.8-.7z'/%3E%3C/svg%3E");

/* -----------------------------------
            Table of Contents
   ----------------------------------- */
    --toc-bg: var(--body mid);
    --toc-title-bg: var(--body-dark);
    --toc-title-text: var(--text-color);
    --toc-border-color: var(--body-border);
    --toc-list-border-color: var(--body-border);

/* -----------------------------------
             External Links
   ----------------------------------- */
    --external-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%231B4D6D' d='M6 1h5v5L8.86 3.85 4.7 8 4 7.3l4.15-4.16L6 1Z M2 3h2v1H2v6h6V8h1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E");
    --external-icon-darkmode: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%234892B7' d='M6 1h5v5L8.86 3.85 4.7 8 4 7.3l4.15-4.16L6 1Z M2 3h2v1H2v6h6V8h1v2a1 1 0 0 1-1 1H2a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1Z'/%3E%3C/svg%3E");
}

/* ===================================
              Page Elements
   =================================== */
/* -----------------------------------
                  Core
   ----------------------------------- */
html {
    /* Prevent weird font scaling in Safari - is also in minerva */
    /* TODO: Still needed? Move to common.css? */
    -webkit-text-size-adjust: 100%;
}
body {
    background: var(--body-background-image) var(--body-background-color) top left / 105% no-repeat;
    background-attachment: fixed;
}
.page-WARFRAME_Wiki .mw-parser-output {
    max-width: 1800px;
    margin: auto;
}

/* -----------------------------------
               Page Title
   ----------------------------------- */
.firstHeading {
    font-weight: bold;
}

/* -----------------------------------
                  Misc
   ----------------------------------- */
pre,
code,
.mw-code {
    color: inherit;
    background-color: var(--mw-code-background-color);
    overflow-wrap: anywhere;
}
.mw-code {
    border: 1px solid var(--body-border);
}
pre,
code {
    border: 1px solid var(--border-color-code);
}
ul {
    list-style-image: var(--ul-list-style-image);
}
hr {
    background: none;
    border-color: var(--sidebar);
    border-style: solid;
    border-width: 1px 0 0 0;
    height: initial;
}
fieldset {
    border-color: var(--sidebar);
}
.vector-body blockquote {
    border-color: var(--body-light);
}
.nodesktop {
    display: none;
}
.mw-editsection {
    font-family: 'IBM Plex Sans', 'Helvetica Neue', 'Arial', sans-serif;
}
.client-js .mw-content-ltr .mw-editsection-bracket:first-of-type,
.client-js .mw-content-ltr .mw-editsection-bracket:not(:first-of-type),
.mw-editsection-divider {
    color: var(--text-color);
}
#mw-content-subtitle,
#contentSub2 {
    color: var(--byline-color);
    margin: 0;
}
#mw-content-subtitle:not(:empty),
#contentSub2:not(:empty) {
    margin: 0 0 1.4em 0;
}
.mw-content-ltr ol,
.mw-content-rtl .mw-content-ltr ol {
    margin: .3em 0 0 1.6em;
}

/* ===================================
            Table of Contents
   =================================== */
.toc {
    font-size: .9em;
    background: var(--toc-bg);
    margin-top: 1em;
    padding: 0;
    border-color: var(--toc-border-color);
    box-shadow: 0 .25rem .35rem -.25rem var(--transparent-black-more);
    clear: left;
}
.toc .toctitle {
    background: var(--toc-title-bg);
    padding: .25em 1em;
    color: var(--toc-title-text);
}
.toc .toctitle h2 {
    font-family: inherit;
    color: var(--toc-title-text);
}
.toc>ul {
    line-height: 1.8em;
    padding: .75em 1.75em;
    margin: 0;
}
.toc ul ul {
    border-left: 1px dotted var(--toc-list-border-color);
    padding-left: .5em;
}
.tocnumber {
    display: none;
}
.toctogglespan {
    padding-left: .2em;
    font-size: .9em;
}
.toctogglelabel {
    color: var(--byline-color);
}
.toclimit-2 #toc .toclevel-2,
.toclimit-3 #toc .toclevel-3,
.toclimit-4 #toc .toclevel-4,
.toclimit-5 #toc .toclevel-5,
.toclimit-6 #toc .toclevel-6,
.toclimit-7 #toc .toclevel-7 {
    display: none;
}
.toctext span:nth-child(even) {
    display: none;
}

/* ===================================
            Interactive Diffs
   =================================== */
.mw-revslider-pointer-container {
    z-index: 2;
}