Darkvector.css – MediaWiki
Jump to navigation
Jump to search
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.
/* CSS placed here will affect users of the DarkVector skin */
/* Fix 1.39 fontsize */
#mw-content-text {
font-size: inherit;
}
/* Fix 1.39 category list */
#mw-normal-catlinks ul,
#mw-hidden-catlinks.mw-hidden-cats-user-shown ul {
display: inline;
margin-left: 0.5em;
}
#mw-normal-catlinks li,
#mw-hidden-catlinks.mw-hidden-cats-user-shown li {
display: inline;
}
#mw-normal-catlinks li:not(:last-child):after,
#mw-hidden-catlinks.mw-hidden-cats-user-shown li:not(:last-child):after {
content: ' / ';
}
#mw-hidden-catlinks.mw-hidden-cats-hidden {
display: none;
}
/* Fix 1.39 diff */
table.diff {
color: inherit;
}
/* Fix 1.39 changelist */
.mw-changeslist-line {
color: #C1C1C1;
}
.mw-plusminus-pos.mw-diff-bytes { color: #0B0; }
.mw-plusminus-neg.mw-diff-bytes { color: #F00; }
a.external {
background-repeat: no-repeat;
}
/* table header style fix */
table.wikitable > thead > tr > th,
table.wikitable > tbody > tr > th {
background-color: #595959;
}
.gvi2 .icon img {
max-width: 100%;
height: auto;
}
.gvi2 .version {
color: #000;
}
._description h3 {
background-color: transparent !important;
border-left-width: 0.5em;
border-left-style: solid;
padding-left: 1em;
}
dl.command_description dd.note {
background-color: #333;
}
._description dl.syntax dd:nth-child(4n+6) {
background-color: rgba(0, 0, 0, 0.2);
}
._description dl.syntax dd:last-child {
background-color: inherit;
}
.biki-messagebox > div:nth-child(2) {
background-color: #333;
color: #C1C1C1;
}
/* ugly detection */
/* informative */ div.biki-messagebox[style="background-color: #00BFFF"] { background-color: #08F !important; }
/* important */ div.biki-messagebox[style="background-color: #EA0"] { background-color: #C90 !important; }
/* warning */ div.biki-messagebox[style="background-color: #F00"] { background-color: #A00 !important; }
/* quote */ div.biki-messagebox[style="background-color: #8C8"] { background-color: #8A8 !important; }
/* TKOH */ div.biki-messagebox[style="background-color: #8CF"] { background-color: #39B !important; }
/* BI */ div.biki-messagebox[style="background-color: #F4E8FF"] { background-color: #CBC !important; }
.biki-messagebox-spoiler {
background-color: #833;
}
.code-comment {
color: #5B5;
}
.cfg_reference div.abc {
border-left-color: #222;
}
.cfg_reference h2,
.cfg_reference h3,
.cfg_reference h4,
.cfg_reference h5 {
color: inherit;
}
.cfg_reference div.abc h2,
.cfg_reference div.abc h3,
.cfg_reference div.abc h4,
.cfg_reference div.abc h5 {
background: linear-gradient(90deg,#222,rgba(34,34,34,0));
border-top-color: #000;
color: inherit;
}
.sqfhighlighter-block {
color: #555;
filter: invert(0.95);
}
.sqfhighlighter-block .sqfhighlighter-arraystart,
.sqfhighlighter-block .sqfhighlighter-arrayend,
.sqfhighlighter-block .sqfhighlighter-codestart,
.sqfhighlighter-block .sqfhighlighter-codeend,
.sqfhighlighter-block .sqfhighlighter-parenthesestart,
.sqfhighlighter-block .sqfhighlighter-parentheseend {
color: #333;
}
code:not(.mw-highlight),
pre:not(.mw-highlight) {
background-color: inherit !important;
}
code.mw-highlight,
.mw-highlight > pre {
background-color: #FFF;
filter: invert(0.95);
}
.mw-highlight .n,
.mw-highlight .p {
filter: invert(0.95);
}
.navboxWiki > tbody > tr:first-of-type {
background-color: rgba(255, 255, 255, 0.1);
}
.navboxWiki th {
background-color: rgba(255, 255, 255, 0.1);
}
/*
Fix [[Template:Table/RVScriptingCommands]] / [[Template:Table/RVScriptingFunctions]]
*/
table.wikitable.rv-commands th,
table.wikitable.rv-functions th {
background-color: #282828;
}
.gallerytext p {
color: inherit;
}
.template-colour[style] {
filter: invert(1)
}
table tr th.na-cell,
table tr td.na-cell {
background-color: #333;
}
#p-logo a {
filter: invert(1);
}
div.floating-box {
background-color: rgba(255, 255, 255, 0.05);
border-color: #666;
color: inherit;
}
table.wikitable {
background-color: #4C4C4C;
border-color: #666;
}
var, tt {
background-color: rgba(255,255,255,0.05);
}
span.wikipedia a.external {
background-position: 100%;
padding-right: 15px;
}
/*
Fix theme due to BI Banner
*/
#mw-head {
top: 80px !important;
}
#mw-panel {
top: 220px !important;
}
/*
Fix editor buttons (e.g SQF, Enfusion)
*/
.tool-button {
filter: invert(0.95);
}
/*
Fix BI Banner
*/
#bohemia-header .bohemia-header-nav .bohemia-header-nav-items .bohemia-header-nav-item .bohemia-header-nav-item-button {
color: #FFF !important;
}
#bohemia-header #bohemia-header-button-login-text {
color: #6BA539 !important;
}
/*
Fix controller buttons
*/
span.xbox-blue { color: #40CCD0; text-shadow: none; }
span.xbox-green { color: #3CDB4E; text-shadow: none; }
span.xbox-red { color: #D04242; text-shadow: none; }
span.xbox-yellow { color: #ECDB33; text-shadow: none; }
span.dualshock-blue { color: #6B8AC8; text-shadow: none; }
span.dualshock-green { color: #30DE98; text-shadow: none; }
span.dualshock-pink { color: #DC8FC4; text-shadow: none; }
span.dualshock-red { color: #F6363A; text-shadow: none; }
/*
TKOM patches - [[Take On Mars: Beta Patches]]
*/
table.tkom-patch > tbody > tr > th {
background-color: #C90;
}
table.tkom-patch tr.added,
table.tkom-patch tr.changed,
table.tkom-patch tr.fixed,
table.tkom-patch tr.removed,
table.tkom-patch tr td:nth-child(2) { background-color: inherit; }
table.tkom-patch tr.added td:first-child { border-left: solid #AAA 2em; }
table.tkom-patch tr.changed td:first-child { border-left: solid #7CF 2em; }
table.tkom-patch tr.fixed td:first-child { border-left: solid #DD5 2em; }
table.tkom-patch tr.removed td:first-child { border-left: solid #F99 2em; }
table.tkom-patch tr td:nth-child(2) { background-color: inherit; }
/*
[[Template:Navbox]]
*/
.navboxWiki th {
color: #FFF;
}
/*
[[Template:TabView]]
*/
.biki-tab-title {
border: 0.0625em solid transparent;
cursor: pointer;
display: inline-block;
padding: 1em;
}
.biki-tab-title.selected {
border-top-color: #DDD;
border-left-color: #DDD;
border-right-color: #DDD;
border-bottom-color: #333;
}
.biki-tab-title:hover:not(.selected) {
background-color: #EEE;
color: #333;
}
.biki-tab-content {
border: 0.0625em solid #DDD;
margin-top: -0.0625em;
padding: 1em;
}
/*
[[Template:Sticky]]
*/
.sticky-top,
.sticky-bottom {
filter: invert(0.9);
}
/*
[[Template:Link/External]]
*/
span.ofp-faguss-info,
span.ofp-faguss-info a {
filter: invert(0.95);
}