Difference between revisions of "MediaWiki:Vector.css"
Jump to navigation
Jump to search
(try table styling) |
|||
| Line 85: | Line 85: | ||
#preferences { | #preferences { | ||
border-color: #1e274a !important; | border-color: #1e274a !important; | ||
| + | } | ||
| + | |||
| + | table.wikitable { | ||
| + | background: none; | ||
| + | } | ||
| + | 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; | ||
} | } | ||
Revision as of 01:20, 17 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;
}
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;
}