MediaWiki:Common.css: Difference between revisions

The Two Worlds Wiki - Documenting Two Worlds since 2008.
Jump to navigation Jump to search
Mystery Dungeon Independent>Korra II A Royal
No edit summary
No edit summary
 
(212 intermediate revisions by 5 users not shown)
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */
/* This governs the sections on the Community portal */
.cpbox {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: wrap;
}


.cpbox #admins {
:root {
    box-sizing: border-box;
--TwoWorldsWiki-primary-color: #D9C790;
    width: calc(33% - 10px);
--TwoWorldsWiki-secondary-color: #6C96A8;
    margin: 5px;
--TwoWorldsWiki-tertiary-color: #406A72;
    flex-grow: 1;
--TwoWorldsWiki-border-color: #297999;
    min-width: 300px;
}
}


.cpbox #help {
.TwoWorldsWiki,
    box-sizing: border-box;
.templateTheme {
    width: calc(67% - 10px);
border: 3px solid var(--TwoWorldsWiki-border-color);
    margin: 5px;
background-color: var(--TwoWorldsWiki-tertiary-color);
    flex-grow: 1;
}
div#mw-panel div.portal li a[href="https://discord.gg/4dKnfpW"] {
    display: inline-block;
    position: relative;
    height: 20px;
    width: 119px
}
}


div#mw-panel div.portal li a[href="https://discord.gg/4dKnfpW"]::before {
.TwoWorldsWiki th,
    position: absolute;
.templatePrimary {
    width: 100%;
background-color: var(--TwoWorldsWiki-secondary-color);
    height: 100%;
    top: 0;
    left: 0;
    content: "";
    background: url(https://discordapp.com/api/guilds/502973274125238284/embed.png) no-repeat
}
}


/* Template documentation styles */
.TwoWorldsWiki td,
/* If modifying these styles, be sure to update the mobile skin! */
.templateSecondary {
.doc {
background-color: var(--TwoWorldsWiki-primary-color);
    margin: 0em auto 1em;
    background-color: rgba(0, 0, 0, 0.1);
    border: 2px solid #BDCAC3;
    border-radius: 1em;
    padding: 1em;
}
}


.doc-header {
/* Wiki theme */
    padding-bottom: 3px;
table.wikitable,
    border-bottom: 1px solid #BDCAC3;
table.TwoWorldsWiki {
    margin-bottom: 1ex;
background-color: var(--TwoWorldsWiki-tertiary-color);
border: 3px solid var(--TwoWorldsWiki-border-color);
}
}


.doc-footer {
table.wikitable {
    margin: 0;
margin: auto;
    background-color: rgba(0, 0, 0, 0.1);
text-align: center;
    border: 2px solid #BDCAC3;
    border-radius: 1em;
    padding: 1em;
}
}


/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile */
table.wikitable > * > tr > td,
/* (See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */
table.wikitable > * > tr > th {
.desktopleft {
border: 3px solid var(--TwoWorldsWiki-border-color);
    text-align: left;
}
}


.desktopcenter {
table.wikitable > * > tr > th,
    text-align: center;
table.TwoWorldsWiki > * > tr > th {
background-color: var(--TwoWorldsWiki-secondary-color);
}
}


.desktopright {
table.wikitable > * > tr > td,
    text-align: right;
table.TwoWorldsWiki > * > tr > td {
background-color: var(--TwoWorldsWiki-primary-color);
}
}


/* this CSS governs the responsive 2 column main page layout */
.filehistory tr td:last-of-type {
#fp-container {
word-break: break-word;
    display: grid;
    grid-template-areas: "a" "b" "c";
    grid-template-columns: 100%;
}
}


#fp-container main .columns .leftcol,
/* Site sub / Tagline settings */
#fp-container .columns .rightcol {
#siteSub {
    width: 100%;
display: block;
    margin: 0;
text-align: center;
    padding: 0;
font-size: calc(1em * 0.9);
}
}


@media screen and (min-width:650px) {
body.page-Two_Worlds_Wiki.action-view #siteSub,
    #fp-container .columns .leftcol {
body.page-Two_Worlds_Wiki.action-submit #siteSub {
        float: left;
display: none;
        width: 50%;
    }
 
    #fp-container .columns .rightcol {
        float: right;
        width: 50%;
    }
}
@media screen and (min-width:990px) {
    #fp-container {
        grid-template-areas: "a b" "c c";
        grid-template-columns: 50% 50%;
    }
}
@media screen and (min-width:1350px) {
    #fp-container {
        grid-template-areas: "a b" "c b";
        grid-template-columns: auto 520px;
    }
}
}


