MediaWiki:Common.css

From Voltaire Wiki
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 */

/* Custom font */
@font-face {
    font-family: 'Nunito';
}

/* Logo */
.mw-wiki-logo {
  background-image: url(/images/e/e6/Site-logo.png);
  -webkit-filter: drop-shadow(2px 2px 5px #555);
  filter: drop-shadow(2px 2px 5px #555);
}
#p-logo {
  width: 100%;
  height: var(--main-layout-logo-height);
  position: absolute;
  margin-top: -4em;
}
#p-logo a {
  width: 390px;
  height: 223px;
  margin: 0 auto;
}

/* Background */
body {
	background: url(/images/8/80/Site-background.jpg) no-repeat center center fixed;
	background-size: cover;
    background-color: #000;
}

/* Content theming */
#content,
#right-navigation,
#left-navigation {
  margin-right: 2em;
}
#content,
#mw-head {
  margin-top: 15.14em;
}
#content a,
#mw-head a {
  color: #90e0ff;
}
.new {
  color: #FF5452 !important;
}
.mw-body {
    background-color: rgba(58, 35, 65, 0.9);
    color: #FFF;
     border-image-slice: 113 109 425 98;
     border-image-width: 60px 60px 60px 60px;
     border-image-outset: 0px 0px 0px 0px;
     border-image-repeat: stretch stretch; 
     border-image-source: url("https://voltaire.wiki.gg/images/d/d4/Inventory_border.png");
     border-style: solid;
}
h1, h2, h3, h4, h5, h6 {
  color: #FFF;
  font-family: Nunito,Arial,sans-serif !important;
}
#mw-page-base {
  background-color: transparent;
  background-image: none;
}
.tocnumber {
  color: inherit;
}
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>');
}

/* Left portal theming */
#mw-panel .portal {
    margin-bottom: 6px;
    padding: none;
    border-left: 2px solid #780e0a;
    background-color: rgba(58, 35, 65, 0.9);
    font-family: Nunito,Arial,sans-serif;
    font-size: 17px;
}
#mw-panel .portal a {
    color: #90e0ff;
}
.vector-menu-portal .vector-menu-heading {
  background-image: none;
  font-weight: bold;
  color: #FFF;
  margin: 0px;
  padding: 6px;
}
.vector-menu-dropdown .vector-menu-heading:after {
    filter: invert(1);
}
#p-tb,
#p-navigation {
    padding-top: 0px;
}
#p-logo + .mw-portlet .vector-menu-heading {
    display: block;
    margin: 0px;
    padding: 6px;
}
#mw-panel #p-logo + .portal {
    margin-top: 12.25em;
}
#mw-panel {
    margin-top: -12.5em;
}

/* Top tabs theming */
.vector-menu-tabs li a,
#p-cactions {
  background-color: rgba(58, 35, 65, 0.6);
}
#p-cactions-label span {
    color: #b7c9e2;
}
#p-cactions-label span:after {
	filter: invert(1);
}
.vector-menu-tabs li.selected a,
.mw-navigation,
.vector-menu-dropdown .vector-menu-content {
    background-color: rgba(58, 35, 65, 0.9);
}
.vector-menu-tabs,
.vector-menu-tabs li,
.vector-menu-tabs li.selected,
.vector-menu-tabs span,
.vector-menu-tabs ul {
  background: transparent;
}
.vector-menu-tabs,
.vector-menu-tabs a,
#mw-head .vector-menu-dropdown .vector-menu-heading,
.vector-menu-tabs li.selected a,
.mw-navigation {
  background-image: none;
}

/* Footer theming */
#footer-places {
	display: none;
}
#footer-info li,
#footer-info li a {
    color: #FFF;
    text-shadow: 2px 2px #000;
}

/* Main page layout */
#fptweets {
  min-height:calc(325px + 2.3em);
}

#fp-3column.fp-container {
    display: grid;
    grid-template-areas: "a" "b" "c" "d";
    grid-template-columns: 100%;
}
@media screen and (min-width:990px) {
    #fp-3column.fp-container {
        grid-template-areas: "a b" "c b" "c d";
        grid-template-columns: 50% 50%;
    }
}
@media screen and (min-width:1350px) {
    #fp-3column.fp-container {
        grid-template-areas: "a b c" "d b c";
        grid-template-columns: 33.3% 33.3% 33.3%;
    }
}

