MediaWiki:Vector.css

From Halopedia, the Halo wiki

Revision as of 11:09, May 25, 2023 by Porplemontage (talk | contribs)

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 Vector skin */

/* External self-links */
.mw-body a.external[href^="https://www.halopedia.org"] {
	color: #009CFF !important;
	background: none;
	padding: 0;
}
/* Main background */
body { background: #222 url(https://halo.wiki.gallery/images/0/01/HP_Dark-bg.jpg) no-repeat fixed top / cover; }
#mw-page-base { background: transparent; }
/* Halo fixes */
.action-view .bodySearchWrap .mw-ui-button {
	padding-bottom: 6.5px !important;
}
@-moz-document url-prefix() { 
	.action-view .bodySearchWrap .mw-ui-button {
		padding-top: 7px !important;
		padding-bottom: 6px !important;
	}
}

/* Larger headings */
.mw-body h1, .mw-body-content h1 { font-size: 2.00em; }
.mw-body h2, .mw-body-content h2 { font-size: 1.75em; }
.mw-body h3, .mw-body-content h3 { font-size: 1.45em; }
.mw-body h4, .mw-body-content h4 { font-size: 1.32em; }
.mw-body h5, .mw-body-content h5 { font-size: 1.15em; }
.mw-body h6, .mw-body-content h6 { font-size: 1.00em; }
.fakeh2 {
	font-family: 'Linux Libertine','Georgia','Times',serif;
	line-height: 1.3;
	padding: 0;
	margin: 1em 0 0.25em;
}
.tabcontainer .fakeh2:nth-of-type(2) {
	margin-top: 0.25em;
}
/* Link overrides */
a:not(.oo-ui-buttonElement-button), div#mw-panel nav.portal div.body ul li a {
	color: #009CFF !important;
}
a.new {
	color: #FF1A1A !important;
}
/* Button overrides */
input[type="submit"]:not(.searchButton), input[type="button"], button[type="submit"]:not(.mw-ui-button) {
	border: 1px solid #c8ccd1;
	padding: 2px 10px;
	background: #333 !important;
	color: #fff !important;
}
input[type="submit"]:not(.searchButton):hover, input[type="button"]:hover, button[type="submit"]:not(.mw-ui-button):hover {
	background: #444 !important;
}
.mw-body-content .mw-ui-input,
.mw-body-content .mw-ui-button {
	background: #555 !important;
	color: #fff !important;
	border-color: #666 !important;
	box-shadow: inset 0 0 0 0.1em #333 !important;
}

/* Main page */
body.page-Main_Page.action-view #footer-info-lastmod {
	display: none !important;
}
body .containerTem, body .containerContent, .containerTem div,
table.affiliates.plainlinks, table.affiliates.plainlinks th {
	background: #444 !important;
	color: #fff !important;
}

/* Widget popups */
.oo-ui-popupWidget-body-padded {
	margin-top: 6px;
}

/* Vector elements */
ul { list-style-image: none; }
h1, h2 { border-color: #515860 !important; }
h1, h2, h3, h4, h5, h6, .vector-menu-portal .vector-menu-heading {
	color: #fff;
}
#p-logo a, #p-logo a:hover {
	height: 175px;
}
#searchInput {
	background: #333;
	color: #fff
}
#searchButton {
	filter: invert(1);
}
/* Indicator icons */
.mw-indicators {
	top: 8px;
}
#mw-indicator-rc {
	top: 16px;
	font-size: 85%;
}
.mw-indicators img {
	max-height: 32px !important;
	width: auto !important;
}
/* Site notice */
.mw-dismissable-notice {
	border: 2px solid #808080;
	border-radius: 1em;
	margin-bottom: 8px;
}
/* Sidebar */
#p-logo + .mw-portlet .vector-menu-heading {
	display: block;
}
div#mw-panel nav.portal {
	border-radius: 0.5em;
	border: 1px solid #DCDCDC;
	background: #222;
	margin-bottom: 10px;
}
/* Article background */
.mw-body {
	border: 1px solid #777;
	background-color: #2a2a2a;
	color: #fff;
}
footer#footer {
	border: 1px solid #666;
	background: linear-gradient(rgba(34,34,34,.2), #262626);
}
#footer::after {
	content: '';
	display: block;
	clear: both;
}
.mw-footer li {
	color: #fff;
}
#bodyContent {
	background: none !important;
}
/* Tabs */
nav.vector-menu li a, #p-cactions-label span,
nav.vector-menu-tabs li.selected a, nav.vector-menu-tabs li a {
	color: #009CFF !important;
}
nav.vector-menu-tabs li.new a, nav.vector-menu-tabs li.new a:visited {
	color: #FF1A1A !important;
}
nav.vector-menu-tabs ul > li {
	background: linear-gradient(rgba(34,34,34,.2), #444);
}
nav.vector-menu-tabs li.selected {
	background: linear-gradient(rgba(34,34,34,.2), #2a2a2a);
}
.vector-menu-tabs, .vector-menu-tabs a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
	background-image: linear-gradient(to bottom,#222 0,#ccc 100%);
}
.vector-menu-dropdown .vector-menu-content-list {
	background: #444;
}
/* Misc */
.client-js #preftoc li {
	background: #333 !important;
}
#preferences, .client-js #preftoc li.selected a {
	background: #444 !important;
}
@-moz-document url-prefix() { 
	.bodySearchWrap .mw-ui-button, .createboxButton {
		padding-bottom: 6px !important;
	}
}
.mw-content-ltr .redirectText li:first-child {
	background-image: linear-gradient(transparent,transparent),url("data:image/svg+xml,%3Csvg xmlns=%22http://www.w3.org/2000/svg%22 width=%2247%22 height=%2220%22 viewBox=%220 0 47 20%22%3E %3Cpath fill=%22none%22 stroke=%22%23fff%22 stroke-width=%222%22 stroke-miterlimit=%2210%22 d=%22M14.98 2.5V11c0 1.04 1.02 1.98 2.02 1.98h6l3 .02%22/%3E %3Cpath fill=%22%23fff%22 d=%22M23.48 9.5l.02 7L30 13z%22/%3E %3C/svg%3E") !important;
}
.noticebox, .noticebox td, .noticebox td font, .noticebox div,
.darker, .darker tr, .darker td, .darker div,
.history-size, #pagehistory li.selected,
table.wikitable,
table.plainlinks,
.scrollbox {
	color: #fff !important;
}