.fp-section {
/* This governs the sections on the Community portal */
    display: flex;
.cpbox {
    flex-wrap: wrap;
display: flex;
flex-direction: row-reverse;
flex-wrap: wrap;
}
}


#fp-top {
.cpbox #admins {
    grid-area: a;
box-sizing: border-box;
width: calc(33% - 10px);
margin: 5px;
flex-grow: 1;
min-width: 300px;
}
}


#fp-flex {
.cpbox #help {
    grid-area: b;
box-sizing: border-box;
width: calc(67% - 10px);
margin: 5px;
}
}


#fp-bottom {
/* This governs the page/section title placement */
    grid-area: c;
h1,
h2,
h3,
h4,
h5,
h6 {
text-align: center
}
}


/* Sidebar Discord embed */
/* Template documentation styles
 
If modifying these styles, be sure to update the mobile skin! */
#mw-panel .portal .body ul {
.doc {
    min-width: calc(0.5em + 119px);
margin: 0 auto 1em;
background-color: rgba(0, 0, 0, 0.1);
border: 2px solid #A78558;
padding: 1em;
}
}


div#mw-panel div.portal li a[href="https://discord.gg/4dKnfpW"] {
.doc-header {
    display: inline-block;
padding-bottom: 3px;
    position:relative;
border-bottom: 1px solid #A78558;
    height: 20px;
margin-bottom: 1ex;
    width: 119px;
}
}


div#mw-panel div.portal li a[href="https://discord.gg/4dKnfpW"]::before {
.doc-footer {
    position:absolute;
margin: 0;
    width:100%;
background-color: rgba(0, 0, 0, 0.1);
    height:100%;
border: 2px solid #A78558;
    top:0;
padding: 1em;
    left:0;
    content:"";
    background:url(https://discordapp.com/api/guilds/502973274125238284/embed.png) no-repeat;
}
}


/* Classes from Gamepedia Help Wiki's Common.css */
/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile
 
(See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */
.ambox {
.desktopleft {
    background-color: rgba(120,120,120,0.2);
text-align: left;
    border-bottom-color: #383838;
    border-right-color: #383838;
    border-top-color: #383838;
    border-collapse: collapse;
    font-size: 95%;
    margin: 0 auto 2px auto;
    width: 80%;
}
}


.ambox-gray {
.desktopcenter {
    border-left-color: #383838;
text-align: center;
}
}


.ambox.ambox-tiny {
.desktopright {
    font-size: 90%;
text-align: right;
    margin: 2px 0;
    width: auto;
}
}


.ambox + .ambox {
/* This CSS governs the responsive 2 column main page layout */
    margin-top: -2px;
#fp-container {
display: grid;
grid-template-areas: "a" "b" "c";
grid-template-columns: 100%;
}
}


.ambox-text {
#fp-container main .columns .leftcol,
    padding: 0.25em 0.5em;
#fp-container .columns .rightcol {
width: 100%;
margin: 0;
padding: 0;
}
}


.ambox-image {
.fp-section {
    padding: 2px 0px 2px 0.5em;
display: flex;
    text-align: center;
flex-wrap: wrap;
    width: 60px;
}
}


.ambox-tiny .ambox-image {
#fp-top {
    padding: 2px 0.5em;
grid-template-areas: a;
    text-align: left;
    width: auto;
}
}


/* Ambox colors */
#fp-flex {
.ambox-blue {
grid-template-areas: b;
    border-left: 10px solid #1e90ff;
}
}


.ambox-red {
#fp-bottom {
    border-left: 10px solid #b22222;
grid-template-areas: c;
}
}


.ambox-orange {
/* Misc */
    border-left: 10px solid #f28500;
}


.ambox-yellow {
/* Main page */
    border-left: 10px solid #f4c430;
.mainPageHeader {
color: black;
font-size: 160%;
text-shadow: 0.3rem 0.3rem 0.3rem #0000004D;
}
}


.ambox-purple {
.mainPageBody {
    border-left: 10px solid #9932cc;
background-color: var(--TwoWorldsWiki-secondary-color);
}
}


