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 on the entire site.
Various code adpoted from
* https://multiversus.wiki.gg/ by IyzMoe
* https://trucksimulator.wiki.gg/ by MrPie5
* https://flight.wiki.gg/ by ReedemtheD3ad!
***********************************/
/***********************************************************************************************************
* css reset for browser default rules and MediaWiki internal rules
***********************************************************************************************************/
.responsive-image {
max-width: 100%;
height:auto;
}
* {
outline: 0;
}
table {
white-space: unset; /* be set to `no-wrap` in MW internal css */
}
html {
font-size: 16px; /* reset rem */
}
pre {
margin: 0;
}
h1, h2, h3, h4, h5, h6 {
padding: 0;
border: 0 solid transparent;
}
table {
display: table;
white-space: unset;
}
body {
background: none;
}
/***********************************************************************************************************
* css for wiki.gg top bar and footer bar
***********************************************************************************************************/
/*** Wiki.gg site bars tweak ***/
div#p-personal ul {
white-space: nowrap; /* for "log out" */
}
#p-personal .vector-menu-content #pt-anonuserpage,
#p-personal .vector-menu-content #pt-userpage a {
padding-top: 0;
background-position: left center;
}
/*** Responsive ***/
@media screen and (max-width: 720px) {
footer#wikigg-footer .footer-right {
margin-left: 0;
}
footer#wikigg-footer .footer-left {
margin-right: 0;
}
} /* screen and (max-width:720px) */
@media screen and (max-width: 600px) {
footer#wikigg-footer {
display: grid;
grid-template-columns: 35px 1fr;
grid-template-rows: auto auto;
align-items: center;
justify-items: start;
padding: 3px 0 3px 10px;
}
footer#wikigg-footer .footer-middle {
grid-column: 1/2;
grid-row: 1/3;
}
footer#wikigg-footer .footer-right {
grid-column: 2/3;
grid-row: 1/2;
margin: 0;
}
footer#wikigg-footer .footer-left {
grid-column: 2/3;
grid-row: 2/3;
margin: 0;
}
} /* screen and (max-width:600px) */
/*** Theme ***/
:root {
/* for infobox */
--pi-secondary-background: transparent;
/* other */
--theme-hover-color: #6fa5ff;
--theme-text-color-placeholder: #ffffffff;
--theme-control-text-color: #BF0017;
--theme-control-text-color-hover: #fff;
/* for wide table */
--theme-wide-table-shadow-color: #999;
/*** text color ***/
--theme-text-color: #cccccc;
--theme-text-color-note: #C9E6FF;
--theme-text-color-em: #ffffff;
--theme-heading-color: #cccccc;
/*** link text color ***/
--theme-link-color: #D53495;
--theme-link-color-hover: #6fa5ff;
--theme-link-color-visited: #00aeff;
--theme-link-color-redlink: #ff3333;
/*** body background ***/
--theme-site-background: #1a1a1a url(/images/f/f7/Checkerboard.png) top center / cover no-repeat fixed;
/*** top site logo ***/
--theme-site-logo-image: url(/images/f/f6/NEWERSTRIDENTCRISISREALWIKI.png);
--theme-site-logo-width: 300px;
--theme-site-logo-height: 200px;
/* sidebar/content common */
--theme-box-border-width: 2px;
--theme-box-border-color: #006400;
--theme-box-background: none;
--theme-box-border-style: solid;
--theme-box-shadow: none;
/* common */
--theme-border-color: #000000;
--theme-highlight-background: rgb(255 255 255 / 90%);
--theme-button-background: #87AEC9;
--theme-button-border-color: #006cb0;
--theme-button-background-active: #a7c7dc;
--theme-button-border-color-active: #006cb0;
--theme-page-base-background: transparent;
/*** sidebar ***/
--theme-sidebar-box-background: transparent;
--theme-sidebar-box-border-style: var(--theme-box-border-style);
--theme-sidebar-box-border-width: var(--theme-box-border-width);
--theme-sidebar-box-border-color: var(--theme-box-border-color);
--theme-sidebar-box-shadow: var(--theme-box-shadow);
--theme-sidebar-heading-text-color: #db0e0e;
--theme-sidebar-heading-arrow-color: var(--theme-sidebar-heading-text-color);
--theme-sidebar-heading-arrow-color-hover: var(--theme-sidebar-heading-text-color);
--theme-sidebar-heading-background: #007200;
--theme-sidebar-heading-background-hover: transparent;
/* following 3 values will affect the space between the heading and the list */
--theme-sidebar-heading-border-bottom: 0;
--theme-sidebar-list-border-top: 2px solid transparent; /* will be hidden when collapsed */
--theme-sidebar-list-padding-top: 0px;
--theme-sidebar-list-item-background: none;
--theme-sidebar-list-item-hover-mask: var(--theme-highlight-background);
--theme-sidebar-list-item-text-color: var(--theme-text-color);
/* --theme-sidebar-list-item-text-color-hover: var(--theme-text-color); turned off */
/* responsive */
--theme-sidebar-heading-text-color-2: var(--theme-heading-color);
--theme-sidebar-box-background-2: var(--theme-sidebar-box-background);
--theme-sidebar-box-border-width-2: var(--theme-box-border-width);
--theme-sidebar-box-border-style-2: var(--theme-box-border-style);
--theme-sidebar-box-border-color-2: var(--theme-box-border-color);
--theme-sidebar-heading-arrow-color-2: var(--theme-box-border-color);
--theme-sidebar-heading-arrow-color-hover-2: var(--theme-box-border-color);
--theme-sidebar-dropdown-background: #090C0C;
--theme-sidebar-dropdown-border: 1px solid #888989;
/*** navbar ***/
--theme-navbar-background: none;
--theme-navbar-border-color: var(--theme-border-color);
--theme-navbar-tab-background: transparent;
--theme-navbar-tab-box-shadow: none;
--theme-navbar-tab-text-color: white;
--theme-navbar-tab-icon-color: var(--theme-navbar-tab-text-color);
--theme-navbar-tab-text-color-hover: var(--theme-navbar-tab-text-color);
--theme-navbar-tab-icon-color-hover: var(--theme-navbar-tab-icon-color);
--theme-navbar-tab-text-color-redlink: var(--theme-link-color-redlink);
--theme-navbar-tab-icon-color-redlink: var(--theme-link-color-redlink);
--theme-navbar-tab-border-color: var(--theme-border-color);
--theme-navbar-tab-background-hover: transparent;
--theme-navbar-tab-border-color-hover: var(--theme-navbar-tab-border-color);
--theme-navbar-tab-selected-background: var(--theme-content-background);
--theme-navbar-tab-selected-border-color: var(--theme-navbar-tab-border-color);
--theme-navbar-tab-selected-border-bottom-corner-color: var(--theme-navbar-tab-border-color);
--theme-navbar-tab-dropdown-arrow-color: var(--theme-text-color);
--theme-navbar-tab-dropdown-arrow-color-hover: var(--theme-heading-color);
--theme-navbar-tab-dropdown-background: #090C0C;
--theme-navbar-tab-dropdown-border-color: var(--theme-border-color);
--theme-navbar-tab-dropdown-box-shadow: 0 0 5px 0 rgba(0, 0, 0, 0.2);
--theme-navbar-tab-dropdown-hover-mask: var(--theme-highlight-background);
--theme-navbar-search-box-shadow: none;
--theme-navbar-search-input-background: black;
--theme-navbar-search-input-border-color: var(--theme-border-color);
--theme-navbar-search-input-text-color: white;
--theme-navbar-search-button-background: red;
--theme-navbar-search-botton-border-color: var(--theme-border-color);
--theme-navbar-search-botton-text-color: var(--theme-text-color);
--theme-navbar-search-button-background-active: black;
--theme-navbar-search-botton-border-color-active: var(--theme-navbar-search-botton-border-color);
--theme-navbar-search-botton-text-color-active: var(--theme-navbar-search-botton-text-color);
--theme-navbar-search-suggestions-background: black;
--theme-navbar-search-suggestions-border-color: var(--theme-border-color);
--theme-navbar-search-suggestions-text-color: var(--theme-text-color);
--theme-navbar-search-suggestions-text-color-hover: var(--theme-text-color-em);
--theme-navbar-search-suggestions-hover-mask: var(--theme-highlight-background);
--theme-navbar-search-suggestions-results-border-bottom-color: var(--theme-border-color);
--theme-navbar-search-suggestions-special-offset-top: -1px; /* margin-top offset, normally is -1px */
--theme-navbar-search-suggestions-special-border-top-color: var(--theme-border-color);
--theme-navbar-search-suggestions-special-label-text-color: var(--theme-text-color);
--theme-navbar-search-suggestions-special-label-text-color-hover: var(--theme-text-color);
/* responsive */
--theme-navbar-search-background: var(--theme-sidebar-box-background);
/*** content box ***/
--theme-content-background: #071F07;
--theme-content-border-width: 0px;
--theme-content-border-style: var(--theme-box-border-style);
--theme-content-border-color: var(--theme-box-border-color);
--theme-content-subpage-icon-color: rgba(0,0,0, 0.3); /* color for "<" */
--theme-content-heading-rule-border-top: 0; /* border */
--theme-content-heading-rule-border-bottom: 0;
/** category: box **/
--theme-content-category-background: none;
--theme-content-category-border-style: solid;
--theme-content-category-border-width: 1px;
--theme-content-category-border-radius: 0;
--theme-content-category-border-color: var(--theme-border-color);
/*** #footer ***/
--theme-footer-text-color: #ffffff;
--theme-footer-background: transparent;
--theme-footer-link-color: #008aff;
--theme-footer-link-color-hover: #66b8ff;
--theme-footer-border-radius: 0 0 5px 5px;
/** notification **/
--theme-notice-red-text-color: #bf0017;
--theme-notice-orange-text-color: #cf721c;
/******* "real" wiki content ********/
--theme-widget-toc-arrow-color: var(--theme-text-color);
--theme-widget-toc-arrow-color-hover: var(--theme-hover-color);
--theme-widget-toc-item-hover-background: var(--theme-highlight-background);
--theme-collapsible-toggle-icon-color: var(--theme-text-color);
--theme-collapsible-toggle-icon-color-hover: var(--theme-hover-color);
}
/***********************************************************************************************************
* base css styles for both interface and content box: font, color, etc.
***********************************************************************************************************/
/**** base styles START ***********************************************************/
.MPheading h3 {
font-size: 2em;
font-weight: 800;
text-align: center;
background:0 0;
background-image: linear-gradient(to right,rgba(var(--theme-sidebar-link-color--rgb),0) 0,var(--theme-sidebar-link-color) 33%,var(--theme-sidebar-link-color) 66%,rgba(var(--theme-sidebar-link-color--rgb),0) 100%);
background-position: center bottom;
background-repeat: no-repeat;
background-size: 100% 1px;
}
.page-Vs_Bambi_Strident_Crisis_Wiki .mw-parser-output .gallery {
text-align: center;
margin: 10px 0;
}
.mp-box {
border:1px solid white;
margin:10px 0;
padding:5px;
}
@media screen and (min-width: 1080px){
.page-Vs_Bambi_Strident_Crisis_Wiki .mw-parser-output {
display: flex;
flex-wrap: wrap;
justify-content: space-evenly;
}
.mainpage-left {
width: calc(100% - 550px);
}
.mainpage-right {
width: 500px;
}
}
/* 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;
}
.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;
}
/* this CSS governs the responsive 2 column 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;
}
/* end responsive 2 column main page layout */
/* Front page appearance styles */
.fpbox .heading,
.fpbox .mainheading {
border: 0;
border-bottom: 1px solid transparent;
}
.fpbox {
background: transparent;
border: 1px solid transparent;
box-shadow: 0 2px 5px transparent;
}
.fplink:not(.fplink-plain) {
background: rgba(0, 0, 0, 0.3);
border: 1px solid #505050;
}
.fplink-fullwidth .fplink:not(.fplink-plain) {
background: rgba(0, 0, 0, 0.4);
}
.linkslabel {
border-bottom: 2px solid #505050;
}
/* always show scroll bar for short page.
* By doing this page background size won't change when expand/collapse sidebar sections.
*/
html {
overflow-y: scroll;
}
/** Font **/
html, body {
font-family: Helvetica, Arial, sans-serif;
/* font-family: futura-lt-w01-book, futura-lt-w05-book, sans-serif; a bit hard to read */
color: var(--theme-text-color);
}
.mw-body h1, .mw-body-content h1, .mw-body-content h2 {
font-family: sans-serif;
color: var(--theme-heading-color);
}
body {
font-size: 14px;
}
.vector-body {
font-size: unset;
}
/** link color **/
/* Self-links aren't real links, they're not clickable.
* Hence, they shouldn't change color when hovered over like real links, as that is counter-intuitive.
* We should not use :not(.selflink) since it increases the priority and make it is difficult to override
* link styles for certain elements (e.g. in wiki.gg header).
*/
a,
a.selflink:hover, a.selflink:active {
text-decoration: none;
color: var(--theme-link-color);
}
a:visited {
color: #00aeff;
}
a:hover, a:active {
text-decoration: none;
color: var(--theme-link-color-hover);
}
/** red link **/
/* we don't really need to mark you have "visited" an inexistent page */
a.new, a.new:visited {
color: var(--theme-link-color-redlink);
}
/* -------------------------------------------------------- */
/* Tables */
/* -------------------------------------------------------- */
table {
/* fix 100% width table with border */
box-sizing: border-box;
}
table.article-table,
table.fandom-table,
table.lined,
table.bordered,
table.cellborder {
border-collapse: collapse;
border-style: solid;
border-color: #AD532D;
}
table.lined th,
table.lined td {
border-width: 0 0 1px 0;
}
/*** "terraria"-classed tables ***/
table.olo {
border: 2px solid transparent;
margin: calc(0.5em + 5px) 5px;
box-shadow: 0 0 0 2px var(--theme-content-background), 0 0 0 3px var(--theme-border-color);
border-radius: 3px; /* (border radius of .olo box) - 3px */
}
table.olo.noborder {
padding: 0;
border: 0;
}
table.olo th,
table.olo td {
padding: 3px 6px;
border-color: var(--theme-border-color);
border-style: solid;
border-width: 0;
}
table.olo th {
background: var(--theme-highlight-background);
border-color: var(--theme-border-color);
text-align: center;
}
table.olo caption {
font-weight: bold;
background: var(--theme-highlight-background);
padding: 5px;
margin: auto 2px;
}
table.olo > caption {
padding: 3px;
-moz-border-radius: 6px 6px 0 0;
-webkit-border-radius: 6px 6px 0 0;
border-radius: 6px 6px 0 0;
margin: 1px 1px -4px;
border-bottom-width: 1px;
box-shadow: 0 0 0 1px var(--theme-highlight-background);
position: relative;
}
table.olo > caption:after {
box-sizing: content-box;
content: "";
display: block;
width: 100%;
height: 1px;
background: var()--theme-highlight-background;
position: absolute;
left: -4px;
bottom: -2px;
border-left: 4px solid var(--theme-box-background-color);
border-right: 4px solid var(--theme-box-background-color);
}
table.olo > caption.plaincaption {
background: transparent;
border: 0;
box-shadow: 0 0 0 0;
margin-bottom: 4px;
}
table.olo > caption.plaincaption:after {
background: transparent;
border: 0;
}
table tfoot:empty,
table thead:empty {
display: none;
}
/* Auto line separators for tables */
table.olo.lined {
padding-bottom: 0;
/*display: inline-table;*/
}
table.olo.lined td {
border-width: 0;
border-bottom-width: 1px;
}
table.olo.lined::after {
content: "";
display: block;
height: 3px;
width: calc(100% - 6px);
position: absolute;
left: 3px;
bottom: 3px;
background-color: var(--theme-box-background-color);
}
table.lined td.noline, table.lined tr.noline td {
border-bottom-width: 0;
}
table tr.bottomline td {
border-bottom-width: 1px;
}
table tr.topline td {
border-top-width: 1px;
}
table td.bottomline, table.lined tr.noline td.bottomline {
border-bottom-width: 1px;
}
table td.topline {
border-top-width: 1px;
}
table.olo.cellborder,
table.olo.border {
border-spacing: 0;
padding: 4px 4px 4px 3px;
position: relative;
}
table.olo.cellborder::before,
table.olo.border::before {
content: "";
display: block;
width: 1px;
height: calc(100% - 6px);
background-color: var(--theme-box-background-color);
position: absolute;
left: 4px;
top: 3px;
}
table.olo.cellborder td,
table.olo.border td {
border-left-width: 1px;
border-bottom-width: 1px;
}
table.olo.cellborder th,
table.olo.border th {
border-left-width: 2px;
border-top-width: 2px;
}
table.olo.cellborder tr:first-of-type th,
table.olo.border tr:first-of-type th {
border-top: 0;
}
table.olo.cellborder::after,
table.olo.border::after {
content: "";
display: block;
height: 1px;
width: calc(100% - 6px);
position: absolute;
left: 3px;
bottom: 5px;
background-color: var(--theme-box-background-color);
}
/* Hack for using "border-collapse" and "border-radius" in the same table display by using one table nested within another */
table.outer {
white-space: nowrap;
}
table.inner {
border-collapse: collapse;
background: inherit;
width: 100%;
}
table.inner th {
border: 2px solid var(--theme-box-background-color);
}
/* Fix for siderail overlapping some wide tables */
@media screen and (max-width: 1520px) and (min-width: 1350px) {
.with-siderail table.olo .i {
white-space: normal;
}
.with-siderail table.olo th {
font-size: 90%;
}
.with-siderail table.olo td:not(.il1c) img {
max-width: 100%;
height: auto;
}
}
.olo th {
border-bottom: 1px solid;
}
.wikitable,
.wikitable > tr > th,
.wikitable > * > tr > th {
color: inherit;
background: none;
}
/*
.jquery-tablesorter th.headerSort{
border: 1px solid var(--theme-border-color);
}
*/
table.cargoTable.noMerge tr:nth-child(2n) {
background: rgba(0, 0, 0, 0.25);
}
table.cargoTable.noMerge tr:nth-child(2n+1) {
background: none;
}
table.olo caption {
border-width: 1px;
border-style: solid;
border-top-color: rgb(244, 124, 60, 0.1);
border-right-color: rgb(13, 4, 2, 0.5);
border-bottom-color: rgb(13, 4, 2, 0.5);
border-left-color: rgb(244, 124, 60, 0.1);
border-radius: 8px;
}
table.olo {
/*display: inherit;*/
width: auto;
}
.olo.sortable.lined.align-center.jquery-tablesorter {
/*width: min-content;*/
}
#possible-modifiers-table,
.olo.lined.sortable.jquery-tablesorter,
.olo.lined {
width: auto;
}
/**** base styles END *****/
/*********************************************************************************************************/
input, button {
color: var(--theme-control-text-color);
/* caret-color: var(--theme-text-color); */
}
input[type=submit] {
color: var(--theme-control-text-color);
}
::placeholder {
color: var(--theme-text-color-placeholder);
}
/* Removes VisualEdit button */
#ca-ve-edit {
display: none;
}
/* Link color */
.mw-parser-output a.external,
.mw-parser-output a.external:visited,
.mw-parser-output a.extiw,
.mw-parser-output a.extiw:visited,
.oo-ui-buttonElement-frameless.oo-ui-widget-enabled.oo-ui-flaggedElement-progressive > .oo-ui-buttonElement-button {
color: #ff9000;
}
/* Text color */
#content,
#firstHeading,
.infocard .main-heading .hgroup,
h1,
h2,
h3,
h4,
h5,
h6,
div.hat-note.t-main,
#contentSub, #contentSub2,
.search-types .current a,
.infobox > .title > span,
code,
.trw-toggleable.not-toggled.achievements .achievement b * {
color: var(--theme-text-color);
}
.i .note,
.note-text {
color: var(--theme-text-color-note);
}
.pixel img, .pixel,
#mw-imagepage-section-filehistory img {
image-rendering: pixelated; /*for chrome*/
image-rendering: crisp-edges; /*for firefox*/
}
.small {
font-size: 85%;
}
.fullwidth, .full-width {
width: 100%;
}
.nowrap {
white-space: nowrap;
}
/* ".center" has width=100% rule, we don't want it, so use a different class name. */
.aligncenter,
.align-center {
text-align: center;
}
.alignleft,
.align-left {
text-align: left;
}
.alignright,
.align-right {
text-align: right;
}
/* clear fix for float block */
.clearfix {
*zoom: 1;
}
.clearfix::before,
.clearfix::after {
content: " ";
display: table;
}
.clearfix::after {
clear: both;
}
/* References smaller text than main */
.references {
font-size: 90%;
}
/* Larger font for Module: code display (default is smaller than other code pages) */
pre.lua.source-lua {
font-size: 14px !important;
}
/* Facilitate inline scary transclusion */
.scary-transclusion p, .scary-transclusion .mw-parser-output {
display: inline;
}
/* hide last empty paragraph at the end */
div.mw-parser-output > p:last-child > br:only-child {
display: none;
}
/* Fix empty parameter descriptions on api.php having no height, causing misalignments that seriously impede readability */
.apihelp-parameters dd:empty::before {
content: " ";
}
.block {
display: block;
}
.inline {
display: inline;
}
.inline-block {
display: inline-block;
}
hr.space {
height: 4px;
background: none;
border: 0;
}
.page-content .vertical-align-top * {
vertical-align: top;
}
.page-content .vertical-align-bottom * {
vertical-align: bottom;
}
/* Drowning Table No Border */
.drowning-table-no-border {
border: none;
}
/* Gadget description length */
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-top > .oo-ui-fieldLayout-body > .oo-ui-fieldLayout-header,
.oo-ui-fieldLayout.oo-ui-labelElement.oo-ui-fieldLayout-align-inline > .oo-ui-fieldLayout-body {
max-width: unset;
}
/* Box at the top of all pages when the user has a new message on their User_talk: page */
.usermessage {
background-color: var(--theme-box-background-color);
border-color: var(--theme-box-border-color);
color: var(--theme-text-color);
}
/***********************************************************************************************************
* interface layout and styles for widgets outside of content box
***********************************************************************************************************/
:root {
--main-layout-logo-box-height: 200px;
--main-layout-logo-offset: 12px;
--main-layout-topbar-height: 35px; /* height of wiki.gg topbar */
--main-layout-sidebar-width: 180px; /* width of side navbar, without gap */
--main-layout-sidespace: 24px; /* whitespace width on most left and most right */
--main-layout-gap: 12px;
--main-layout-logo-height: calc(var(--theme-site-logo-height) + 20px);
--main-box-border-radius: 5px;
--main-inner-box-border-radius: calc(var(--main-box-border-radius) - var(--theme-box-border-width));
--main-box-padding: 12px;
background: var(--theme-site-background);
/* Removes second vertical scrollbar(mw 1.37 fix) */
overflow-y: unset; /* must be unset or visible, can not be auto, or side ad will not be sticky */
}
/**** Main Layout START ***********************************************************/
/**
* Note: wiki.gg topbar is position:fixed. So we don't need to consider it in grid layout
*/
html, body {
min-height: 100%;
}
html {
height: 100%;
scroll-padding-top: var(--main-layout-topbar-height);
}
body {
height: auto;
}
/*** main grid container ***/
body {
/* self */
box-sizing: border-box;
/* grid */
display: grid;
grid-template-columns: [body-left] var(--main-layout-sidespace) [aside-left] var(--main-layout-sidebar-width) [aside-right content-left] minmax(0, 1fr) [content-right] var(--main-layout-sidespace) [body-right];
grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end nav-start] 0fr [nav-end content-start] auto [content-end footer-start] 0fr [footer-end] 1fr [page-end] 0fr [body-end];
gap: 0 var(--main-layout-gap);
}
/*** grid items ***/
/* Flatten DOM structure. Therefore we have following grid items under body grid container:
* div#mw-page-base, div#mw-head-base, #mw-navigation>h2, div#mw-head, div#mw-panel, div#content.mw-body, div#footer, footer.
*/
body > .content-wrapper,
#mw-navigation {
display: contents;
}
/** unused, hide them **/
#mw-head-base,
#mw-navigation > h2 {
display: none;
}
/** side nav bar **/
#mw-panel {
grid-column: aside-left/aside-right;
grid-row: nav-start/page-end;
margin-bottom: var(--main-layout-gap);
float: none;
width: unset;
padding: 0;
}
/** nav **/
#mw-head {
grid-column: content-left/content-right;
grid-row: nav-start/nav-end;
}
/** content **/
.mw-body {
grid-column: content-left/content-right;
grid-row: content-start/content-end;
}
/* For some page such as api.php, .mw-body is the only child, so take up all space. */
.mw-body:first-child {
grid-column: body-left/body-right;
grid-row: page-start/page-end;
}
/** #footer: content footer **/
#footer {
grid-column: content-left/content-right;
grid-row: footer-start/footer-end;
margin: 0;
}
/** used to gen box shadow for main box (nav + content + #footer) **/
#mw-page-base {
grid-column: content-left/content-right;
grid-row: nav-start/footer-end;
height: 100%;
}
/** wiki.gg footer bar **/
body > footer {
grid-column: body-left/body-right;
grid-row: page-end/body-end;
}
/*** logo block. It is absolute position ***/
#p-logo {
position: absolute;
width: 100%;
height: auto;
left: 0;
top: var(--main-layout-topbar-height);
background: var(--theme-site-logo-image) center center/var(--theme-site-logo-width) auto no-repeat;
display: flex;
align-items: center;
justify-content: center;
filter: drop-shadow(0 0 5px black);
}
/* use logo image as <a>'s background will sometime flicker when hovered on Firefox,
* I still don't know why, but move background to #p-logo can avoid this issue.
*/
#p-logo .mw-wiki-logo {
width: var(--theme-site-logo-width);
height: var(--theme-site-logo-height);
margin: auto;
background: none;
/* logo flicker fix */
}
/**** Main Layout END ***********************************************************/
/**** side panel START ***********************************************************/
#mw-panel {
font-size: 12px;
line-height: 1.5;
color: var(--theme-text-color);
}
#mw-panel a {
text-decoration: none;
}
/* sections */
#mw-panel .portal,
#mw-panel #p-logo + .portal {
margin: var(--main-layout-gap) 0 0 0;
padding: 0;
color: var(--theme-sidebar-heading-text-color);
border: var(--theme-box-border-width) solid var(--theme-box-border-color);
border-radius: 5px;
background: var(--theme-sidebar-box-background);
}
#mw-panel #p-logo + .portal {
margin-top: 0;
position: relative;
}
/* section heading */
#mw-panel #p-logo + .portal .vector-menu-heading,
#mw-panel .portal .vector-menu-heading {
margin: 0;
padding: 6px 10px;
border-bottom: var(--theme-sidebar-heading-border-bottom);
border-radius: var(--main-inner-box-border-radius) var(--main-inner-box-border-radius) 0 0;
background: var(--theme-sidebar-heading-background);
font-size: 15px;
line-height: 18px;
font-weight: bold;
cursor: pointer;
display: flex;
align-items: center;
justify-content: space-between;
color: var(--theme-sidebar-heading-text-color);
}
/* arrow icon */
#mw-panel .portal .vector-menu-heading::after {
content: "";
display: inline-block;
background: none;
position: relative;
width: 0;
height: 0;
border-style: solid;
border-color: var(--theme-sidebar-heading-arrow-color) transparent;
border-width: 0 5px 6px 5px;
margin-top: 4px;
vertical-align: middle;
flex: 0 0 auto;
}
#mw-panel .portal .vector-menu-heading:hover::after {
border-color: 1px solid red;
}
#mw-panel .portal.collapsed .vector-menu-heading {
border-radius: var(--main-inner-box-border-radius);
}
#mw-panel .portal.collapsed .vector-menu-heading::after {
border-width: 6px 5px 0 5px;
}
/* list */
#mw-panel #p-logo + .portal .body,
#mw-panel .portal .body {
background: none;
border: 0;
padding: 0;
margin: 0;
border-top: var(--theme-sidebar-list-border-top);
}
#mw-panel .portal .body ul {
padding: var(--theme-sidebar-list-padding-top) 4px 4px;
}
#mw-panel .portal .body li {
margin: 0;
padding: 0;
font-size: inherit;
line-height: inherit;
background: var(--theme-sidebar-list-item-background);
border-radius: var(--main-inner-box-border-radius);
}
#mw-panel .portal .body li:hover {
/*background: var(--theme-sidebar-list-item-hover-mask);*/
border-bottom: 1px solid red;
}
#mw-panel .portal .body li a,
#mw-panel .portal .body li a:visited {
display: block;
padding: 3px 6px;
color: var(--theme-sidebar-list-item-text-color);
}
#mw-panel .portal .body li a:hover {
color: var(--theme-sidebar-list-item-text-color-hover);
}
#mw-panel .portal .body li a.feedlink { /* "Atom" RSS Feed */
text-indent: 14px; /* the icon is 12x12px, so 12px + 2px */
background-position: 8px center; /* align icon with other text */
}
#merch {
margin: 1.5em auto auto 1em;
}
/**** side panel END ***********************************************************/
/**** main content box START ***********************************************************/
/**** box for nav+content+#footer ****/
#mw-page-base {
border: var(--theme-box-border-width) solid var(--theme-box-border-color);
border-radius: 5px;
box-sizing: border-box;
background: var(--theme-page-base-background);
}
/**** navbar ****/
#mw-head {
margin: var(--theme-box-border-width) var(--theme-box-border-width) 0;
padding: var(--main-box-padding) 0 0 0;
background: var(--theme-navbar-background);
position: relative;
display: flex;
justify-content: space-between;
align-items: flex-end;
width: auto;
}
#mw-head #left-navigation,
#mw-head #right-navigation {
float: none;
flex: 1 1 auto;
margin: 0;
display: flex;
align-items: flex-end;
}
#mw-head #left-navigation::before, #mw-head #left-navigation::after,
#mw-head #right-navigation::before,
#mw-head #right-navigation::after {
content: "";
display: block;
border-bottom: 1px solid var(--theme-navbar-border-color);
}
#mw-head #left-navigation {
justify-content: flex-start;
}
#mw-head #left-navigation::before {
flex: 0 0 var(--main-box-padding);
}
#mw-head #left-navigation::after {
flex: 1 1 auto;
}
#mw-head #right-navigation {
justify-content: flex-end;
}
#mw-head #right-navigation::before {
flex: 1 1 auto;
}
#mw-head #right-navigation::after {
flex: 0 0 var(--main-box-padding);
}
/* reset */
#p-search,
.vector-menu-dropdown,
#mw-head .vector-menu-dropdown .vector-menu-heading,
.vector-menu-dropdown .vector-menu-heading span,
.vectorTabs,
.vectorTabs ul,
.vectorTabs span,
.vectorTabs li,
.vectorTabs li a,
.vectorTabs li.selected a,
.vectorTabs li.selected a:visited {
background-image: none;
float: none;
height: auto;
display: block;
}
#mw-head input {
display: block;
z-index: 1;
}
#mw-head input + .vector-menu-heading {
z-index: 0;
}
.vectorMenuCheckbox:focus + .vector-menu-heading {
outline: 0;
}
.vectorTabs ul {
display: flex;
}
.vectorTabs ul li,
.vector-menu-dropdown {
display: block;
white-space: nowrap;
}
.vector-menu-dropdown.emptyPortlet {
display: none;
}
/* override some mw css */
div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited,
div.vectorTabs li a,
div.vector-menu-dropdown .vector-menu-heading span {
color: var(--theme-navbar-tab-text-color);
font-size: 14px;
line-height: 24px;
padding: 3px 12px;
overflow: hidden;
}
.vector-menu-dropdown .vector-menu-heading:hover span {
color: var(--theme-navbar-tab-text-color); /* reset */
text-decoration: underline;
}
.vector-menu-tabs {
padding: 0;
}
.vectorTabs li,
.vector-menu-dropdown {
background: var(--theme-navbar-tab-background);
border-style: solid;
border-color: var(--theme-navbar-tab-border-color);
border-width: 1px;
border-radius: var(--main-box-border-radius) var(--main-box-border-radius) 0 0;
box-shadow: var(--theme-navbar-tab-box-shadow);
position: relative;
margin-right: calc(var(--main-box-padding) / 2);
}
.vectorTabs li::after,
.vector-menu-dropdown::after {
content: "";
display: block;
width: calc(var(--main-box-padding) / 2);
border-bottom: 1px solid var(--theme-navbar-tab-border-color);
position: absolute;
left: 100%;
margin-left: 1px;
}
div.vectorTabs li:hover,
div.vector-menu-dropdown:hover,
div.vector-menu-dropdown.open {
color: var(--theme-navbar-tab-text-color-hover);
border-color: var(--theme-navbar-tab-border-color-hover);
background: var(--theme-navbar-tab-background-hover);
}
div.vectorTabs li.selected:hover a,
div.vectorTabs li.selected:hover a:visited,
div.vectorTabs li:hover a,
div.vector-menu-dropdown:hover .vector-menu-heading span,
div.vector-menu-dropdown.open .vector-menu-heading span {
color: var(--theme-navbar-tab-text-color-hover);
}
.vectorTabs li.new a,
.vectorTabs li.new a:visited {
color: var(--theme-navbar-tab-text-color-redlink);
}
.vectorTabs li.selected {
background: var(--theme-navbar-tab-selected-background);
border-color: var(--theme-navbar-tab-selected-border-color);
border-bottom: 0;
padding-bottom: 1px;
}
.vectorTabs li.selected:hover {
background: var(--theme-navbar-tab-selected-background);
}
.vectorTabs li.selected:hover span {
background: none;
}
/* watch/unwatch star */
.vectorTabs #ca-unwatch.icon a,
.vectorTabs #ca-watch.icon a,
.vectorTabs #ca-unwatch.icon a.loading,
.vectorTabs #ca-watch.icon a.loading {
display: block;
position: unset;
width: 18px;
height: 18px;
padding: 6px 8px;
box-sizing: content-box;
}
.vector-menu-tabs .mw-watchlink.icon a::before {
height: 18px;
width: 18px;
display: inline-block;
position: unset;
margin-right: 20px;
}
.vector-menu-tabs #ca-unwatch.icon .loading::before,
.vector-menu-tabs #ca-watch.icon .loading::before {
transform-origin: 50% 52%;
}
#mw-head .vector-menu-dropdown .vector-menu-heading {
padding: 0;
margin: 0;
}
.vector-menu-dropdown .vector-menu-heading::after {
display: none;
}
.vector-menu-dropdown .vector-menu-heading span::after {
content: "";
display: inline-block;
background: none;
position: unset;
width: 0;
height: 0;
border-color: var(--theme-navbar-tab-dropdown-arrow-color) transparent;
border-style: solid;
border-width: 6px 5px 0 5px;
margin-left: 4px;
vertical-align: middle;
}
.vector-menu-dropdown .vector-menu-checkbox:checked ~ .vector-menu-heading span::after,
.vector-menu-dropdown:hover .vector-menu-heading span::after {
border-width: 0 5px 6px 5px;
border-color: var(--theme-navbar-tab-dropdown-arrow-color-hover) transparent;
}
/* drop down menu */
.vector-menu-dropdown.open .menu {
visibility: visible;
}
/* reset mw 1.37 css */
.vector-menu-dropdown:not(.vector-user-menu) li {
font-size: 1em;
}
.vector-menu-dropdown .vector-menu-content,
.vector-menu-dropdown > .menu {
font-size: 15px;
background: var(--theme-navbar-tab-dropdown-background);
margin: 0;
border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius);
border-width: 1px;
border-style: solid;
border-color: var(--theme-navbar-tab-dropdown-border-color);
box-shadow: var(--theme-navbar-tab-dropdown-box-shadow);
padding: 4px;
top: 100%;
left: -1px;
/* 1px for border */
min-width: 8em;
}
.vector-menu-dropdown .menu li a {
text-decoration: none;
padding: 10px 8px;
border-radius: calc(var(--main-box-border-radius) - 2px);
font-size: 1em;
color: var(--theme-navbar-tab-text-color);
}
.vector-menu-dropdown .menu li a:hover {
background-color: var(--theme-navbar-tab-dropdown-hover-mask);
color: var(--theme-navbar-tab-text-color-hover);
}
.vector-menu-dropdown li.selected {
display: none; /* just remove current selected (already displayed in header) */
}
/* search */
#p-search form,
#p-search input {
margin: 0;
}
#mw-head #p-search {
margin: 0;
padding: 0 0 6px calc(var(--main-layout-gap) / 2);
border-bottom: 1px solid var(--theme-navbar-tab-border-color);
}
#simpleSearch {
background: none;
margin: 0;
border: 0;
color: var(--theme-text-color);
width: 18em;
padding: 0;
height: auto;
border-radius: 0;
transition: none;
display: grid;
grid-template-columns: 1fr 0fr;
grid-template-rows: 1fr;
align-content: stretch;
justify-content: stretch;
}
#simpleSearch #searchInput {
grid-column: 1/2;
grid-row: 1/2;
font-size: 14px;
line-height: 16px;
text-align: left;
padding: 3px 5px;
background: var(--theme-navbar-search-input-background);
border-radius: 2px 0 0 2px;
border-width: 1px;
border-style: solid;
border-color: var(--theme-navbar-search-input-border-color);
border-right: 0;
word-wrap: break-word;
appearance: none;
-webkit-appearance: none;
color: var(--theme-navbar-search-input-text-color);
height: auto;
}
#searchInput:focus,
#simpleSearch:hover #searchInput,
#simpleSearch:hover #searchInput:focus {
border-color: var(--theme-navbar-search-input-border-color);
box-shadow: none;
}
#simpleSearch #searchButton {
grid-column: 2/3;
grid-row: 1/2;
box-sizing: border-box;
position: static; /* reset css from mw internal */
display: block;
width: 28px;
height: 100%; /* mw internal css override its button default styles, so override again */
background: var(--theme-navbar-search-button-background);
border: 1px solid;
border-color: var(--theme-navbar-search-botton-border-color);
border-radius: 0 2px 2px 0;
z-index: 0;
}
#simpleSearch #searchButton:hover,
#searchInput:hover ~ #searchButton,
#searchInput:focus ~ #searchButton {
background: var(--theme-navbar-search-button-background-active);
border-color: var(--theme-navbar-search-botton-border-color-active);
} /* use ::before & ::after to draw search icon */
#simpleSearch::before,
#simpleSearch::after {
content: "";
display: block;
grid-column: 2/3;
grid-row: 1/2;
z-index: 1;
place-self: center;
border-style: solid;
border-color: var(--theme-navbar-search-botton-text-color);
pointer-events: none;
}
#simpleSearch:hover::before,
#simpleSearch:hover::after {
border-color: var(--theme-navbar-search-botton-text-color-active);
}
#simpleSearch::before {
border-width: 2px;
border-radius: 100%;
width: 8px;
height: 8px;
margin: 0 0 1px 0;
transform: translateX(-1px);
}
#simpleSearch::after {
border-width: 1px;
width: 3px;
height: 0;
transform: translate(4px, 4px) rotate(45deg);
}
/* search result suggestion */
.suggestions {
background: var(--theme-navbar-search-suggestions-background);
border: 1px solid;
border-color: var(--theme-navbar-search-suggestions-border-color);
transform: translateX(3px); /* self border 2px + input border 1px */
}
.suggestions .suggestions-results,
.suggestions .suggestions-special {
background: none;
border: 0;
}
.suggestions .suggestions-results {
border-bottom: 1px solid;
border-bottom-color: var(--theme-navbar-search-suggestions-results-border-bottom-color);
}
.suggestions .suggestions-result,
.suggestions .suggestions-special .special-query,
.suggestions a.mw-searchSuggest-link,
.suggestions a.mw-searchSuggest-link:hover,
.suggestions a.mw-searchSuggest-link:active,
.suggestions a.mw-searchSuggest-link:focus {
color: var(--theme-navbar-search-suggestions-text-color);
}
.suggestions .suggestions-result-current {
background: var(--theme-navbar-search-suggestions-hover-mask);
color: var(--theme-navbar-search-suggestions-text-color-hover);
}
.suggestions .suggestions-special {
margin-top: var(--theme-navbar-search-suggestions-special-offset-top);
border-top: 1px solid;
border-top-color: var(--theme-navbar-search-suggestions-special-border-top-color);
}
.suggestions .suggestions-special .special-label {
color: var(--theme-navbar-search-suggestions-special-label-text-color);
}
.suggestions .suggestions-result-current .special-label {
color: var(--theme-navbar-search-suggestions-special-label-text-color-hover);
}
/**** main content box ****/
body .mw-body {
color: var(--theme-text-color); /* override mw internal css */
/*background: var(--theme-content-background);*/
background: #004b23;
border-style: var(--theme-content-border-style);
border-width: var(--theme-content-border-width);
border-color: var(--theme-content-border-color);
margin: 0 var(--theme-box-border-width);
box-sizing: border-box;
padding: 0;
z-index: 1; /* cover #footer */
display: flex;
flex-direction: column;
}
.content-body {
flex: 1 1 auto;
}
.content-body > main {
align-self: stretch;
padding: var(--main-box-padding);
}
#firstHeading {
border: 0;
margin: 0;
overflow: hidden; /* override mw internal css, fix scroll-x issue for narrow width */
color: var(--theme-heading-color);
}
#contentSub, #contentSub2 {
margin: 0;
}
#contentSub .subpages {
color: transparent;
line-height: 1.5;
font-size: 0;
}
#contentSub .subpages a {
font-size: 12px;
vertical-align: middle;
display: inline-flex;
align-items: center;
padding-left: 4px;
}
#contentSub .subpages a::before {
content: "";
display: inline-block;
height: 4px;
width: 4px;
border-color: var(--theme-content-subpage-icon-color);
border-style: solid;
border-width: 0 0 2px 2px;
margin: 0 2px 0 0;
transform: rotate(45deg);
}
#bodyContent {
display: flex;
flex-direction: column;
}
#mw-content-text {
flex: 1 1 auto;
min-height: 35em;
}
#mw-content-text::before {
content: "";
display: block;
height: 0;
border-top: var(--theme-content-heading-rule-border-top);
border-bottom: var(--theme-content-heading-rule-border-bottom);
margin-top: 2px;
margin-bottom: 1em; /* will collapse with margin-top of content's "top element" */
}
/* section edit link */
.mw-editsection {
white-space: nowrap;
}
/* "category:" box */
#catlinks {
background: var(--theme-content-category-background);
border-width: var(--theme-content-category-border-width);
border-style: var(--theme-content-category-border-style);
border-color: var(--theme-content-category-border-color);
border-radius: var(--theme-content-category-border-radius);
margin: var(--main-layout-gap) 0 0 0;
padding: calc(var(--main-box-padding) / 2) var(--main-box-padding);
}
/* ads */
div.games-showcase-header,
div.games-showcase-footer,
.content-body > .games-showcase-sidebar {
margin: 0;
padding: var(--main-box-padding);
}
div.games-showcase-header {
padding-bottom: 0;
}
div.games-showcase-footer {
padding-top: 0;
}
.games-showcase-header img,
.games-showcase-footer img {
height: 100%;
width: auto;
object-fit: contain;
}
.content-body > .games-showcase-sidebar {
padding-left: 0;
}
aside.games-showcase-sidebar div.sidebar-showcase {
padding: 0 0 var(--main-box-padding) 0;
}
@media screen and (max-width: 1100px) {
.games-showcase-header img,
.games-showcase-footer img {
height: auto !important;
width: 100% !important;
object-fit: contain;
}
}
@media screen and (max-width: 926px) {
.games-showcase-header img,
.games-showcase-footer img {
object-position: 50%;
height: 105px !important;
width: 100% !important;
object-fit: none !important;
}
}
/**** #footer (copyright info) ****/
#footer {
/* self */
color: var(--theme-footer-text-color);
background: var(--theme-footer-background);
background-clip: padding-box;
padding: var(--main-box-padding);
margin: 0 var(--theme-box-border-width) var(--theme-box-border-width) var(--theme-box-border-width);
border-radius: var(--theme-footer-border-radius);
position: relative;
/* grid */
display: grid;
grid-template-columns: [l] 1fr 0fr [r];
grid-template-rows: [t] auto auto [b];
z-index: 0; /* covered by content */
}
.mw-footer li {
color: var(--theme-footer-text-color);
}
#footer a {
color: var(--theme-footer-link-color);
}
#footer a:hover {
color: var(--theme-footer-link-color-hover);
}
#footer-info {
font-size: 11px;
display: contents;
}
#footer ul li {
font-size: inherit;
line-height: 1.5;
padding: 0;
}
#footer-icons {
grid-column: span 1/r;
grid-row: t/b;
place-self: end;
}
#footer #footer-info-lastmod {
grid-column: l/span 1;
grid-row: t/span 1;
place-self: start;
margin-bottom: 1em;
}
#footer #footer-info-copyright {
grid-column: l/span 1;
grid-row: span 1/b;
place-self: end stretch;
position: relative;
padding-right: 100px;
}
#footer-info-copyright img {
position: absolute;
right: 0;
/* mediawiki logo is 31px height, and this image has a 1px black border,
a small tweak to make them visually matched on size and position */
bottom: -1px;
height: 33px;
width: auto;
}
#footer-places,
#footer > div {
display: none;
}
/**** main content box START ***********************************************************/
/****** responsive Layout ******/
@media screen and (max-width: 1800px) {
:root {
--main-layout-sidespace: 0px; /* whitespace width on most left and most right,must with "px" */
}
} /* screen and (max-width: 1800px) */
@media screen and (max-width: 1365px) {
:root {
--main-layout-sidespace: 0;
--main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.75 + 20px);
}
/* re-style "sidebar" nav */
body {
height: 100%;
grid-template-columns: [body-left] 0 [aside-left content-left] minmax(0, 1fr) [content-right aside-right] 0 [body-right];
grid-template-rows: [body-start] var(--main-layout-topbar-height) [page-start logo-start] var(--main-layout-logo-height) [logo-end aside-start] auto [aside-end nav-start] 0fr [nav-end content-start] 1fr [content-end footer-start] 0fr [footer-end] auto [page-end] 0fr [body-end];
}
#p-logo {
background-size: calc(var(--theme-site-logo-width) * 0.75) auto;
}
#p-logo .mw-wiki-logo {
width: calc(var(--theme-site-logo-width) * 0.75);
height: calc(var(--theme-site-logo-height) * 0.75);
}
#mw-panel {
grid-column: aside-left/aside-right;
grid-row: aside-start/aside-end;
height: 35px;
display: flex;
align-items: flex-end;
padding: 0 var(--main-layout-gap);
border: var(--theme-box-border-width) solid var(--theme-box-border-color);
border-radius: 5px;
background: var(--theme-sidebar-box-background-2);
}
#mw-panel .portal,
#mw-panel #p-logo + .portal {
background: none;
box-shadow: none;
border: 0;
margin: 0;
position: relative;
}
#mw-panel #p-logo + .portal .vector-menu-heading,
#mw-panel .portal .vector-menu-heading {
padding: 9px 12px 8px;
border: 0;
border-radius: 0;
background: none;
color: var(--theme-sidebar-heading-text-color-2);
}
#mw-panel #p-logo + .portal.expanded .vector-menu-heading,
#mw-panel .portal.expanded .vector-menu-heading,
#mw-panel #p-logo + .portal:hover .vector-menu-heading,
#mw-panel .portal:hover .vector-menu-heading {
background: var(--theme-sidebar-list-item-hover-mask);
border-radius: 0;
}
#mw-panel .portal .vector-menu-heading::after {
border-color: var(--theme-sidebar-heading-arrow-color-2) transparent;
}
#mw-panel .portal .vector-menu-heading:hover::after {
border-color: var(--theme-sidebar-heading-arrow-color-hover-2) transparent;
}
#mw-navigation #mw-panel .portal .vector-menu-heading::after {
margin-left: 4px;
}
#mw-panel div.portal .vector-menu-heading::after {
border-width: 6px 5px 0 5px;
}
#mw-panel div.portal.expanded .vector-menu-heading::after,
#mw-panel div.portal:hover .vector-menu-heading::after {
border-width: 0 5px 6px 5px;
}
#mw-panel #p-logo + .portal .body,
#mw-panel .portal .body {
display: none !important; /* !important is required, since there is inline-css from sidebar collapse/expand */
position: absolute;
left: 0;
top: 100%;
z-index: 50;
width: max-content;
border: var(--theme-sidebar-dropdown-border);
border-top: 0;
background: var(--theme-sidebar-dropdown-background);
box-shadow: var(--theme-sidebar-box-shadow);
border-radius: 0 0 var(--main-box-border-radius) var(--main-box-border-radius);
min-width: 8em;
}
#mw-panel #p-logo + .portal.expanded .body,
#mw-panel .portal.expanded .body,
#mw-panel #p-logo + .portal:hover .body,
#mw-panel .portal:hover .body {
display: block !important;
}
#mw-panel .portal .body li a,
#mw-panel .portal .body li a:visited {
padding: 6px 8px;
}
/* search: move to sidebar nav box ("main nav bar") */
#mw-head #p-search {
position: absolute;
top: calc(0px - var(--theme-sidebar-box-border-width-2) - 44px);
}
#mw-head #right-navigation #p-cactions {
margin-right: 0;
}
/* "more" menu in #right-navigation causes horizontal scroll bar appear */
#right-navigation .vector-menu-dropdown .vector-menu-content {
left: auto;
right: -1px; /* 1px for border */
}
/* hide sidebar toggle */
#nav-content-size-toggle {
display: none;
}
/* site footer */
body > footer {
margin-top: var(--main-layout-gap);
}
#mw-head #p-search {
border-bottom: 0;
padding-right: calc(var(--main-box-padding) / 2);
}
} /* screen and (max-width: 1365px) */
@media screen and (max-width: 900px) {
:root {
--main-layout-logo-height: calc( var(--theme-site-logo-height) * 0.5 + 20px);
--main-layout-gap: 6px;
--main-box-padding: 6px;
background: var(--theme-site-background);
}
body {
grid-template-columns: [body-left aside-left content-left] minmax(0, 1fr) [aside-right content-right body-right];
}
/** reset mw internal css **/
#mw-head {
position: relative !important;
margin-top: 0;
top: 0;
}
div#mw-navigation div#mw-panel {
display: flex;
position: static;
width: auto;
overflow: visible;
}
div#mw-navigation div#mw-panel .portal {
width: auto;
}
body #footer {
padding-top: 0.75em;
}
body #footer #footer-info-lastmod,
body #footer #footer-info-viewcount {
display: block;
}
#mw-head div#left-navigation,
#mw-head div#right-navigation {
position: static;
}
div#p-logo {
display: block;
/* move to left */
margin: 0 var(--main-layout-gap);
width: calc(var(--theme-site-logo-width) * 0.5);
background-size: calc(var(--theme-site-logo-width) * 0.5) auto;
}
#p-logo .mw-wiki-logo {
width: calc(var(--theme-site-logo-width) * 0.5);
height: calc(var(--theme-site-logo-height) * 0.5);
}
div.mw-body {
margin-top: 0;
margin-left: 0;
margin-right: 0;
}
#mw-head #p-search {
background: var(--theme-navbar-search-background);
padding: 6px 12px 6px 6px;
border: var(--theme-box-border-width) solid var(--theme-box-border-color);
border-radius: 5px;
border-radius: var(--main-box-border-radius) 0 0 var(--main-box-border-radius);
border-width: var(--theme-box-border-width) 0 var(--theme-box-border-width) var(--theme-box-border-width);
top: -110px;
right: -4px;
z-index: 50;
}
#mw-head,
#mw-panel,
.mw-body,
#footer,
#mw-page-base {
border-radius: 0;
border-left: 0;
border-right: 0;
margin-left: 0;
margin-right: 0;
}
#mw-panel::before {
left: 0;
right: 0;
}
} /* screen and (max-width:900px) */
@media screen and (max-width: 720px) {
:root {
--main-layout-topbar-height: 35px; /* height of wiki.gg topbar */
}
/* reset */
div#p-namespaces, div#p-views, div#p-variants {
top: 0;
}
div#mw-navigation div#mw-panel {
font-size: 12px;
}
/* styles */
#mw-panel #p-logo + .portal .vector-menu-heading,
#mw-panel .portal .vector-menu-heading {
font-size: 12px;
padding: 8px 6px;
}
#mw-panel div.portal .vector-menu-heading::after,
#mw-panel .portal.collapsed .vector-menu-heading::after {
border-width: 5px 4px 0;
margin-top: 1px;
}
#mw-panel div.portal.expanded .vector-menu-heading::after,
#mw-panel div.portal:hover .vector-menu-heading::after {
border-width: 0 4px 5px;
}
#mw-panel #p-logo + .portal {
margin-left: calc(var(--main-layout-gap) - 6px);
}
div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited,
div.vectorTabs li a,
div.vector-menu-dropdown .vector-menu-heading span {
font-size: 12px;
padding: 1px 8px;
}
.vectorTabs #ca-unwatch.icon a,
.vectorTabs #ca-watch.icon a,
.vectorTabs #ca-unwatch.icon a.loading,
.vectorTabs #ca-watch.icon a.loading {
padding: 4px 8px;
}
} /* screen and (max-width:720px) */
@media screen and (max-width: 600px) {
:root {
background: var(--theme-site-background);
}
/* reset mw internal css */
#footer #footer-icons {
float: none;
}
#footer #footer-info-copyright {
padding-right: 0;
padding-bottom: 40px;
right: auto;
left: 0;
}
#footer-info-copyright img {
right: auto;
left: 0;
}
div#p-logo {
margin: auto;
width: 100%;
height: 125px;
}
#mw-panel {
margin-top: 45px;
}
#mw-panel::before {
transform: translateY(45px);
}
#mw-head #p-search {
top: -92px;
box-sizing: border-box;
width: 100%;
max-width: 20em;
margin: 0;
padding: var(--main-box-padding);
box-shadow: none;
left: 50%;
right: auto;
transform: translateX(-50%);
border-radius: var(--main-box-border-radius);
border-width: var(--theme-box-border-width);
}
div#simpleSearch {
margin: auto;
width: auto;
}
/* content nav to icons */
div.vectorTabs li.selected a,
div.vectorTabs li.selected a:visited,
div.vectorTabs li a,
div.vector-menu-dropdown .vector-menu-heading span {
width: 20px;
height: 20px;
line-height: 20px;
padding: 3px 6px;
box-sizing: content-box;
}
div.vectorTabs li a::before,
div.vector-menu-dropdown .vector-menu-heading span::before {
content: "";
display: inline-block;
background-color: transparent;
background-repeat: no-repeat;
background-position: center top;
background-size: 100% auto;
width: 20px;
height: 0;
border-bottom: 60px solid transparent;
filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color));
margin: -40px 20px 0 0;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h4v-2H6V4h3.994v4H14v1h2V7.01L11 2z' /%3E%3Cpath d='M13.339 10a.641.641 0 0 0-.643.643v.418a3.536 3.536 0 0 0-1.064.44l-.291-.291a.64.64 0 0 0-.91 0l-.226.228a.641.641 0 0 0 0 .909l.293.293a3.536 3.536 0 0 0-.437 1.056h-.418A.641.641 0 0 0 9 14.34v.322c0 .356.286.643.643.643h.418a3.536 3.536 0 0 0 .44 1.064l-.296.297a.641.641 0 0 0 0 .91l.227.227a.642.642 0 0 0 .909 0l.3-.3a3.536 3.536 0 0 0 1.055.437v.418c0 .357.287.643.643.643h.322a.641.641 0 0 0 .643-.643v-.418a3.536 3.536 0 0 0 1.056-.436l.3.299a.642.642 0 0 0 .908 0l.228-.228a.641.641 0 0 0 0-.909l-.298-.299a3.536 3.536 0 0 0 .441-1.062h.418A.641.641 0 0 0 18 14.66v-.322a.641.641 0 0 0-.643-.643h-.418a3.536 3.536 0 0 0-.436-1.056l.293-.293a.641.641 0 0 0 0-.91l-.228-.227a.642.642 0 0 0-.909 0l-.292.292a3.536 3.536 0 0 0-1.063-.441v-.418A.641.641 0 0 0 13.66 10zm.161 2.5a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-2-2 2 2 0 0 1 2-2z' /%3E%3C/svg%3E%0A");
}
div.vectorTabs li:hover a::before,
div.vector-menu-dropdown:hover .vector-menu-heading span::before,
div.vector-menu-dropdown.open .vector-menu-heading span::before {
filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-hover));
}
.vectorTabs li.new a::before,
.vectorTabs li.new:hover a::before {
filter: drop-shadow(0 40px 0 var(--theme-navbar-tab-icon-color-redlink));
}
#ca-edit a::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='m12.879 2.165-9.465 9.471 4.95 4.95 9.465-9.471zm0 2.829L15 7.115l-6.636 6.643-2.121-2.122zM6.95 18H2v-4.95z'/%3E%3C/svg%3E%0A");
}
#ca-view a::before,
#ca-view-foreign a::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M9.92 4.91c-2.78 0-5.42 1.77-7.53 4.95l-.371.555.371.555c2.12 3.17 4.76 4.95 7.53 4.95 2.78 0 5.42-1.77 7.53-4.95l.371-.555-.371-.555c-2.12-3.17-4.76-4.95-7.53-4.95zm0 2c1.75 0 3.6 1.19 5.34 3.5-1.74 2.31-3.59 3.5-5.34 3.5s-3.6-1.19-5.34-3.5c1.74-2.31 3.59-3.5 5.34-3.5z'/%3E%3Cpath d='M9.84 5.31C7.72 5.31 6 7.04 6 9.15c0 2.12 1.73 3.84 3.84 3.84 2.12 0 3.84-1.73 3.84-3.84 0-2.12-1.73-3.84-3.84-3.84zm0 1c1.58 0 2.84 1.27 2.84 2.84 0 1.58-1.27 2.84-2.84 2.84C8.26 11.99 7 10.72 7 9.15c0-1.58 1.27-2.84 2.84-2.84z'/%3E%3C/svg%3E");
}
#left-navigation li[id^=ca-nstab-] a::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 2v16h12V7.01L11 2zm2 2h3.994v4H14v8H6z'/%3E%3C/svg%3E%0A");
}
#ca-history a::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M10 2a8 8 0 0 0-8 8 8 8 0 0 0 8 8 8 8 0 0 0 8-8 8 8 0 0 0-8-8zm0 2a6 6 0 0 1 6 6 6 6 0 0 1-6 6 6 6 0 0 1-6-6 6 6 0 0 1 6-6z'/%3E%3Cpath d='M9.984 4.986A1 1 0 0 0 9 6v5h3a1 1 0 1 0 0-2h-1V6a1 1 0 0 0-1.016-1.014z'/%3E%3C/svg%3E%0A");
}
#ca-talk a::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M5.391 15.575c.553 1.556-.098 2.537-.942 3.425 3.262-.731 3.243-2.134 3.77-3.425zm10.366-3.933c-.553 1.557.098 2.538.942 3.426-3.262-.732-3.242-2.134-3.769-3.426z'/%3E%3Cpath d='M7.768 7.146c-3.202 0-5.798 2.035-5.797 4.545 0 2.51 2.596 4.544 5.797 4.543 3.2 0 5.794-2.034 5.795-4.543 0-2.51-2.595-4.544-5.795-4.545zm-.022 2.247c2.01 0 3.64 1.034 3.639 2.308-.001 1.274-1.63 2.306-3.639 2.307-2.01 0-3.64-1.033-3.64-2.307-.001-1.275 1.629-2.309 3.64-2.308z'/%3E%3Cpath d='M12.473 2.727c-3.604 0-6.525 2.149-6.526 4.8l2.104-.017c.001-1.392 1.974-2.52 4.406-2.52 2.433 0 4.407 1.128 4.408 2.52 0 1.393-1.973 2.522-4.408 2.521l.016 2.3c3.603-.001 6.524-2.152 6.523-4.804 0-2.65-2.92-4.8-6.523-4.8z'/%3E%3C/svg%3E%0A");
}
#t-contributions a::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M4 5v3.272A2 2 0 0 1 5 8a2 2 0 0 1 2 2 2 2 0 0 1-2 2 2 2 0 0 1-1-.27V15h10V5H4z'/%3E%3Ccircle cx='15.001' cy='10' r='2'/%3E%3Ccircle cx='9' cy='4' r='2'/%3E%3Ccircle cx='9' cy='16' r='2'/%3E%3C/svg%3E");
}
#ca-addsection a::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Crect width='2' height='12' x='9' y='4' ry='0'/%3E%3Crect width='12' height='2' x='4' y='9' ry='0'/%3E%3C/svg%3E%0A");
}
#ca-viewsource a::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20'%3E%3Cpath d='M3 4h3v1H5v11h1v1H3zm14 0v13h-3v-1h1V5h-1V4zM6.5 4H9v1H8v11h1v1H6.5zm7 0v13H11v-1h1V5h-1V4z'/%3E%3C/svg%3E%0A");
}
#p-variants .vector-menu-heading span::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 48 48' width='20'%3E%3Cpath d='M0 0h48v48h-48z' fill='none'/%3E%3Cpath d='M23.99 4c-11.05 0-19.99 8.95-19.99 20s8.94 20 19.99 20c11.05 0 20.01-8.95 20.01-20s-8.96-20-20.01-20zm13.85 12h-5.9c-.65-2.5-1.56-4.9-2.76-7.12 3.68 1.26 6.74 3.81 8.66 7.12zm-13.84-7.93c1.67 2.4 2.97 5.07 3.82 7.93h-7.64c.85-2.86 2.15-5.53 3.82-7.93zm-15.48 19.93c-.33-1.28-.52-2.62-.52-4s.19-2.72.52-4h6.75c-.16 1.31-.27 2.64-.27 4 0 1.36.11 2.69.28 4h-6.76zm1.63 4h5.9c.65 2.5 1.56 4.9 2.76 7.13-3.68-1.26-6.74-3.82-8.66-7.13zm5.9-16h-5.9c1.92-3.31 4.98-5.87 8.66-7.13-1.2 2.23-2.11 4.63-2.76 7.13zm7.95 23.93c-1.66-2.4-2.96-5.07-3.82-7.93h7.64c-.86 2.86-2.16 5.53-3.82 7.93zm4.68-11.93h-9.36c-.19-1.31-.32-2.64-.32-4 0-1.36.13-2.69.32-4h9.36c.19 1.31.32 2.64.32 4 0 1.36-.13 2.69-.32 4zm.51 11.12c1.2-2.23 2.11-4.62 2.76-7.12h5.9c-1.93 3.31-4.99 5.86-8.66 7.12zm3.53-11.12c.16-1.31.28-2.64.28-4 0-1.36-.11-2.69-.28-4h6.75c.33 1.28.53 2.62.53 4s-.19 2.72-.53 4h-6.75z'/%3E%3C/svg%3E");
}
#p-cactions .vector-menu-heading span::before {
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' height='20' viewBox='0 0 24 24' width='20'%3E%3Cpath d='M14 6C14 7.10457 13.1046 8 12 8C10.8954 8 10 7.10457 10 6C10 4.89543 10.8954 4 12 4C13.1046 4 14 4.89543 14 6Z'/%3E%3Cpath d='M14 12C14 13.1046 13.1046 14 12 14C10.8954 14 10 13.1046 10 12C10 10.8954 10.8954 10 12 10C13.1046 10 14 10.8954 14 12Z'/%3E%3Cpath d='M14 18C14 19.1046 13.1046 20 12 20C10.8954 20 10 19.1046 10 18C10 16.8954 10.8954 16 12 16C13.1046 16 14 16.8954 14 18Z'/%3E%3C/svg%3E");
}
/* Except watch/unwatch star. It does not work under chrome. */
div.vectorTabs li.mw-watchlink a::before {
border: 0;
filter: none;
margin: 0 20px 0 0;
}
} /* screen and (max-width:600px) */
@media screen and (max-width: 450px) {
#mw-panel {
padding-left: 6px;
padding-right: 6px;
}
#mw-panel div.portal .vector-menu-heading::after {
display: none;
}
#mw-panel #p-navigation #p-navigation-label,
#mw-panel #p-lang #p-lang-label {
width: 18px;
display: block;
white-space: nowrap;
padding: 8px;
}
#p-navigation-label::before,
#p-lang-label::before {
content: "";
display: inline-block;
vertical-align: bottom;
background-color: transparent;
background-repeat: no-repeat;
background-position: center top;
background-size: 100% auto;
width: 18px;
height: 0;
border-bottom: 60px solid transparent;
position: relative;
filter: drop-shadow(0 42px 0 var(--theme-text-color));
margin: -42px 20px 0 0;
}
#p-navigation-label::before {
background-image: url("data:image/svg+xml,%3Csvg height='18' viewBox='0 0 200 200' width='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M75,20H40A20.06,20.06,0,0,0,20,40V75A20.06,20.06,0,0,0,40,95H75A20.06,20.06,0,0,0,95,75V40A20.06,20.06,0,0,0,75,20Zm0,55H40V40H75Zm95-27.5a10,10,0,0,0-10,10V75H125V40h17.5a10,10,0,0,0,0-20H125a20.06,20.06,0,0,0-20,20V75a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V57.5A10,10,0,0,0,170,47.5ZM75,105H40a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20H75a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,75,105Zm0,55H40V125H75Zm85-55H125a20.06,20.06,0,0,0-20,20v35a20.06,20.06,0,0,0,20,20h35a20.06,20.06,0,0,0,20-20V125A20.06,20.06,0,0,0,160,105Zm0,55H125V125h35Z'/%3E%3C/svg%3E");
}
#p-lang-label::before {
background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 52 52' width='18' height='18' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M39,18.67H35.42l-4.2,11.12A29,29,0,0,1,20.6,24.91a28.76,28.76,0,0,0,7.11-14.49h5.21a2,2,0,0,0,0-4H19.67V2a2,2,0,1,0-4,0V6.42H2.41a2,2,0,0,0,0,4H7.63a28.73,28.73,0,0,0,7.1,14.49A29.51,29.51,0,0,1,3.27,30a2,2,0,0,0,.43,4,1.61,1.61,0,0,0,.44-.05,32.56,32.56,0,0,0,13.53-6.25,32,32,0,0,0,12.13,5.9L22.83,52H28l2.7-7.76H43.64L46.37,52h5.22Zm-15.3-8.25a23.76,23.76,0,0,1-6,11.86,23.71,23.71,0,0,1-6-11.86Zm8.68,29.15,4.83-13.83L42,39.57Z'/%3E%3C/svg%3E");
}
#mw-navigation #mw-panel #p-lang {
margin-left: auto;
display: flex;
justify-content: flex-end;
}
#mw-panel #p-lang .body {
left: auto;
right: 0;
}
div#simpleSearch {
width: 90%;
}
} /* screen and (max-width:450px) */
/***** Notification *****/
.mw-notification {
color: var(--theme-text-color);
border: var(--theme-box-border-width) solid var(--theme-box-border-color);
border-radius: 5px;
transform: none;
}
/* postedit notification */
.postedit-container {
top: 4em;
}
/* Notification boxes on the right, e.g. after patrolling an edit */
.mw-notification.mw-notification-type-error {
color: var(--theme-notice-red-text-color);
border-color: var(--theme-notice-red-text-color);
}
.mw-notification.mw-notification-type-warn {
color: var(--theme-notice-orange-text-color);
border-color: var(--theme-notice-orange-text-color);
}
/*
css for floating-scroll v3.2.0
https://amphiluke.github.io/floating-scroll/
(c) 2022 Amphiluke
*/
.fl-scrolls {
overflow: auto;
position: fixed;
}
.fl-scrolls div {
overflow: hidden;
pointer-events: none;
}
.fl-scrolls div:before {
content: " ";
}
.fl-scrolls, .fl-scrolls div {
font-size: 1px;
line-height: 0;
margin: 0;
padding: 0;
}
.fl-scrolls-hidden div:before {
content: " ";
}
.fl-scrolls-viewport {
position: relative;
}
.fl-scrolls-body {
overflow: auto;
}
.fl-scrolls-viewport .fl-scrolls {
position: absolute;
}
.fl-scrolls-hoverable .fl-scrolls {
opacity: 0;
transition: opacity 0.5s 0.3s;
}
.fl-scrolls-hoverable:hover .fl-scrolls {
opacity: 1;
}
.fl-scrolls:not([data-orientation]), .fl-scrolls[data-orientation=horizontal] {
bottom: 0;
min-height: 17px;
}
.fl-scrolls:not([data-orientation]) div, .fl-scrolls[data-orientation=horizontal] div {
height: 1px;
}
.fl-scrolls-hidden.fl-scrolls:not([data-orientation]), .fl-scrolls-hidden.fl-scrolls[data-orientation=horizontal] {
bottom: 9999px;
}
.fl-scrolls-viewport .fl-scrolls:not([data-orientation]), .fl-scrolls-viewport .fl-scrolls[data-orientation=horizontal] {
left: 0;
}
.fl-scrolls[data-orientation=vertical] {
right: 0;
min-width: 17px;
}
.fl-scrolls[data-orientation=vertical] div {
width: 1px;
}
.fl-scrolls-hidden.fl-scrolls[data-orientation=vertical] {
right: 9999px;
}
.fl-scrolls-viewport .fl-scrolls[data-orientation=vertical] {
top: 0;
}
/*css for wide table */
.table-wide {
clear: both;
position: relative;
}
.mw-parser-output > .table-width {
margin-top: 0.5em;
margin-bottom: 0.5em;
}
.table-wide-inner {
overflow-x: auto;
}
.table-wide-inner > table {
margin: 0 !important;
}
.table-wide:before {
box-shadow: inset -15px 0 20px -15px var(--theme-wide-table-shadow-color);
content: "";
display: block;
width: 20px;
height: 100%;
pointer-events: none;
position: absolute;
right: 0;
z-index: 2;
}
/***********************************************************************************************************
* Common styles for "real" wiki page content.
***********************************************************************************************************/
/* Code box */
pre, code, .mw-code
{
background-color: #1a1a1a;
color: #ffcc00;
}
/* Recent changes info box */
.mw-changeslist-legend
{
color:black;
}
/* Searched information */
.mw-search-profile-tabs
{
background-color: transparent;
}
/* User Profile box */
.mw-message-box
{
color: white;
background-color: black;
}
/* File information */
#filetoc
{
background-color: transparent;
}
.mw_metadata td
{
color: #AD532D;
}
/** ToC **/
.toc {
border-radius: 4px;
border: 1px solid var(--theme-border-color);
background: var(--theme-box-background);
margin: 1em auto 1em 0;
padding: 0;
font-size: 1em;
min-width: 12em;
}
.toc .toctitle h2 {
margin: 0;
display: flex;
align-items: center;
padding: 0 0.5em;
}
.toc .toctitle h2::before {
content: "";
display: block;
width: 12px;
height: 0;
border-bottom: 52px solid transparent;
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewbox='0 0 12 12'%3E%3Cpath id='bulleted-list-tiny' d='M1.29 9.277c-.181.19-.29.45-.29.71 0 .26.109.52.29.71.189.18.45.29.71.29.26 0 .519-.11.71-.29.18-.19.29-.45.29-.71 0-.26-.11-.52-.29-.71-.38-.37-1.05-.37-1.42 0M10 9H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M6 3h4a1 1 0 1 0 0-2H6a1 1 0 1 0 0 2m4 2H6a1 1 0 1 0 0 2h4a1 1 0 1 0 0-2M1.29 1.277c.37-.37 1.04-.37 1.42 0 .18.19.29.45.29.71 0 .26-.11.52-.29.71-.191.18-.45.29-.71.29-.26 0-.521-.11-.71-.29-.181-.19-.29-.45-.29-.71 0-.26.109-.52.29-.71zM2.55 5.17c.06.03.11.08.16.12.18.19.29.45.29.71 0 .26-.11.521-.29.71-.05.04-.1.09-.16.12a.559.559 0 0 1-.17.09c-.06.03-.12.05-.19.06-.06.01-.13.02-.19.02-.26 0-.52-.11-.71-.29A1.05 1.05 0 0 1 1 6c0-.26.11-.52.29-.71.24-.23.58-.34.9-.269a.6.6 0 0 1 .19.058c.06.021.12.051.17.091z'%3E%3C/path%3E%3C/svg%3E");
background-repeat: no-repeat;
background-position: center top;
background-size: 100% auto;
filter: drop-shadow(0 40px 0 var(--theme-text-color));
margin: -40px 6px 0 0;
}
.toc .toctitle {
position: relative;
overflow: hidden;
text-align: left;
}
.toc .toctogglelabel {
position: absolute;
width: 100%;
height: 100%;
left: 0;
top: 0;
box-sizing: border-box;
padding-right: 1em;
display: flex;
align-items: center;
justify-content: flex-end;
}
.toc .toctogglespan::before,
.toc .toctogglespan::after {
display: none;
}
.toc .toctogglelabel::after {
display: none;
}
.toc .toctogglelabel::before {
content: "";
display: inline-block;
background: none;
position: relative;
width: 0;
height: 0;
border-style: solid;
border-color: var(--theme-widget-toc-arrow-color) transparent;
border-width: 0 5px 6px 5px;
vertical-align: middle;
flex: 0 0 auto;
}
.toc .toctogglelabel:hover::before {
border-color: var(--theme-widget-toc-arrow-color-hover) transparent;
}
.toc .toctogglecheckbox:checked + .toctitle .toctogglelabel::before {
border-width: 6px 5px 0 5px;
}
/* Won't change ToC box width when toggle show/hide. */
.toctogglecheckbox:checked ~ ul {
overflow: hidden;
display: block;
height: 0;
border: 0;
padding-top: 0;
padding-bottom: 0;
}
/* content list */
.mw-content-ltr .toc ul ul,
.mw-content-rtl.toc ul ul {
margin: 0 0 0 1em;
}
.toc a {
color: var(--theme-text-color);
}
.toc .tocnumber {
color: var(--theme-text-color-note);
}
.toc .tocnumber::after {
content: ".";
}
.toc .toctitle,
.toc > ul {
padding: 0.5em;
}
.toc > ul {
border-top: 1px solid var(--theme-border-color);
margin: 0;
}
.toc > ul a {
display: block;
padding: 2px 0.5em;
border-radius: 4px;
transition: background 0.1s;
}
.toc > ul a:hover {
text-decoration: none;
background: var(--theme-widget-toc-item-hover-background);
}
.toc h2 {
font-weight: normal;
}
.toc li {
margin: 0;
}
/***********************************************************************************************************
* common style for content box
***********************************************************************************************************/
.fullwidth, .full-width {
width: 100%;
}
.nowrap {
white-space: nowrap;
}
/* ".center" has width=100% rule, we don't want it, so use a different class name. */
.aligncenter,
.align-center {
text-align: center;
}
.alignleft,
.align-left {
text-align: left;
}
.alignright,
.align-right {
text-align: right;
}
/* clear fix for float block */
.clearfix {
*zoom: 1;
}
.clearfix::before,
.clearfix::after {
content: " ";
display: table;
}
.clearfix::after {
clear: both;
}
/* Thumbnail background color */
html .thumbimage {
background-color: #0b0029;
}
/** gallery **/
.thumbinner {
border-radius: 5px;
}
li.gallerybox div.thumb {
border-radius: 5px;
}
.gallery * {
box-sizing: initial;
}
.mw-gallery-traditional .thumb {
display: flex;
background: none;
}
.mw-gallery-traditional .thumb a {
display: block;
}
.portable-infobox {
border: 1px solid var(--theme-border-color);
background: none;
}
/***********************************************************************************************************
* css for specific pages
***********************************************************************************************************/
/*********** Main page START ****************/
/* Hide page title on main page */
body.rootpage-Terracotta_Wiki.action-view h1.firstHeading,
body.rootpage-Terracotta_Wiki.action-view .mw-body .mw-indicators,
body.rootpage-Terracotta_Wiki.action-view #mw-content-text::before {
display: none;
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .footer {
text-align: right;
font-size: 12px;
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .box {
border: 1px solid var(--theme-border-color);
border-radius: var(--main-box-border-radius);
padding: 1.5em;
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent h2 {
margin-top: 0;
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent p {
margin: 0;
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap {
display: flex;
gap: 12px;
align-items: stretch;
margin-bottom: 1em;
}
@media (max-width: 900px) {
body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap {
display: block;
margin-bottom: 0;
}
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .box {
flex: 1 0 auto;
}
@media (max-width: 900px) {
body.rootpage-Terracotta_Wiki.action-view #bodyContent .box {
margin-bottom: 1em;
}
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header {
font-size: 16px;
text-align: center;
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header h2 em {
display: inline-block;
font-style: normal;
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links ul {
margin: 1em auto auto;
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .box.header .links li {
list-style: none;
display: inline-block;
margin: 0 0.5em;
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro {
display: flex;
gap: 12px;
flex-direction: column;
flex: 2 2 400px;
}
@media (max-width: 900px) {
body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .intro {
display: block;
}
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay {
flex: 3 3 800px;
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a {
display: flex;
gap: 1em;
}
@media screen and (max-width: 1600px) {
body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a {
flex-direction: column;
}
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gameplay .a li {
margin-top: 0.5em;
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .comm {
flex: 1 1 410px;
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul {
margin: 1em 0 0;
display: grid;
grid-template-columns: 1fr 1fr 1fr;
gap: 1.5em;
list-style: none;
}
@media screen and (max-width: 1400px) {
body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul {
grid-template-columns: 1fr 1fr;
}
}
body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul a, body.rootpage-Terracotta_Wiki.action-view #bodyContent .content-wrap .gallery ul img {
display: block;
width: 100% !important;
height: auto !important;
}
/*********** Main page END ****************/
.mp-flex {
display: flex;
flex-wrap: wrap;
justify-content: flex-start;
gap: 15px;
}
.mp-left {
flex: 4;
}
.mp-right {
flex: 1 275px;
}
.navbox {
--navbox-bg-color: var(--theme-content-background);
--navbox-text-color: var(--theme-text-color);
--navbox-title-color: var(--theme-navbar-tab-background);
--navbox-header-color: var(--theme-navbar-tab-background);
--navbox-alt-color: var(--theme-content-background);
--navbox-border-color: var(--theme-border-color)
}
.navbox {
width: 100%;
background: var(--navbox-bg-color, white);
color: var(--navbox-text-color, black);
margin: 1em auto;
font-size: 84%;
clear: both;
padding: 2px;
border-spacing: 0;
border: 1px solid var(--navbox-border-color, #AAA);
}
.navbox-title,
table.navbox th {
padding-left: 1em;
padding-right: 1em;
text-align: center;
}
/* Even row striping */
.navbox-even {
background: var(--theme-box-border-color);
color: #000;
}
/* Odd row striping */
.navbox-odd {
background: transparent;
}
.collapseButton {
font-weight: normal;
width: auto;
}
.navbox .collapseButton {
width: 6em;
}
.navbar {
font-size: 88%;
font-weight: normal;
}
.navbox .navbar {
font-size: 100%;
}
table.collapsed tr.collapsible {
display: none;
}
/* Merges navboxes that are directly under eachother */
.navbox + .navbox {
margin-top: -11px;
}
.navbox .navbox-title {
background: var(--navbox-title-color, #CCF);
color: var(--navbox-text-color, black);
font-weight: bold;
}
.navbox .navbox-vde {
float:left;
width:65px;
}
.navbox .navbox-title-padright {
padding-right: 65px;
}
.navbox .navbox-title-padleft {
padding-left: 65px;
}
.navbox .navbox-subgroup {
border-spacing: 0;
width: 100%;
}
.navbox .navbox-gutter {
height: 2px;
}
.navbox .navbox-subgroup .navbox-gutter {
background: var(--navbox-bg-color, white);
}
.navbox .navbox-section-row > td {
padding: 0;
height: 100%;
}
.navbox .navbox-section {
width: 100%;
border-spacing: 0;
}
.navbox .navbox-above,
.navbox .navbox-below {
background: var(--navbox-header-color, #DDF);
text-align: center;
}
.navbox .navbox-image {
background: var(--navbox-bg-color, white);
text-align: center;
}
.navbox .navbox-group,
.navbox .navbox-header {
background: var(--navbox-header-color, #DDF);
color: var(--navbox-text-color, black);
font-weight: bold;
height: 100%;
padding: 2px 4px;
}
.navbox .navbox-header-collapsible {
padding-left: 65px;
}
.navbox .navbox-group {
text-align: center;
padding-left: 1em;
padding-right: 1em;
white-space: nowrap;
}
.navbox .navbox-group,
.navbox .navbox-image-left {
border-right: 2px solid var(--navbox-bg-color, white);
}
.navbox-image-right {
border-left: 2px solid var(--navbox-bg-color, white);
}
.navbox .navbox-list {
background: var(--navbox-bg-color, white);
color: var(--navbox-text-color, black);
width: 100%;
height: 100%;
padding: 0;
}
.navbox .alt > .navbox-list {
background: var(--navbox-alt-color, #F7F7F7);
}
.navbox .navbox-list div {
padding: 0px 4px;
}
.navbox .navbox-list.no-group {
text-align: center;
padding-top: 2px;
padding-bottom: 2px;
}
.navbox .mw-collapsible-toggle {
width: 65px;
}
/* hlist */
.hlist ul {
margin: 0;
list-style: none;
}
.hlist li, .hlist ul ul {
display: inline;
}
.hlist li a {
white-space: nowrap;
}
.hlist ul ul:before {
content: "("
}
.hlist ul ul:after {
content: ")"
}
.hlist li:after {
content: " • ";
}
.hlist ul ul li:after {
content: "/";
}
.hlist li:last-child:after, .hlist ul ul li:last-child:after {
content: none;
}
li.gallerybox div.thumb {
background-color: transparent;
border: 0;
}
/* Mark redirects in Special:Allpages and Special:Watchlist */
.allpagesredirect {
font-style: italic;
}
.allpagesredirect:after {
color: #808080; content: " (redirect)"
}
.watchlistredir {
font-style: italic;
}
/* Giving headers and TOC a little extra space */
h2 {
margin-top: 20px;
}
.toc {
margin-top: 20px;
}
/* Navboxes */
.navbox {
width: 100%;
clear: both;
}
.mw-parser-output .fpbox{
margin: 0 auto
}
.mw-parser-output #fpwiki{
width: 100%;
display: flex;
justify-content: center;
align-items: center;
}
.fplink{
background: #006400;
border-style: none;
}
.fplink:hover{
background: #019501;
}
.fplink:not(.fplink-plain){
border-style: none;
border-radius: 12px
}
.fplink-inner a{
color: #38b000;
}
.fplink-inner a:hover{
color: #9ef01a;
}