MediaWiki:Vector.css

From Forklift Certified Video Games
Revision as of 13:46, 11 January 2026 by Admin (talk | contribs)
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)
  • Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* All CSS here will be loaded for users of the Vector skin */

@import url('https://fonts.googleapis.com/css2?family=Geologica:[email protected]&display=swap');

/*  visualClear CSS class definition for SocialProfile extension
    because Vector does not include the definition anymore; see
    https://phabricator.wikimedia.org/T328235 and 
    https://phabricator.wikimedia.org/T287962 */
.visualClear {
	clear: both;
}

/* Make clickable text on social links invisible. */
li#n-discord {
visibility: visible;
font-size:0em;
position: relative;
margin-right: 5px;
}

#n-discord:hover ::after, #n-discord {
content: '';
display: inline-block;
width: 35px;
height: 35px;
float: left;
background: url('https://certified.wiki/images/icons/discord_logo_icon.png');
background-repeat: no-repeat;
background-size: contain;
position: absolute;
}

#mw-panel .portal .body li#n-discord {
font-size:0em;
padding:5px;
}

/* Make clickable text on social links invisible. */
li#n-facebook {
visibility: visible;
font-size:0em;
position: relative;
margin-right: 5px;
}

#n-facebook:hover ::after, #n-facebook {
content: '';
display: inline-block;
width: 35px;
height: 35px;
float: left;
background: url('https://certified.wiki/images/icons/facebook_logo_icon.png');
background-repeat: no-repeat;
background-size: contain;
position: absolute;
}

#mw-panel .portal .body li#n-facebook {
font-size:0em;
padding:5px;
}

/* Set background and text color */

body,
#p-navigation,
#content,
#mw-head,
#mw-page-base,
#p-logo,
#p-tb,
#p-tb .body,
#p-tb-label,
#bodyContent,
#mw-panel { 
  background-color: #1e1e1e;
  background-image: none;
  color: #e0e0e0 !important;
  font-family: 'Geologica'; 
}
.mw-body { 
  background-color: #1e1e1e; 
  margin-right: 20px; 
  border: none;
  padding: 5px 10px 0px 15px;
}
#catlinks { 
  background-color: #1e1e1e; 
  border: 1px solid #ffffff;
}

#mw-editing-your-version {
  background-color: #333;
}

/* Links */
a {
    color: #80b3ff;
}
a:visited {
    color: #80b3ff;
}
a:hover {
    color: #a3c8ff;
}
.mw-parser-output a.extiw, .mw-parser-output a.external {
    color: #80b3ff;
}
.mw-parser-output a.extiw:visited, .mw-parser-output a.external:visited {
  color: #80b3ff;
}
.mw-parser-output a.extiw:visited, .mw-parser-output a.external:hover {
  color: #80b3ff;
}


/* Headings */
#mw-head-base {
  border-top: 1px solid #000000;
  background-image: none;
}
.mw-heading1,
h1,
.mw-heading2,
h2,
.mw-heading3,
h3,
.mw-heading4,
h4,
.mw-heading5,
h5 {
  border-bottom: 1px solid #ffffff;
  color: #ffffff;
}
body.page-Main_Page h1 {
  border: 0;
}

.mw-body h1, .mw-body .mw-heading1, .mw-body-content h1, .mw-body-content .mw-heading1, .mw-body-content h2, .mw-body-content .mw-heading2 { font-family: 'Geologica'; }

/* Hovering effect and margins for icons on main page */

.main-page-icons { 
  margin-right: 10px;
} 

.main-page-icons:hover { 
  width: 100%;
  height: auto;
  max-width: 100%;
  background-color: #3d3d3d;
  opacity: 0.7;
  transition: .5s ease;
  cursor: pointer;
  margin-right: 10px;
}


/* #content { background-color: #ded5ba; } */

#firstHeading { background-color: rgba(255, 132, 32, 0); }
.oo-ui-panelLayout-framed { border: 1px solid #000000; }


/* Footer */
#footer { background: none; }
#footer-icons a { background: none; }
.mw-footer { min-height: 100px; margin-top: 20px; padding-left: 10px; }
.cdx-button { border: none; }
#footer-info li {
    color: #cccccc;
}

/* Menu tabs */

