Difference between revisions of "MediaWiki:Vector.css"

From Infinity Library
Jump to navigation Jump to search
m
(try to apply missing-page style to visited pages too)
 
(25 intermediate revisions by the same user not shown)
Line 4: Line 4:
 
.mw-wiki-logo {
 
.mw-wiki-logo {
 
     background-size: contain;
 
     background-size: contain;
}
 
 
/* 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;
 
 
}
 
}
  
Line 68: Line 46:
 
input, textarea, div#simpleSearch input { background-color: #1e274a; color: #fdf6e3; }
 
input, textarea, div#simpleSearch input { background-color: #1e274a; color: #fdf6e3; }
  
div#simpleSearch { border: 0; background: none; }
+
div#simpleSearch { border: 0; background: #1e274a; }
 
div#simpleSearch #searchInput { padding: 0; }
 
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, .thumbinner {
 +
    background-color: #1e274a !important;
 +
    border-color: #1e274a !important;
 +
}
 +
 +
.thumbimage {
 +
    border: none !important;
 +
}
 +
 +
#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;
 +
}
 +
 +
table.wikitable {
 +
    background: none;
 +
    color: inherit;
 +
}
 +
table.wikitable > tr > th, table.wikitable > * > tr > th {
 +
    background-color: #1e274a;
 +
}
 +
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
 +
    border-color: #1e274a;
 +
}
 +
 +
a.new, a.new:visited {
 +
    color: #9685b4;
 +
}
 +
 +
#toc, .toc, .mw-warning, .toccolours {
 +
    border-color: #1e274a;
 +
    background: none;
 +
}
 +
.tocnumber {
 +
    color: #dcdee9;
 +
}
 +
 +
.diffchange {
 +
    color: black;
 +
}

Latest revision as of 15:12, 26 April 2018

/* 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, .thumbinner {
    background-color: #1e274a !important;
    border-color: #1e274a !important;
}

.thumbimage {
    border: none !important;
}

#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;
}

table.wikitable {
    background: none;
    color: inherit;
}
table.wikitable > tr > th, table.wikitable > * > tr > th {
    background-color: #1e274a;
}
table.wikitable > tr > th, table.wikitable > tr > td, table.wikitable > * > tr > th, table.wikitable > * > tr > td {
    border-color: #1e274a;
}

a.new, a.new:visited {
    color: #9685b4;
}

#toc, .toc, .mw-warning, .toccolours {
    border-color: #1e274a;
    background: none;
}
.tocnumber {
    color: #dcdee9;
}

.diffchange {
    color: black;
}