.ambox-gray {
.mainPageFooter {
    border-left: 10px solid #bba;
font-size: 80%;
padding: 0.5rem 0.4rem;
}
}


.ambox-green {
.mainPageFlex {
    border-left: 10px solid #228b22;
display: flex;
}
}


/* Infobox template style */
.mainPageDiv {
.infobox {
padding: 0.25rem;
    background-color: rgba(0, 0, 0, 0);
border: 5px solid var(--TwoWorldsWiki-border-color);
    border: 1px solid #505050;
background-color: var(--TwoWorldsWiki-primary-color);
    float: right;
margin: 0.5rem;
    font-size: 89%;  
box-shadow: 0 0 0.5rem rgba(0, 0, 0, 1);
    margin-bottom: 0.5em;
    padding: 0.2em;
    width: 300px;
}
}


.infobox td.infoboxlabel {
.mainPageContent {
    border: 2px solid inherit;  
font-weight: bold;
    font-weight: bold;
text-align: center;
    padding: 0.5px 7px;
color: black;
    text-align: right;
background-color: var(--TwoWorldsWiki-secondary-color);
font-size: 120%;
border: 2px solid var(--TwoWorldsWiki-border-color);
padding: 0.5rem 0.4rem;
margin-bottom: 0.5rem;
box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
}
}


.infoboxname {
.mainPageContent > a,
    background-color: #f58120;
.mainPageFooter > a,
    color: #000;
.versiondiv > div > a {
    font-size: 110%;
color: black;
    font-weight: bold;
text-decoration: underline;
    padding: 0.5em;
}
}


.infoboxdescription {
.versiondiv {
    background-color: #f58120;
background-color: var(--TwoWorldsWiki-secondary-color);
    color: #000;
border: solid 2px var(--TwoWorldsWiki-border-color);
padding: 0.5rem;
font-weight: normal;
font-size: 80%;
box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
}
}


/* Template themes
/* End Main page */
The following themes are applied to templates who are present in a huge amount of pages */


/* Torneko 1 theme */
.w-100 {
.torneko1 {
width: 100%;
border-radius: 10px;
border: 3px solid #be6512;
background-color: #7b4712;
}
}


.torneko1 td {
.w-75 {
background-color: #eeeeed;
width: 75%;
}
}


.torneko1 th {
.w-67 {
background-color: #dc9915;
width: 67%;
}
}


/* Torneko 2 theme */
.w-50 {
 
width: 50%;
/* Torneko 3 theme */
 
/* Young Yangus theme */
 
/* Shiren 1 theme */
.shiren1 {
border-radius: 10px;
border: 3px solid #52639c;
background-color: #31427b;
}
}


.shiren1 td {
.w-33 {
background-color: #e7e7c6;
width: 33%;
}
}


.shiren1 th {
.w-25 {
background-color: #7b8cc6;
width: 25%;
}
}


/* Shiren 2 theme */
.explain {
 
text-decoration: underline dotted;
/* Shiren 3 theme */
.shiren3 {
border-radius: 10px;
border: 3px solid #3C1790;
background-color: #DAD0FF; color:white;
}
}


.shiren3 td {
/* If you want the tabs to be centered rather than left-justified with respect to the tab content */
background-color: #907DFE; color:white;
ul.tabbernav {
    text-align:center;
}
}


.shiren3 th {
/* External links logos */
background-color: #3C1790;
#content a[href^="https://www.youtube.com/"].external
{
background: url("https://upload.wikimedia.org/wikipedia/commons/0/09/YouTube_full-color_icon_%282017%29.svg") center right no-repeat;
background-size: 16px;
padding-right: 18px;
}
}


/* Shiren 4 theme */
#content a[href^="https://twitter.com/"].external
 
{
/* Shiren 5 theme */
background: url("https://upload.wikimedia.org/wikipedia/commons/c/ce/X_logo_2023.svg") center right no-repeat;
.shiren5 {
background-size: 16px;
border-radius: 10px;
padding-right: 18px;
border: 3px solid #785894;
background-color: #372a2d;
}
}


.shiren5 td {
#content a[href^="https://www.reddit.com/"].external
background-color: #ebe2d6;
{
background: url("https://upload.wikimedia.org/wikipedia/commons/1/14/Ionicons_logo-reddit.svg") center right no-repeat;
background-size: 16px;
padding-right: 18px;
}
}