.vector-menu-tabs-legacy li a { color: #80b3ff; }
.vector-menu-tabs, .vector-menu-tabs a, .vector-menu-dropdown h3 { background-image: none; }
.vector-menu-tabs li { background-image: none; }
.vector-menu-tabs .selected { background: none; background-color: #1e1e1e; }
.vector-menu-tabs .selected a, .vector-menu-tabs .selected a:visited { color: #e0e0e0; }

.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading { background-image: none; }
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a { color: #80b3ff; }
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:visited { color: #80b3ff; }
.vector-legacy-sidebar .vector-menu-portal .vector-menu-content li a:hover { color: #ffffff; }
.vector-legacy-sidebar .vector-menu-portal .vector-menu-heading { color: #e0e0e0; }

/* Dropdown menu */

.vector-menu-dropdown .vector-menu-content {
 background-image: none;
 background-color: #2a2a2a;
 border: 1px solid #000000; }

.vector-menu-dropdown .mw-list-item a {
  color: #80b3ff;
}
.vector-menu-dropdown .mw-list-item a:hover {
  color: #ffffff;
}

.vector-menu-dropdown .mw-list-item.selected a, .vector-menu-dropdown .mw-list-item.selected a:visited { color: #ffffff; }

.vector-menu-tabs, .vector-menu-tabs a, #mw-head, .vector-menu-dropdown, .vector-menu-heading { background-image: none; margin-left: 10px; margin-right: 15px; }

.vector-menu-tabs, .vector-menu-tabs a, #mw-head .vector-menu-dropdown .vector-menu-heading { background-image: none; }

.vector-menu-tabs .mw-watchlink.icon a { margin-top: 3px; }

#mw-head .vector-menu-dropdown .vector-menu-heading {
    padding-top: 10px;
    margin-top: 10px;
    font-size: 1em;
    color: #e0e0e0;
}

/* Table customization */
/* Tables and infoboxes */
table,
.infobox {
    background-color: #2a2a2a !important;
    color: #ddd !important;
    border-color: #444 !important;
}

}
table.infotable {border: 1px solid #000000;}
.infotable tr th,
.infotable tr td {
  border: none;
  vertical-align: top;
}

table.main-page-content-bg {
  background-image: url('https://certified.wiki/images/a/a3/Main_page_content_bg.jpg');
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  min-width: 550px;
  border: 1px;
}

/* Search box and input fields */
input,
textarea,
select {
  background-color: #333 !important;
  color: #eee !important;
  border: 1px solid #555 !important;
  font-size: 1em;
}
/* Highlighted text (e.g., search results) */
.searchmatch {
    background-color: #444;
    color: #fff;
}




/* Dark background for gallery container */
.gallery {
    background-color: #1e1e1e !important;
    color: #e0e0e0 !important;
    border-color: #444 !important;
}

/* Dark background for each gallery box */
.gallerybox {
    background-color: #2a2a2a !important;
    border: 1px solid #444 !important;
}
/* Thumbnail area inside each gallery box */
.gallerybox .thumb {
    background-color: #2a2a2a !important;
}

/* Captions under gallery images */
.gallerytext {
    color: #cccccc !important;
}


.mw-changeslist-legend {
  background-color: #2a2a2a;
}

ul {
  color: #cccccc;
}

.toc, .toccolours {
  background-color: #2a2a2a;
}

.tocnumber {
  color: #cccccc;
}

ul {
    list-style-image: url(https://certified.wiki/images/icons/bullet-icon.svg);
}

figure[typeof~='mw:File/Thumb'] > figcaption, figure[typeof~='mw:File/Frame'] > figcaption {
    border: 1px solid var(--border-color-subtle, #c8ccd1);
    background-color: var(--background-color-interactive-subtle, #2a2a2a);
}
.mw-body-content figure[typeof~='mw:File/Thumb'] > a, .mw-body-content figure[typeof~='mw:File/Frame'] > a {
    border: 1px solid var(--border-color-subtle, #c8ccd1);
    background-color: #2a2a2a;
}


/* Datatables */
.mw-datatable th {
  background-color: #2a2a2a;
}
.mw-datatable td {
  background-color: #2a2a2a;
}
.mw-datatable tr:hover td {
  background-color: #3d3d3d;
  opacity: 0.7;
  transition: .5s ease;
}
.wikitable > tr > th, .wikitable > * > tr > th {
  background-color: #2a2a2a;
  color: #cccccc;
}
#filetoc {
  background-color: #2a2a2a;
}
.oo-ui-tagMultiselectWidget-handle {
  background-color: #2a2a2a;
}
.mw_metadata th {
  background-color: #2a2a2a;
}
.mw-rcfilters-ui-changesListWrapperWidget .mw-changeslist-legend {
  background-color: #2a2a2a;
}

/* Revisions */
.diff-addedline .diffchange {
  background: #3e77ab;
}
.diff-deletedline .diffchange {
  background: #a98b3a;
}
.diff-context {
    background: #373737;
    color: #ffffff;
}
#pagehistory li.selected {
    background-color: #333333;
    color: #ffffff;
}


/* Font sizes */
.vector-body {
  font-size: 1em;
}
.vector-menu-tabs-legacy li a {
  font-size: 1em;
}
.vector-user-menu-legacy li {
  font-size: 0.9em
}
ol.references li:target, sup.reference:target {
  background-color: #2a2a2a;
}

/* Colors for preferences and changes boxes */
#preferences .mw-htmlform-submit-buttons {
    background-color: var(--background-color-base, #292929);
    border-top: 1px solid var(--border-color-subtle, #595959);
}
.mw-prefs-tabs-wrapper.oo-ui-panelLayout-framed, .mw-prefs-tabs > .oo-ui-menuLayout-content > .oo-ui-indexLayout-stackLayout > .oo-ui-tabPanelLayout {
    border-color: var(--border-color-subtle, #595959);
}
.mw-htmlform-ooui .mw-htmlform-matrix tbody tr:nth-child(even) td {
    background-color: #3d3d3d;
}
.oo-ui-labelWidget.oo-ui-inline-help {
    color: var(--color-subtle, #9b9b9b);
}
.oo-ui-popupWidget-popup {
    background-color: var(--background-color-base, #292929);
    border: 1px solid var(--border-color-base, #595959);
}

.ve-ui-overlay {
    font-family: 'Geologica';
    color: #f3f3f3;
}
.oo-ui-panelLayout {
    background-color: #292929;
}
.ve-ui-mwSaveDialog-license {
    color: var(--color-subtle, #f3f3f3);
}
.oo-ui-window-head, .oo-ui-window-foot {
    background-color: #292929;
}
.ve-ui-mwSaveDialog-options {
    background-color: var(--background-color-neutral-subtle, #292929);
    border: 1px solid var(--border-color-subtle, #595959);
}
#mw-searchoptions {
    background-color: var(--background-color-neutral-subtle, #292929);
    border: 1px solid var(--border-color-subtle, #595959);
}

.mw-body-content .mw-number-text span {
    color: var(--color-base, #6cace3);
}

.oo-ui-toolbar-bar {
    color: var(--color-base, #e3e3e3);
    background-color: var(--background-color-base, #dddddd);
}

.mw-echo-ui-notificationBadgeButtonPopupWidget-popup > .oo-ui-popupWidget-popup > .oo-ui-popupWidget-head {
    background-color: #535353;
}

.ve-ui-targetWidget .ve-ui-surface .ve-ce-attachedRootNode, .ve-ui-targetWidget .ve-ui-surface .ve-ui-surface-placeholder {
    background-color: #333333;
}

.mw-mmv-dialog .mw-mmv-dialog-warning {
    background-color: var(--background-color-warning-subtle, #555555);
}


/* Social profiles */
.profile-update-title {
    color: #ffffff;
}
.profile-on {
    background-color: #3f8114;
    border: 1px solid #979797;
}
.profile-tab-on {
    background-color: #555555;
    border: 1px solid #979797;
    font-size: 16px;
}
.profile-tab {
    background-color: #3d3d3d;
    border: 1px solid #979797;
}
.profile-tab-on a, .profile-tab a:hover {
    color: #a3c8ff;
    font-weight: 400;
    text-decoration: none;
}
.profile-info-container b {
    color: #cbcbcb;
}
.profile-info-container div {
    color: #a1a1a1;
}
.profile-update-unit-left {
    color: #bdbdbd;
}
.user-board-message-from {
    background-color: #333333;
}
.no-info-container {
    background-color: #333333;
    color: #adadad;
}
.top-fan-nav h1 {
    color: #e3e3e3;
}
.ga-new {
    background-color: #069716;
    border: 1px solid #a9a9a9;
}

/* Contributors extension */
.contributors-title {
	margin: 10px;
    padding-left: 10px;
}
.contributors-avatars {
	margin: 10px;
    padding-left: 10px;
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}
.contributor-avatar {
	width: 60px;
	text-align: center;
	text-decoration: none;
}

.contributor-avatar img {
	width: 52px;
	height: 52px;
	object-fit: cover;
}

.contributor-name {
	font-size: 0.85em;
	word-break: break-word;
	text-align: center;
}




/* Hide the category footer on the Main Page */
.page-Main_Page #catlinks {
	display: none;
}
.no-bullets ul {
	list-style: none;
	margin: 0;
	padding-left: 5px;
}



/* Base table behavior */
.explore-table {
	width: 100%;
	table-layout: fixed;
}

/* Left column */
.explore-left {
    width: 290px;
	min-width: 290px;
	vertical-align: top;
}

/* Right columns */
.explore-right {
	width: 290px;
    max-width: 290px;
	vertical-align: top;
}

/* Mobile headers hidden by default */
.mobile-only {
	display: none;
}

/* Responsive stacking */
@media (max-width: 870px) {

	.mobile-only {
		display: block;
		margin-bottom: 6px;
		text-align: center;
		font-weight: bold;
	}

	.explore-table,
	.explore-table tbody,
	.explore-table tr,
	.explore-table th,
	.explore-table td {
		display: block;
		width: 100% !important;
		box-sizing: border-box;
	}

	/* Hide desktop header row */
	.explore-table tr:first-child {
		display: none;
	}
}