Darkvector.css – MediaWiki

From Bohemia Interactive Community
Revision as of 15:37, 16 March 2022 by Lou Montana (talk | contribs) (Fix for BI Banner)
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 */

.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)
}


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