Game widow (talk | contribs) No edit summary |
Game widow (talk | contribs) No edit summary |
||
Line 183: | Line 183: | ||
} |
} |
||
+ | /* Tables */ |
||
+ | table.mw_metadata td, |
||
+ | table.mw_metadata th { |
||
+ | background-color: var(--theme-page-background-color); |
||
+ | border: 1px solid var(--theme-page-background-color--secondary); |
||
+ | } |
||
+ | |||
+ | table.wikitable { |
||
+ | background-color: var(--theme-sticky-nav-text-color); |
||
+ | } |
||
+ | |||
+ | |||
+ | .wikitable th { |
||
+ | background-color: var(--theme-sticky-nav-text-color); |
||
+ | border: 1px solid var(--theme-sticky-nav-text-color--hover); |
||
+ | color: var(--theme-body-text-color); |
||
+ | padding: 0.2em; |
||
+ | text-transform: uppercase; |
||
+ | } |
||
+ | |||
+ | .wikitable td { |
||
+ | border: 1px solid var(--theme-sticky-nav-text-color--hover); |
||
+ | color: var(--theme-body-text-color); |
||
+ | padding: 0.2em; |
||
+ | } |
||
+ | |||
+ | table.wikitable > tr > th, |
||
+ | table.wikitable > * > tr > th { |
||
+ | background-color: var(--theme-sticky-nav-text-color--hover); |
||
+ | color: var(--theme-body-text-color); |
||
+ | } |
||
+ | |||
+ | /* Infoboxes */ |
||
.infobox-header { |
.infobox-header { |
||
background-color: var(--theme-page-background-color--secondary); |
background-color: var(--theme-page-background-color--secondary); |
Revision as of 16:35, 15 June 2021
.mobileonly {
display: none;
}
/*********************
/* Front page styles *
/*********************/
.fpmain {
width: 100%;
overflow: hidden;
z-index: 1;
}
.fpmidsections {
float: left;
width: 100%;
overflow: hidden;
}
.fpbox {
border: none;
border-radius: 10px;
background-color: var(--theme-accent-color);
margin: 10px 10px 15px 10px;
padding: 18px;
overflow: auto;
}
.fpbox .mainheading {
border: none;
border-bottom: 1px solid #7b8489;
font-size: 150%;
font-weight: bold;
margin: 0 0 10px 0;
padding: 0 0 5px 0;
overflow: auto;
}
.fpbox .heading {
border: none;
border-bottom: none;
font-size: 132%;
text-transform: uppercase;
text-align: left !important;
font-weight: bold;
margin: 0 0 10px 0;
padding: 0 0 5px 0px;
overflow: auto;
}
.fpmain .columns .leftcol {
width: 100%;
margin: 0;
padding: 0;
}
.fpmain .columns .rightcol {
width: 100%;
margin: 0;
padding: 0;
}
.fpsection1, .fpsection2, .fpsection3, .fpsection4 {
float: left;
clear: both;
width: 100%;
}
div.fp2columnonly, div.fp3columnonly {
display: none;
}
@media (min-width: 790px) {
.fpsection1 {
float: left;
clear: none;
width: 50%;
}
.fpmidsections {
clear: none;
float: right;
width: 50%;
}
.fpsection4 {
float: left;
clear: none;
width: 50%;
}
div.fp2columnonly {
display: block;
}
}
@media (min-width: 990px) {
.fpmain .columns .leftcol {
float: left;
width: 50%;
margin: 0;
padding: 0;
}
.fpmain .columns .rightcol {
float: right;
width: 50%;
margin: 0;
padding: 0;
}
}
@media (min-width: 1390px) {
.fpmidsections {
clear: none;
float: right;
width: 66.667%;
}
.fpsection1 {
clear: none;
width: 33.333%;
}
.fpsection2 {
clear: none;
width: 50%;
}
.fpsection3 {
clear: none;
width: 50%;
}
.fpsection4 {
clear: left;
width: 33.333%;
}
div.fp2columnonly {
display: none;
}
div.fp3columnonly {
display: block;
}
}
.fpbox.plain {
border: none;
box-shadow: none;
background: transparent;
}
.fpimagelist ul {
list-style-type: none;
list-style-image: none;
}
.fpvideos {
margin: 0 auto;
overflow: hidden;
text-align: center;
}
.fpvideo {
display: inline-block;
margin: 0 5px;
}
.infobox {
width:25em;
max-width:100%;
box-sizing:border-box;
background-color: var(--theme-accent-color);
border: none;
border-radius:10px;
padding: 10px;
float: right;
margin-left: 1em;
margin-right:1em;
margin-bottom: 0.5em;
}
/* Tables */
table.mw_metadata td,
table.mw_metadata th {
background-color: var(--theme-page-background-color);
border: 1px solid var(--theme-page-background-color--secondary);
}
table.wikitable {
background-color: var(--theme-sticky-nav-text-color);
}
.wikitable th {
background-color: var(--theme-sticky-nav-text-color);
border: 1px solid var(--theme-sticky-nav-text-color--hover);
color: var(--theme-body-text-color);
padding: 0.2em;
text-transform: uppercase;
}
.wikitable td {
border: 1px solid var(--theme-sticky-nav-text-color--hover);
color: var(--theme-body-text-color);
padding: 0.2em;
}
table.wikitable > tr > th,
table.wikitable > * > tr > th {
background-color: var(--theme-sticky-nav-text-color--hover);
color: var(--theme-body-text-color);
}
/* Infoboxes */
.infobox-header {
background-color: var(--theme-page-background-color--secondary);
border: none;
text-align: center;
font-size: 150%;
padding: 5px 5px 5px 5px;
text-transform:uppercase;
}
.infobox-label {
background-color: var(--theme-page-background-color--secondary);
text-align:center;
}
/* Navbox template style */
table.navbox {
border: 1px solid #505050;
clear: both;
font-size: 88%;
margin: auto;
padding: 1px;
text-align: center;
width: 100%;
}
/* Border between adjacent navboxes */
table.navbox + table.navbox {
margin-top: -1px;
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
padding-left: 1em;
padding-right: 1em;
text-align: center;
}
.navbox-group {
font-weight: bold;
padding-left: 1em;
padding-right: 1em;
white-space: nowrap;
}
/* Base background */
.navbox, .navbox-subgroup {
background: rgba(var(--theme-body-background-color--rgb), 0.1);
}
.navbox-list {
border-color: rgba(var(--theme-body-background-color--rgb), 0.1); /* Must match background color */
}
/* Level 1 color */
.navbox-title,
table.navbox th {
background: rgba(var(--theme-body-background-color--rgb), 0.2);
color: var(--theme-body-text-color);
}
/* Level 2 styling */
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
background: rgba(var(--theme-body-background-color--rgb), 0.2);
color: var(--theme-body-text-color);
}
/* Level 3 styling */
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: rgba(var(--theme-body-background-color--rgb), 0.1);
color: var(--theme-body-text-color);
}
/* Even row striping */
.navbox-even {
background: rgba(var(--theme-accent-dynamic-color-1--rgb), 0.1);
color: var(--theme-body-text-color);
}
/* 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;
}
/* End of new Navbox styling */
/* for "edit this page" tab and "discussion" tab etc */
.pagetab {
border-style: solid solid none;
border-width: thin;
border-color: var(--theme-border-color);
padding: 0.25ex 1ex 0ex;
font-size: 95%;
}
.ambox {
background-color: var(--theme-page-background-color--secondary);
border-bottom-color: var(--theme-border-color);
border-right-color: var(--theme-border-color);
border-top-color: var(--theme-border-color);
border-collapse: collapse;
font-size: 95%;
margin: 0 auto 2px auto;
width: 80%;
}
.ambox-gray {
border-left-color: #383838;
}
.ambox.ambox-tiny {
font-size: 90%;
margin: 2px 0;
width: auto;
}
.ambox + .ambox {
margin-top: -2px;
}
.ambox-text {
padding: 0.25em 0.5em;
}
.ambox-image {
padding: 2px 0px 2px 0.5em;
text-align: center;
width: 60px;
}
.ambox-tiny .ambox-image {
padding: 2px 0.5em;
text-align: left;
width: auto;
}
/* Ambox colors */
.ambox-blue {
border-left: 10px solid #1e90ff;
}
.ambox-red {
border-left: 10px solid #b22222;
}
.ambox-orange {
border-left: 10px solid #f28500;
}
.ambox-yellow {
border-left: 10px solid #f4c430;
}
.ambox-purple {
border-left: 10px solid #9932cc;
}
.ambox-gray {
border-left: 10px solid #bba;
}
.ambox-green {
border-left: 10px solid #228b22;
}
/* Ambox small text */
.amsmalltext {
font-size: smaller;
margin-left: 0.8em;
margin-top: 0.5em;
}
/* Template documentation styles */
/* If modifying these styles, be sure to update the mobile skin! */
.doc {
margin: 0em auto 1em;
background-color: rgba(var(--theme-body-background-color--rgb), 0.1);
border: 2px solid #BDCAC3;
border-radius: 1em;
padding: 1em;
}
.doc-header {
padding-bottom: 3px;
border-bottom: 1px solid #BDCAC3;
margin-bottom: 1ex;
}
.doc-footer {
margin: 0;
background-color: rgba(var(--theme-body-background-color--rgb), 0.1);
border: 2px solid #BDCAC3;
border-radius: 1em;
padding: 1em;
}
/* Dark theme copyright images tweak */
.theme-fandomdesktop-dark .copyright-icon {
background-image: url("https://static.wikia.nocookie.net/commons_hydra/images/thumb/5/58/Copyright_darkwiki.png/32px-Copyright_darkwiki.png");
background-size: 100%;
height: 32px;
width: 32px;
}
.theme-fandomdesktop-dark .feature {
background: rgba(255, 255, 255, 0.01);
border: 1px solid rgba(255, 255, 255, 0.05);
border-radius: 5px;
padding: 10px;
}
/* Light theme copyright images tweak */
.theme-fandomdesktop-light .copyright-icon {
background: url("https://static.wikia.nocookie.net/commons_hydra/images/thumb/b/b6/Copyright.png/32px-Copyright.png") transparent center center no-repeat;
background-size: 100%;
width: 32px;
height: 32px;
}
.theme-fandomdesktop-light .feature {
background: rgba(0, 0, 0, 0.05);
border: 1px solid rgba(0, 0, 0, 0.2);
border-radius: 5px;
padding: 10px;
}