#fp-1 {
    grid-area: a;
}

#fp-2 {
    grid-area: b;
}

#fp-3 {
    grid-area: c;
}

#fp-4 {
    grid-area: d;
}

/* Main page structure */
.fpbox {
    margin: 5px;
    padding: 5px;
    overflow: auto;
    width: calc(100% - 2px);
    font-family: Nunito,Arial,sans-serif;
}
.fpbox.plain {
    background: transparent;
    border: none;
    box-shadow: none;
}
.fpbox .heading,
.fpbox .mainheading,
.fpbox .welcome {
    margin: 0 0 10px;
    padding: 0 0 5px;
    overflow: auto;
}
.fpbox .heading {
    border-bottom: 2px solid #FFF;
    border-radius: 3px;
	padding: 5px;
    font-size: 132%;
    font-weight: bold;
}
.fpbox .mainheading,
.fpbox .welcome {
    font-size: 150%;
    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;
    background-color: #3A2341;
    border-bottom: 2px solid #780e0a;
    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;
}

/* Infobox general theming */
.portable-infobox {
    border-radius: 13px; 
	border: 4px solid #000000;
    color:#000000;
}
.portable-infobox .pi-navigation {
    text-align: center;
}

/* Infobox titles and headers */
.portable-infobox .pi-title {
    font-weight: bold;
    font-size: large;
    color:#FFFFFF;
    line-height: 15px;
    text-align: center;
    padding: 16px 3px;
    background: #000000;
    text-transform: uppercase;
}
.portable-infobox .pi-header {
    font-size: small;
    line-height: 10px;
    text-align: center;
    padding: 10px 0;
    background-color: black;
    color: white;
    margin: 10px 0 5px 0;
}

/* Infobox images */
.portable-infobox .pi-caption {
    color: black;
}

.portable-infobox .pi-image-collection-tabs {
    text-align: center;
}

.portable-infobox .pi-image-thumbnail {
    height: auto;
    max-width: 95%;
}

.portable-infobox .pi-media {
    margin: 5px;
}

.portable-infobox .pi-media-collection-tabs {
	margin: 5px -1px 10px -1px;
    padding: 2px 0 1px;
}

.pi-media-collection .pi-tab-link {
    background: transparent;
    font-weight: normal;
    border: 1px solid #565656;
    margin-right: 0;
}
.pi-media-collection .pi-tab-link.current {
    background: rgba(120,14,10,0.5) !important;
}

.portable-infobox .pi-data-label {
    color: #871e1e;
}

/* Article-table and wikitable formatting */
.wikitable > tr > th, .wikitable > tr > td, .wikitable > * > tr > th, .wikitable > * > tr > td {
	border: 1px solid #a2a9b1;
}
 .wikitable, .WikiaTable {
  border: 1px solid #a2a9b1;
  color: #FFF;
}
.article-table {
    color: #FFF;
}
.wikitable th, .WikiaTable th, .article-table th, .mw-datatable th {
     background-color: #780e0a !important;
     color: #FFF;
}
.wikitable td, .WikiaTable td, .article-table td, .mw-datatable td {
     background: #3a2341;
     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;
}
.mw-datatable tr:hover td {
	background-color: #202020;
}

/* Dark background diffs */
.diff-deletedline .diffchange {
  background: #cc7000;
}
.diff-addedline .diffchange {
  background: #617e99;
}
.diff-context {
  background: #780e0a;
  color: #FFF;
}

/* Dark background diffs */
.diff-deletedline .diffchange {
  background: #cc7000;
}
.diff-addedline .diffchange {
  background: #617e99;
}
.diff-context {
  background: #003791;
  color: #FFF;
}

/* 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: #000000 !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 thumbnails */
li.gallerybox div.thumb {
  border: none;
  background-color: transparent;
}
.thumbimage {
 background-color: transparent;
 border: none;
}
div.thumbinner {
 Border: none;
 background-color: transparent;
}

/* Darker links in editor */
.wikiEditor-ui a,
.editOptions a {
  color: blue !important;
}

.mp-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 15px;
}

.mp-left {
	flex: 4;
}

.mp-right {
	flex: 1 275px;
}

.mw-content-ltr .redirectText li:first-child { filter: invert(1) hue-rotate(180deg) brightness(4); }