.shiren5 th {
/* hide potentially sensitive data on file pages */
background-color: #c191b7;
#mw_metadata .exif-gpslatitude,
#mw_metadata .exif-gpslongitude,
#mw_metadata .exif-artist {
  display: none;
}
}


/* Shiren GB theme */
/* Sidebar Separator */
 
#n- {
/* Shiren GB2 theme */
background: #a2a9b1;
 
font-size: 2px;
/* Shiren Gaiden theme */
margin: 2.2em 0;
 
/* Chocobo MD1 theme */
 
/* Chocobo MD2 theme */
 
/* Chocobo MD3 theme */
.chocobo3 {
border-radius: 10px;
border: 3px solid #403a08;
background-color: #403a08;
}
}


.chocobo3 td {
/* Discord */
background-color: #f7f6d4;
#n-Discord a {
background: url(https://discord.com/api/guilds/824318577380950046/embed.png) no-repeat;
color: transparent !important;
display: inline-block;
height: 20px;
width: 110px;
}
}


.chocobo3 th {
@media screen and (max-width: 550px) {
background-color: #f5ec42;
.mainPageFlex {
flex-flow: row wrap;
}
.mainPageDiv,
.niwa {
width: -webkit-fill-available!important;
}
}
}


/* Red Rescue Team theme */
@media screen and (min-width: 650px) {
.rescueteam {
#fp-container .columns .leftcol {
border-radius: 10px;
float: left;
border: 3px solid #813d56;
width: 50%;
background-color: #472e3c;
}
}


.rescueteam td {
#fp-container .columns .rightcol {
background-color: #f9e7ef;
float: right;
width: 50%;
}
}
}


.rescueteam th {
@media screen and (min-width: 990px) {
background-color: #b2405f;
#fp-container {
grid-template-areas: "a b" "c c";
grid-template-columns: 50% 50%;
}
}
}


/* Blue Rescue Team theme */
@media screen and (max-width: 1023px) {
.rescueteamb {
.mainPageAbout {
border-radius: 10px;
max-height: 100vh;
border: 3px solid #275178;
overflow-y: scroll;
background-color: #21285a;
}
}
}


.rescueteamb td {
@media screen and (min-width: 1350px) {
background-color: #e3ebf0;
#fp-container {
grid-template-areas: "a b" "c b";
grid-template-columns: auto 520px;
}
}
}


.rescueteamb th {
@media screen and (max-width: 1439px) {
background-color: #30afd9;
.mainPageDiv {
padding: 0.5rem;
}
}
}


/* Rescue Team DX theme */
/* Classes from Gamepedia Help Wiki's Common.css */
.rescueteamdx {
border-radius: 10px;
border: 3px solid #451113;
background-color: #451113;
}


.rescueteamdx td {
.ambox {
background-color: #F2EAED;
    background-color: rgba(120,120,120,0.2);
    border-bottom-color: #383838;
    border-right-color: #383838;
    border-top-color: #383838;
    border-collapse: collapse;
    font-size: 95%;
    margin: 0 auto 2px auto;
    width: 80%;
}
}


.rescueteamdx th {
.ambox-gray {
background-color: #DE4030;
    border-left-color: #383838;
}
}


/* Explorers of Time theme */
.ambox.ambox-tiny {
.explorerstime {
    font-size: 90%;
border-radius: 10px;
    margin: 2px 0;
border: 3px solid #2e77b1;
    width: auto;
background-color: #0f2d68;
}
}


.explorerstime td {
.ambox + .ambox {
background-color: #e1e9ec;
    margin-top: -2px;
}
}


.explorerstime th {
.ambox-text {
background-color: #57aade;
    padding: 0.25em 0.5em;
}
}


/* Explorers of Darkness theme */
.ambox-image {
.explorersdark {
    padding: 2px 0px 2px 0.5em;
border-radius: 10px;
    text-align: center;
border: 3px solid #9c2922;
    width: 60px;
background-color: #221b1e;
}
}


.explorersdark td {
.ambox-tiny .ambox-image {
background-color: #ddd9dd;
    padding: 2px 0.5em;
    text-align: left;
    width: auto;
}
}


.explorersdark th {
/* Ambox colors */
background-color: #b74454;
.ambox-blue {
    border-left: 10px solid #1e90ff;
}
}


/* Explorers of Sky theme */
.ambox-red {
.explorerssky {
    border-left: 10px solid #b22222;
border-radius: 10px;
border: 3px solid #326d4c;
background-color: #292921;
}
}


