Darkvector.css – MediaWiki
Jump to navigation
Jump to search
Lou Montana (talk | contribs) (Fix for BI Banner) |
Lou Montana (talk | contribs) m (Fix .na-cell) |
||
Line 69: | Line 69: | ||
} | } | ||
table tr th.na-cell, | |||
table tr td.na-cell { | |||
background-color: #333; | |||
} | |||
#p-logo a { | #p-logo a { |
Revision as of 16:35, 16 March 2022
/* CSS placed here will affect users of the DarkVector skin */
.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;
}
.messagebox > div:nth-child(2) {
background-color: #333;
color: #C1C1C1;
}
/* ugly detection */
/* informative */ div.messagebox[style="background-color: #00BFFF"] { background-color: #08F !important; }
/* important */ div.messagebox[style="background-color: #EA0"] { background-color: #C90 !important; }
/* warning */ div.messagebox[style="background-color: #F00"] { background-color: #A00 !important; }
/* quote */ div.messagebox[style="background-color: #8C8"] { background-color: #8A8 !important; }
/* TKOH */ div.messagebox[style="background-color: #8CF"] { background-color: #39B !important; }
/* BI */ div.messagebox[style="background-color: #F4E8FF"] { background-color: #CBC !important; }
.messagebox-spoiler {
background-color: #833;
}
.code-comment {
color: #5B5;
}
.sqfhighlighter-block {
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);
}
.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;
}
code,
pre {
background-color: rgba(255, 255, 255, 0.2);
}
.mw-highlight > pre {
background-color: #FFF;
filter: invert(0.95);
}
var, tt {
background-color: rgba(255,255,255,0.05);
}
a.spoilerLink {
background-color: rgba(255, 255, 255, 0.1) !important;
}
/*
Fix theme due to BI Banner
*/
#mw-head {
top: 80px !important;
}
#mw-panel {
top: 220px !important;
}
/*
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;
}