MediaWiki:Vector.css

From Infinity Library
Revision as of 04:23, 1 April 2018 by Hikari (talk | contribs) (drop the problematic overrides)
Jump to navigation Jump to search

Note: After saving, 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: Hold Ctrl while clicking Refresh, or press Ctrl-F5
  • Opera: Go to Menu → Settings (Opera → Preferences on a Mac) and then to Privacy & security → Clear browsing data → Cached images and files.
/* CSS placed here will affect users of the Vector skin (default on infinity library!) */

/* resize logo to fit */
.mw-wiki-logo {
    background-size: contain;
}

/* dark styles initially taken from https://github.com/soleverlee/solarized_vector/releases/tag/v0.1-alpha
 * (since modified by hikari & andrearitsu ofc)
 */

html * { color-profile: sRGB; rendering-intent: auto; }

body { background: #111629; }

h1, h2, h3, h4, h5, h6 { color: #edeff6; }

a, .mw-body a.external, .mw-body a.extiw, div#mw-panel div.portal div.body ul li a, div.vectorTabs ul li a, div.vectorTabs li.new a { color: rgb(255, 180, 209); }
a:visited, .mw-body a.external:visited, .mw-body a.extiw:visited, div#mw-panel div.portal div.body ul li a:visited, div.vectorTabs ul li a:visited, div.vectorTabs li.new a:visited { color: rgb(255, 180, 209); }

#p-personal a.new { color: #d33682; }

div#mw-panel div.portal { background: none; }
div#mw-panel div.portal h3 { color: #93a1a1; }

.mw-body { color: #dcdee9; background: none; border: 1px solid #1e274a; }

.mw-highlight { background: none; }

pre, .mw-code { background: #1e274a; color: #eee8d5; border: 0; }

.catlinks { background: #1e274a; border: 0; }

div#footer ul li { color: #93a1a1; }

#mw-page-base { background: none; }

div.vectorTabs { background: none; }
div.vectorTabs ul li, div.vectorTabs ul, div.vectorTabs li, div.vectorTabs span { background: none; }
div.vectorTabs li.selected { background: #1e274a; }
div.vectorTabs li.selected a, div.vectorTabs li.selected a:visited { color: white; }

div#mw-head div.vectorMenu h3 { background: none; }
div#mw-head div.vectorMenu h3 span { color: #eee8d5; }

input, textarea, div#simpleSearch input { background-color: #1e274a; color: #fdf6e3; }

div#simpleSearch { border: 0; background: #1e274a; }
div#simpleSearch #searchInput { padding: 0; }

/* some tweaks to stuff solarized_vector doesn't handle */

#pagehistory li {
    border: 0;
}
#pagehistory li.selected {
    background-color: #1e274a;
}

.diff-context {
    background: #111629;
    color: #dcdee9;
}
.diffchange-inline {
    color: #111629;
}

.editOptions, #filetoc {
    background-color: #1e274a;
    border-color: #1e274a;
}

#preferences, .client-js #preftoc li, .client-js #preftoc li.selected a, .client-js #preftoc {
    background: none !important;
}

.client-js #preftoc li.selected, div.vectorMenu div.menu {
    background: #1e274a !important;
}

#preferences {
    border-color: #1e274a !important;
}