.explorerssky td {
.ambox-orange {
background-color: #e1e8e4;
    border-left: 10px solid #f28500;
}
}


.explorerssky th {
.ambox-yellow {
background-color: #50a559;
    border-left: 10px solid #f4c430;
}
}


/* Gates theme */
.ambox-purple {
.gates {
    border-left: 10px solid #9932cc;
    border-radius: 10px;
    border: 3px solid #0036a5;
    background-color: #0036a5;
}
}


.gates td {
.ambox-wiki {
    background-color: #d8d8c0;
    border-left: 10px solid #454340;
}
}


.gates th {
.ambox-gray {
    background-color: #606060;
    border-left: 10px solid #bba;
    color: #FFF;
}
}


/* Super theme */
.ambox-green {
 
    border-left: 10px solid #228b22;
/* Etrian MD1 theme */
 
/* Etrian MD2 theme */
 
/* Shiren types theme */
 
/* Pokémon types theme */
 
td.pnormaltype {
    background-color: #E1F5D8;
}
}


td.pgrasstype {
    background-color: #C0F860;
}
td.pfiretype {
    background-color: #F8D030;
}
td.pwatertype {
    background-color: #98D8D8;
}
td.pelectrictype {
    background-color: #F8F878;
}
td.picetype {
    background-color: #D0F8E8;
}
td.pfightingtype {
    background-color: #F08030;
}
td.ppoisontype {
    background-color: #D880B8;
}
td.pgroundtype {
    background-color: #FFDE8C;
}
td.pflyingtype {
    background-color: #C8C0F8;
}
td.ppsychictype {
    background-color: #F8C0B0;
}
td.pbugtype {
    background-color: #D8E030;
}
td.procktype {
    background-color: #E0C068;
}
td.pghosttype {
    background-color: #A890F0;
}
td.pdragontype {
    background-color: #B8A0F8;
}
td.pdarktype {
    background-color: #A8A878;
}
td.psteeltype {
    background-color: #D5D5ED;
}
td.punknowntype {
    background-color: #E0E1D9;
}
td.pfairytype {
    background-color: #FF7CC0;
}
/*****************
* Infobox styles *
******************/
.infobox {
  float: right;
  width: 23em;
  margin-left: 1em;
  margin-right: 1em;
  margin-bottom: 0.5em;
  padding: 4px;
  border:1px solid #aaaaaa;
  background-color:#f9f9f9
}
.infobox-table {
  width: 100%;
  padding: 0;
  background-color:transparent;
  border: 0;
}
.infobox-header {
  font-size: 150%;
  padding:0.4em;
}
.infobox-section {
  padding:0.05em 0.3em;
  text-align:center;
}
.infobox-header,
.infobox-section {
  font-weight:bold;
}
.infobox-centered {
  text-align: center;
}
.infobox-centered img {
  max-width:100%;
  height:auto;
}


.infobox-row {
/* Widen Body */
   vertical-align: top;
.mw-body {
   padding: 1.25em 0em 0.5em 0em;
}
}


.infobox-row-name {
.mw-body {
  text-align: left;
padding: 1.25em 0em 0.5em 0em;
  white-space: nowrap;
  text-align:right;
  background:#ccc;
  padding: 0.1em 0.5em;
  width:40%;
}
}


.infobox-row-value {
/* Fixes background of /w/api.php */
  text-align:left
.mw-special-ApiHelp {
background: white;
}
}


.infobox-spacer {
/* Hides the title and tagline on the given pages */
  height: 0.5em;
.page-Two_Worlds_Wiki.action-view h1,
.page-Two_Worlds_Wiki.action-view #siteSub,
.page-Two_Worlds_Wiki.action-submit h1,
.page-Two_Worlds_Wiki.action-submit #siteSub,
.page-Meta_Two_Worlds h1,
.page-Meta_Two_Worlds #siteSub
{
display: none;
}
}
/*********************
* End infobox styles *
**********************/

Latest revision as of 23:27, January 1, 2025

/* CSS placed here will be applied to all skins */

:root {
	--TwoWorldsWiki-primary-color: #D9C790;
	--TwoWorldsWiki-secondary-color: #6C96A8;
	--TwoWorldsWiki-tertiary-color: #406A72;
	--TwoWorldsWiki-border-color: #297999;
}

