MediaWiki:Common.css
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 be applied to all skins */
h1, h2, h3, h4, h5, h6 { color: #fff; }
/* Font */
body,
.mw-body h1,
.mw-body-content h1,
.mw-body-content h2 {
font-family: Nunito;
color: #FFF;
}
/* Logo */
.mw-wiki-logo {
background-image: url(/images/e/e6/Site-logo.png);
}
#p-logo {
width: 100%;
height: var(--main-layout-logo-height);
position: absolute;
margin-top: 1em;
}
#p-logo a {
width: 360px;
margin: 0 auto;
}
/* Background */
#mw-page-base {
background: none;
}
body {
background: url(/images/8/80/Site-background.jpg) no-repeat center center fixed;
background-size: cover;
background-color: #000;
}
/* Footer */
#footer-places {
display: none;
}
#footer #footer-info li {
color: #fff;
text-shadow: 0 0 8px #000;
}
/* Content theming */
#content,
#mw-head {
margin-top: 9.14em;
border-radius: 2px;
}
#content a,
#footer a {
color: #AFE1AF;
}
.new {
color: #ff4542 !important;
}
.mw-body {
background-color: rgba(0,0,0,0.7);
border: none;
color: #FFF;
}
.catlinks,
.toc {
background-color: #191919;
}
#mw-page-base {
background: none;
}
/* Left portal theming */
.vector-menu-portal .vector-menu-heading {
background-image: none;
}
#mw-panel .portal {
margin: 0px 0px 5px 20px;
border-radius: 2px;
border: none;
background-color: rgba(0,0,0,0.7);
font-size: 17px;
}
#mw-panel .portal a {
color: #AFE1AF !important;
}
#mw-panel .portal .vector-menu-heading {
font-weight: bold;
color: #FFF;
}
#mw-panel #p-logo + .portal {
margin-top: 12.25em;
}
#mw-panel {
padding-left: 0;
margin-top: -12.5em;
}
/* Top navigation theming */
.vector-menu-tabs,
.vector-menu-tabs a,
#mw-head .vector-menu-dropdown .vector-menu-heading {
background-image: none;
}
#mw-head-base {
border: none;
}
.vectorTabs,
.vectorTabs li,
.vectorTabs li.selected,
.vectorTabs li span,
.vectorTabs ul,
#mw-head .vectorMenu #p-cactions-label {
background: none;
}
#mw-head .vectorTabs li:not(.new) a,
#mw-head .vectorTabs li.selected a,
#mw-head .vectorMenu #p-cactions-label span {
color: #AFE1AF;
font-weight: 700;
text-shadow: 0 0 8px #000;
text-transform: uppercase;
}
#p-cactions-label span:after {
filter: invert(1);
}
.vectorTabs li.new a, .vectorTabs li.new a:visited {
color: #ff4542;
text-transform: uppercase;
}
/* Main page layout */
#fp-2column.fp-container {
display: grid;
grid-template-areas: "a" "b" "c";
grid-template-columns: 100%;
}
@media screen and (min-width:990px) {
#fp-2column.fp-container {
grid-template-areas: "a b" "c c";
grid-template-columns: 50% 50%;
}
}
@media screen and (min-width:1350px) {
#fp-2column.fp-container {
grid-template-areas: "a b" "c b";
grid-template-columns: auto 520px;
}
}
#fp-top {
grid-area: a;
}
#fp-flex {
grid-area: b;
}
#fp-bottom {
grid-area: c;
}
/* Main page structure */
.fpbox {
margin: 5px;
padding: 5px;
overflow: auto;
width: calc(100% - 2px);
background: #141414;
}
.fpbox .heading,
.fpbox .mainheading,
.fpbox .welcome {
margin: 0 0 10px;
padding: 0 0 5px;
overflow: auto;
}
.fpbox .heading {
background: #141414;
padding: 4px;
}
.fpbox .mainheading,
.fpbox .welcome {
font-size: 150%;
font-weight: bold;
}
.fpbox .heading {
text-align: center;
font-size: 132%;
font-weight: bold;
}
.linkslabel {
margin: 15px 5px 5px;
padding: 0 0 5px;
}
/* Template:FP links styles */
.fplinks {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
align-items: stretch;
text-align: center;
}
.fplink-outer {
padding: 5px;
flex-basis: calc(25% - 10px);
width: calc(25% - 15px);
min-width: 115px;
display: inline-block;
vertical-align: middle;
}
.fplink-wide {
flex-basis: calc(33% - 10px);
width: calc(33% - 15px);
}
.fplink-fullwidth {
flex-basis: 100%;
width: calc(100% - 15px);
font-weight: bold;
}
.fplink {
padding: 0.5em;
box-sizing: border-box;
width: 100%;
height: 100%;
display: table;
border-left: 2px #282828 solid;
background: rgba(40,40,40,0.5);
font-size: 17px;
}
.fplink-plain {
background: transparent;
border-radius: 0;
border: 0;
box-shadow: none;
}
.fplink-inner {
display: table-row;
}
.fplink a {
display: table-cell;
vertical-align: middle;
}
.fplink img {
max-width: 150px;
width: 100%;
height: auto;
}
/* Auto-resize front page video to fit smaller columns */
.fpbox .embedvideowrap {
width: 100% !important;
max-width: 480px;
margin: 0 auto;
}
.fpbox .embedvideowrap iframe {
width: 100%!important;
}
/* Multi-column box support */
.fp-container main .columns .leftcol,
.fp-container .columns .rightcol {
width: 100%;
margin: 0;
padding: 0;
}
@media (min-width: 990px) {
.fp-container .columns .leftcol {
float: left;
width: 50%;
}
.fp-container .columns .rightcol {
float: right;
width: 50%;
}
}
.fp-section {
display: flex;
flex-wrap: wrap;
}
/* Article-table and wikitable formatting */
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
border: 1px solid #282828;
}
.wikitable, .WikiaTable {
border: 1px solid #282828;
}
.wikitable th, .WikiaTable th {
background-color: #282828 !important;
color: #FFF;
}
.wikitable td, .WikiaTable td, .article-table td {
background: #000;
color: #FFF;
margin: 1px;
}
.table, .wikitable, .article-table {
display: inline-table;
overflow-x: auto;
white-space: normal;
}
.wikitable, .article-table {
border-collapse: collapse;
}
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td,
.wikitable th, .article-table th, .wikitable > tr > th, .wikitable > * > tr > th {
padding: .2em .4em;
}
.article-table td {
padding: 6px 12px;
}
/* Darker links in editor */
.wikiEditor-ui a,
.editOptions a {
color: blue !important;
}
/*** Dark theme adjustments ***/
/* Dark background diffs */
.diff-deletedline .diffchange {
background: #cc7000;
}
.diff-addedline .diffchange {
background: #617e99;
}
.diff-context {
background: #000;
color: #FFF;
}
/* Dark background list under More tab */
.vector-menu-dropdown .vector-menu-content {
background: #000;
}
.vector-menu-dropdown .vector-menu-content a {
color: #AFE1AF;
}
/* Dark background recent changes, search options, toc, filetoc, catlinks and manage templatedata */
.mw-changeslist-legend,
.tdg-editscreen-main > span:nth-child(1) > a:nth-child(1),
.mw-search-profile-tabs,
.oo-ui-tagMultiselectWidget.oo-ui-widget-enabled.oo-ui-tagMultiselectWidget-outlined .oo-ui-tagMultiselectWidget-handle,
.oo-ui-tagMultiselectWidget-input > input:nth-child(1),
.mw-rcfilters-ui-liveUpdateButtonWidget > a:nth-child(1),
.mw-rcfilters-ui-savedLinksListWidget-button > a:nth-child(1),
.mw-rcfilters-ui-changesLimitAndDateButtonWidget > span:nth-child(1) > a:nth-child(1),
.catlinks,
.toc,
#filetoc,
#mw-searchoptions {
background: #000 !important;
}
.mw-rcfilters-ui-filterTagMultiselectWidget-wrapper-content-title {
color:#FFF;
}
.mw-rcfilters-ui-liveUpdateButtonWidget,
.mw-rcfilters-ui-savedLinksListWidget-button,
.mw-rcfilters-ui-changesLimitAndDateButtonWidget > span:nth-child(1) {
filter: invert(1);
}
/* Dark background lists and thumbnails */
li.gallerybox div.thumb {
border: none;
background-color: transparent;
}
/*** Infoboxes ***/
/* Infobox general theming */
.portable-infobox {
overflow: hidden;
background: #000;
color: #FFF;
padding: 0;
border-top: 2px solid #a2a9b1;
border-bottom: 2px solid #a2a9b1;
}
.portable-infobox .pi-navigation {
background: #000;
text-align: center;
}
.pi-item.pi-data {
background-color: #000;
color: #FFF;
}
.pi-data-label {
color: #FFF;
}
.pi-item {
border: none;
}
.pi-item:nth-child(even) {
background: #1e1e1e;
}
.pi-item:nth-child(odd) {
background: #000;
}
/* Infobox titles and headers */
.portable-infobox .pi-title {
font-weight: bold;
font-size: large;
line-height: 15px;
color: #FFF;
text-align: center;
padding: 6px 3px;
background: #000;
}
.portable-infobox .pi-header {
font-size: small;
line-height: 10px;
color: #FFF;
text-align: center;
padding: 4px 0;
background: #000;
}
/* Infobox images */
.portable-infobox .pi-caption {
color: #FFF;
}
.portable-infobox .pi-image-collection-tabs {
text-align: center;
background: #000;
}
.portable-infobox .pi-image-collection-tab-content {
background: #000;
}
.portable-infobox ul.pi-image-collection-tabs li {
background: #000;
font-weight: normal;
border: 1px solid #282828;
margin-right: 0;
}
.portable-infobox ul.pi-image-collection-tabs li.current {
background-color: #000 !important;
color: #FFF !important;
}
.portable-infobox ul.pi-image-collection-tabs li.pi-item-spacing {
padding: 2px 4px 1px;
}
.factiongallery {
display: flex;
flex-wrap: wrap;
gap: 15px;
}
.cardimage {
width: 275px;
text-align: center;
}
.cardimage div {
margin-top: 5px;
}
ul {
list-style-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="5" height="13"><circle cx="2.5" cy="9" r="2.5" fill="#fff"/></svg>');
}
.tocnumber { color: #fff; }