Darkvector.css – MediaWiki

From Bohemia Interactive Community
Jump to navigation Jump to search
(Change main messageboxes bright colour to darker ones, Fix logo, Darken floating box border)
(Fix for BI Banner)
Line 91: Line 91:
a.spoilerLink {
a.spoilerLink {
   background-color: rgba(255, 255, 255, 0.1) !important;
   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;;
}
}

Revision as of 15:39, 15 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;
}


#p-logo a {
	filter: invert(1);
}


div.floating-box {
	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: #558;
}

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