.TwoWorldsWiki,
.templateTheme {
	border: 3px solid var(--TwoWorldsWiki-border-color);
	background-color: var(--TwoWorldsWiki-tertiary-color);
}

.TwoWorldsWiki th,
.templatePrimary {
	background-color: var(--TwoWorldsWiki-secondary-color);
}

.TwoWorldsWiki td,
.templateSecondary {
	background-color: var(--TwoWorldsWiki-primary-color);
}

/* Wiki theme */
table.wikitable,
table.TwoWorldsWiki {
	background-color: var(--TwoWorldsWiki-tertiary-color);
	border: 3px solid var(--TwoWorldsWiki-border-color);
}

table.wikitable {
	margin: auto;
	text-align: center;
}

table.wikitable > * > tr > td,
table.wikitable > * > tr > th {
	border: 3px solid var(--TwoWorldsWiki-border-color);
}

table.wikitable > * > tr > th,
table.TwoWorldsWiki > * > tr > th {
	background-color: var(--TwoWorldsWiki-secondary-color);
}

table.wikitable > * > tr > td,
table.TwoWorldsWiki > * > tr > td {
	background-color: var(--TwoWorldsWiki-primary-color);
}

.filehistory tr td:last-of-type {
	word-break: break-word;
}

/* Site sub / Tagline settings */
#siteSub {
	display: block;
	text-align: center;
	font-size: calc(1em * 0.9);
}

body.page-Two_Worlds_Wiki.action-view #siteSub,
body.page-Two_Worlds_Wiki.action-submit #siteSub {
	display: none;
}

/* This governs the sections on the Community portal */
.cpbox {
	display: flex;
	flex-direction: row-reverse;
	flex-wrap: wrap;
}

.cpbox #admins {
	box-sizing: border-box;
	width: calc(33% - 10px);
	margin: 5px;
	flex-grow: 1;
	min-width: 300px;
}

.cpbox #help {
	box-sizing: border-box;
	width: calc(67% - 10px);
	margin: 5px;
}

/* This governs the page/section title placement */
h1,
h2,
h3,
h4,
h5,
h6 {
	text-align: center
}

/* Template documentation styles
If modifying these styles, be sure to update the mobile skin! */
.doc {
	margin: 0 auto 1em;
	background-color: rgba(0, 0, 0, 0.1);
	border: 2px solid #A78558;
	padding: 1em;
}

.doc-header {
	padding-bottom: 3px;
	border-bottom: 1px solid #A78558;
	margin-bottom: 1ex;
}

.doc-footer {
	margin: 0;
	background-color: rgba(0, 0, 0, 0.1);
	border: 2px solid #A78558;
	padding: 1em;
}

/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile 
(See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */
.desktopleft {
	text-align: left;
}

.desktopcenter {
	text-align: center;
}

.desktopright {
	text-align: right;
}

/* This CSS governs the responsive 2 column main page layout */
#fp-container {
	display: grid;
	grid-template-areas: "a" "b" "c";
	grid-template-columns: 100%;
}

#fp-container main .columns .leftcol,
#fp-container .columns .rightcol {
	width: 100%;
	margin: 0;
	padding: 0;
}

.fp-section {
	display: flex;
	flex-wrap: wrap;
}

#fp-top {
	grid-template-areas: a;
}

#fp-flex {
	grid-template-areas: b;
}

#fp-bottom {
	grid-template-areas: c;
}

/* Misc */

/* Main page */
.mainPageHeader {
	color: black;
	font-size: 160%;
	text-shadow: 0.3rem 0.3rem 0.3rem #0000004D;
}

.mainPageBody {
	background-color: var(--TwoWorldsWiki-secondary-color);
}

.mainPageFooter {
	font-size: 80%;
	padding: 0.5rem 0.4rem;
}

.mainPageFlex {
	display: flex;
}

.mainPageDiv {
	padding: 0.25rem;
	border: 5px solid var(--TwoWorldsWiki-border-color);
	background-color: var(--TwoWorldsWiki-primary-color);
	margin: 0.5rem;
	box-shadow: 0 0 0.5rem rgba(0, 0, 0, 1);
}

.mainPageContent {
	font-weight: bold;
	text-align: center;
	color: black;
	background-color: var(--TwoWorldsWiki-secondary-color);
	font-size: 120%;
	border: 2px solid var(--TwoWorldsWiki-border-color);
	padding: 0.5rem 0.4rem;
	margin-bottom: 0.5rem;
	box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.5);
}

.mainPageContent > a,
.mainPageFooter > a,
.versiondiv > div > a {
	color: black;
	text-decoration: underline;
}

.versiondiv {
	background-color: var(--TwoWorldsWiki-secondary-color);
	border: solid 2px var(--TwoWorldsWiki-border-color);
	padding: 0.5rem;
	font-weight: normal;
	font-size: 80%;
	box-shadow: 0 0 1rem rgba(0, 0, 0, 0.5);
}

/* End Main page */

.w-100 {
	width: 100%;
}

.w-75 {
	width: 75%;
}

.w-67 {
	width: 67%;
}

.w-50 {
	width: 50%;
}

.w-33 {
	width: 33%;
}

.w-25 {
	width: 25%;
}

.explain {
	text-decoration: underline dotted;
}

/* If you want the tabs to be centered rather than left-justified with respect to the tab content */
ul.tabbernav {
    text-align:center;
}

/* External links logos */
#content a[href^="https://www.youtube.com/"].external
{
	background: url("https://upload.wikimedia.org/wikipedia/commons/0/09/YouTube_full-color_icon_%282017%29.svg") center right no-repeat;
	background-size: 16px;
	padding-right: 18px;
}

#content a[href^="https://twitter.com/"].external
{
	background: url("https://upload.wikimedia.org/wikipedia/commons/c/ce/X_logo_2023.svg") center right no-repeat;
	background-size: 16px;
	padding-right: 18px;
}

#content a[href^="https://www.reddit.com/"].external
{
	background: url("https://upload.wikimedia.org/wikipedia/commons/1/14/Ionicons_logo-reddit.svg") center right no-repeat;
	background-size: 16px;
	padding-right: 18px;
}

/* hide potentially sensitive data on file pages */
#mw_metadata .exif-gpslatitude,
#mw_metadata .exif-gpslongitude,
#mw_metadata .exif-artist {
  display: none;
}

/* Sidebar Separator */
#n- {
	background: #a2a9b1;
	font-size: 2px;
	margin: 2.2em 0;
}

/* Discord */
#n-Discord a {
	background: url(https://discord.com/api/guilds/824318577380950046/embed.png) no-repeat;
	color: transparent !important;
	display: inline-block;
	height: 20px;
	width: 110px;
}

@media screen and (max-width: 550px) {
	.mainPageFlex {
		flex-flow: row wrap;
	}
	
	.mainPageDiv,
	.niwa {
		width: -webkit-fill-available!important;
	}
}

@media screen and (min-width: 650px) {
	#fp-container .columns .leftcol {
		float: left;
		width: 50%;
	}

	#fp-container .columns .rightcol {
		float: right;
		width: 50%;
	}
}

@media screen and (min-width: 990px) {
	#fp-container {
		grid-template-areas: "a b" "c c";
		grid-template-columns: 50% 50%;
	}
}

@media screen and (max-width: 1023px) {
	.mainPageAbout {
		max-height: 100vh;
		overflow-y: scroll;
	}
}

@media screen and (min-width: 1350px) {
	#fp-container {
		grid-template-areas: "a b" "c b";
		grid-template-columns: auto 520px;
	}
}

@media screen and (max-width: 1439px) {
	.mainPageDiv {
		padding: 0.5rem;
	}
}

/* Classes from Gamepedia Help Wiki's Common.css */

.ambox {
    background-color: rgba(120,120,120,0.2);
    border-bottom-color: #383838;
    border-right-color: #383838;
    border-top-color: #383838;
    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-wiki {
     border-left: 10px solid #454340;
}

.ambox-gray {
     border-left: 10px solid #bba;
}

.ambox-green {
     border-left: 10px solid #228b22;
}


/* Widen Body */
.mw-body {
  padding: 1.25em 0em 0.5em 0em;
}

.mw-body {
	padding: 1.25em 0em 0.5em 0em;
}

/* Fixes background of /w/api.php */
.mw-special-ApiHelp {
	background: white;
}

/* Hides the title and tagline on the given pages */
.page-Two_Worlds_Wiki.action-view h1,
.page-Two_Worlds_Wiki.action-view #siteSub,
.page-Two_Worlds_Wiki.action-submit h1,
.page-Two_Worlds_Wiki.action-submit #siteSub,
.page-Meta_Two_Worlds h1,
.page-Meta_Two_Worlds #siteSub
{
	display: none;
}