MediaWiki:Common.css: Difference between revisions

The Two Worlds Wiki - Documenting Two Worlds since 2008.
Jump to navigation Jump to search
No edit summary
imported>Korra II A Royal
No edit summary
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/* CSS placed here will be applied to all skins */


/* Table of Contents */
.toc {
    font-size: 95%;
    border-radius: 10px;
    border: 3px solid #426875;
    background-color: #F9E181;
}
/* Header logo placement */
.mw-body {
    position: relative;
    top: 6vw;
}
#p-logo {
    left: 30vw;
    position: relative;
/* banner
    border: 1px solid #aeaeae;
    height: 120px;
    width: 510px;


/* standard link colors */
    background: url(/w/images/2/2e/Shiren_1_DS_Background_-_Table_Mountain.png);
.mw-body a:link { color: #FFFFFF; } /* normal unvisited links */
    background-size: 100%;
.mw-body a:link:visited { color: #FFFFFF; } /* visited links */
    background-position-x: 50%;
.mw-body a:link:active { color: #FF0000; } /* active links */
    background-position-y: 50%; */
.mw-body a:link.new { color: #FF0000; } /* new links */
}
.mw-body a:link.interwiki { color: #3366BB; } /* interwiki links */
.mw-body a:link.external { color: #3366BB; } /* external links */
.mw-body a:link.stub { color: #772233; } /* hovered links */
.mw-body a:link {color: #FF0000}
.mw-body a:visited {color: #00FF00}
.mw-body a:hover {color: #FF00FF}
.mw-body a:active {color: #0000FF}


/* Footer text and link color */
#p-logo a {
div#footer ul li{
     margin-top: 15px;
     font-size:16px!important;
    background-size: contain;
     color:purple!important;
    width: 33em;
     height: 100px;
}
}


div#footer ul li a,div#footer ul li a:visited {
#mw-head {
     color: orange!important;
    position: absolute;
     top: 6vw;
}
}
.mw-footer {
    margin-top: 6vw;
    bottom: 0;
    position: relative;
}
/* This governs the Header placement */
h1 { text-align:center}
h2 { text-align:center}
h3 { text-align:center}
h4 { text-align:center}
h5 { text-align:center}
h6 { text-align:center}


/* This governs the sections on the Community portal */
/* This governs the sections on the Community portal */
Line 289: Line 318:
The following themes are applied to templates who are present in a huge amount of pages */
The following themes are applied to templates who are present in a huge amount of pages */


/* Torneko 1 theme */
/* Wiki Theme */
.torneko1 {
.TwoWorldsWiki {
border-radius: 10px;
border: 3px solid #be6512;
background-color: #7b4712;
}
 
.torneko1 td {
background-color: #eeeeed;
}
 
.torneko1 th {
background-color: #dc9915;
}
 
/* Torneko 2 theme */
 
/* Torneko 3 theme */
.torneko3 {
border-radius: 10px;
border: 3px solid #0870A8;
background-color: #000000;
}
 
.torneko3 td {
background-color: #F8D888;
}
 
.torneko3 th {
background-color: #307008;
}
 
/* Young Yangus theme */
.YoungYangus {
border-radius: 10px;
border: 3px solid #7B2306;
background-color: #58763F;
}
 
.YoungYangus td {
background-color: #E5A74F;
}
 
.YoungYangus th {
background-color: #63A370;
}
 
/* Shiren 1 theme */
.shiren1 {
border-radius: 10px;
border: 3px solid #52639c;
background-color: #31427b;
}
 
.shiren1 td {
background-color: #e7e7c6;
}
 
.shiren1 th {
background-color: #7b8cc6;
}
 
/* Shiren 2 theme */
 
/* Shiren 3 theme */
.shiren3 {
border-radius: 10px;
border: 3px solid #3C1790;
background-color: #804edc;
color: #FFF;
}
 
.shiren3 td {
background-color: #DAD0FF;
color: #000;
}
 
.shiren3 th {
background-color: #3C1790;
color: #FFF;
}
 
/* working, but changes the color of all links
.shiren3 a:link {
color: #44B999;
}
 
.shiren3 a:visited {
color: #1C8E00;
}
*/
 
/* not working, attempt at changing the color of red links
.shiren3 a:new {
color: red;
}
 
.shiren3 a:new:visited {
color: brown;
}
*/
 
.shiren3underground {
border-radius: 10px;
border: 3px solid #313131;
background: #3C2F19;
}
 
.shiren3underground td {
background-color: #D8D7D0;
}
 
.shiren3underground th {
background-color: #6F6B45;
color: #FFF;
}
 
.shiren3surface {
border-radius: 10px;
border: 3px solid #313131;
background: #313131;
}
 
.shiren3surface td {
background-color: #D8D7D0;
}
 
.shiren3surface th {
background-color: #639B5A;
}
 
.shiren3past {
border-radius: 10px;
border-radius: 10px;
border: 3px solid #313131;
border: 3px solid #A78558;
background: #343B3B;
background-color: #426875;
}
 
.shiren3past td {
background-color: #D8D7D0;
}
}


.shiren3past th {
.TwoWorldsWiki td {
background-color: #5A9B9B;
background-color: #F9E181;
}
}


/* Shiren 4 theme */
.TwoWorldsWiki th {
 
background-color: #6C97A8;
/* Shiren 5 theme */
.shiren5 {
border-radius: 10px;
border: 3px solid #785894;
background-color: #372a2d;
}
}


.shiren5 td {
background-color: #ebe2d6;
}
.shiren5 th {
background-color: #c191b7;
}
/* Satellaview Shiren theme */
.satellaviewshiren {
border-radius: 10px;
border: 3px solid #000000;
background-color: #31280B; color:white;
}
.satellaviewshiren td {
background-color: #CCCEC0; color:black;
}
.satellaviewshiren th {
background-color: #8A7442;
}
/* Moonlit Village GB theme */
.moonlitvillagegb {
border-radius: 10px;
border: 3px solid #202909;
background-color: #526950; color:202909;
}
.moonlitvillagegb td {
background-color: #D0D0C0; color:black;
}
.moonlitvillagegb th {
background-color: #98AA69;
}
/* Magic Castle theme */
.magiccastle {
border-radius: 10px;
border: 3px solid #3C1790;
background-color: #3C1790; color:white;
}
.magiccastle td {
background-color: #D6B573; color:black;
}
.magiccastle th {
background-color: #A58CBD;
}
/* Asuka Arrives theme */
/* Chocobo MD1 theme */
/* Chocobo MD2 theme */
/* Chocobo MD3 theme */
.chocobo3 {
border-radius: 10px;
border: 3px solid #403a08;
background-color: #403a08;
}
.chocobo3 td {
background-color: #f7f6d4;
}
.chocobo3 th {
background-color: #f5ec42;
}
/* Red Rescue Team theme */
.rescueteam {
border-radius: 10px;
border: 3px solid #e83f25;
background-color: #8b3153;
}
.rescueteam td {
background-color: #f0f2f5;
}
.rescueteam th {
background-color: #d884a1;
}
/* Blue Rescue Team theme */
.rescueteamb {
border-radius: 10px;
border: 3px solid #275178;
background-color: #21285a;
}
.rescueteamb td {
background-color: #e3ebf0;
}
.rescueteamb th {
background-color: #30afd9;
}
/* Rescue Team DX theme */
.rescueteamdx {
border-radius: 10px;
border: 3px solid #451113;
background-color: #451113;
}
.rescueteamdx td {
background-color: #F2EAED;
}
.rescueteamdx th {
background-color: #DE4030;
}
/* Explorers of Time theme */
.explorerstime {
border-radius: 10px;
border: 3px solid #2e77b1;
background-color: #0f2d68;
}
.explorerstime td {
background-color: #e1e9ec;
}
.explorerstime th {
background-color: #57aade;
}
/* Explorers of Darkness theme */
.explorersdark {
border-radius: 10px;
border: 3px solid #9c2922;
background-color: #221b1e;
}
.explorersdark td {
background-color: #ddd9dd;
}
.explorersdark th {
background-color: #b74454;
}
/* Explorers of Sky theme */
.explorerssky {
border-radius: 10px;
border: 3px solid #326d4c;
background-color: #292921;
}
.explorerssky td {
background-color: #e1e8e4;
}
.explorerssky th {
background-color: #50a559;
}
/* Gates theme */
.gates {
    border-radius: 10px;
    border: 3px solid #0036a5;
    background-color: #0036a5;
}
.gates td {
    background-color: #d8d8c0;
}
.gates th {
    background-color: #656565;
    color: #FFF;
}
/* Super theme */
/* 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;
}
/* Wiki Theme */
.MDWiki {
border-radius: 10px;
border: 3px solid #000000;
background-color: #454340;
}
.MDWiki td {
background-color: #B5B6BB;
}
.MDWiki th {
background-color: #928F95;
}


/*****************
/*****************
Line 793: Line 403:
**********************/
**********************/


/* Namespace themes
/* Namespace Background Colors */
The following themes are applied to templates who are present in a huge amount of pages */
.ns-3000 #content, .ns-3001 #content { background-color: #B8BBD8; }
/* Torneko 1 theme */
.ns-3000 div.thumb, .ns-3001 div.thumb { border-color: #B8BBD8; }
.ns-3002 #content, .ns-3003 #content { background-color: #B8BBD8; }
.ns-3002 div.thumb, .ns-3003 div.thumb { border-color: #B8BBD8; }
.ns-3004 #content, .ns-3005 #content { background-color: #B8BBD8; }
.ns-3004 div.thumb, .ns-3005 div.thumb { border-color: #B8BBD8; }
.ns-3006 #content, .ns-3007 #content { background-color: #B8BBD8; }
.ns-3006 div.thumb, .ns-3007 div.thumb { border-color: #B8BBD8; }
.ns-3008 #content, .ns-3009 #content { background-color: #B8BBD8; }
.ns-3008 div.thumb, .ns-3009 div.thumb { border-color: #B8BBD8; }
.ns-3010 #content, .ns-3011 #content { background-color: #B8BBD8; }
.ns-3010 div.thumb, .ns-3011 div.thumb { border-color: #B8BBD8; }
.ns-3012 #content, .ns-3013 #content { background-color: #B8BBD8; }
.ns-3012 div.thumb, .ns-3013 div.thumb { border-color: #B8BBD8; }
.ns-3014 #content, .ns-3015 #content { background-color: #B8BBD8; }
.ns-3014 div.thumb, .ns-3015 div.thumb { border-color: #B8BBD8; }
.ns-3016 #content, .ns-3017 #content { background-color: #B8BBD8; }
.ns-3016 div.thumb, .ns-3017 div.thumb { border-color: #B8BBD8; }
.ns-3018 #content, .ns-3019 #content { background-color: #B8BBD8; }
.ns-3018 div.thumb, .ns-3019 div.thumb { border-color: #B8BBD8; }
 
/* format the catlinks itself */
.catlinks {
  background-color: #F9E181;
}
 
.editOptions {
  background-color:#B8BBD8;
  border-color:#000
}
 
input,textarea {
  background-color:#B8BBD8;
  border-color:#000; color:#000000
}

Revision as of 22:40, March 27, 2021

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

/* Table of Contents */
.toc {
    font-size: 95%;
    border-radius: 10px;
    border: 3px solid #426875;
    background-color: #F9E181;
}

/* Header logo placement */
.mw-body {
    position: relative;
    top: 6vw;
}

#p-logo {
    left: 30vw;
    position: relative;
/* banner 
    border: 1px solid #aeaeae;
    height: 120px;
    width: 510px;

    background: url(/w/images/2/2e/Shiren_1_DS_Background_-_Table_Mountain.png);
    background-size: 100%;
    background-position-x: 50%;
    background-position-y: 50%; */
}

#p-logo a {
    margin-top: 15px;
    background-size: contain;
    width: 33em;
    height: 100px;
}

#mw-head {
    position: absolute;
    top: 6vw;
}

.mw-footer {
    margin-top: 6vw;
    bottom: 0;
    position: relative;
}

/* This governs the Header placement */
h1 { text-align:center}
h2 { text-align:center}
h3 { text-align:center}
h4 { text-align:center}
h5 { text-align:center}
h6 { text-align:center}

/* 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;
}
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 {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    content: "";
    background: url(https://discordapp.com/api/guilds/502973274125238284/embed.png) no-repeat
}

/* Template documentation styles */
/* If modifying these styles, be sure to update the mobile skin! */
.doc {
    margin: 0em auto 1em;
    background-color: rgba(0, 0, 0, 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(0, 0, 0, 0.1);
    border: 2px solid #BDCAC3;
    border-radius: 1em;
    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;
}

@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 (min-width:1350px) {
    #fp-container {
        grid-template-areas: "a b" "c b";
        grid-template-columns: auto 520px;
    }
}

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

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

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

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

/* Sidebar Discord embed */

#mw-panel .portal .body ul {
    min-width: calc(0.5em + 119px);
}

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 {
    position:absolute;
    width:100%;
    height:100%;
    top:0;
    left:0;
    content:"";
    background:url(https://discordapp.com/api/guilds/502973274125238284/embed.png) no-repeat;
}

/* 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;
}

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

.infobox td.infoboxlabel {
    border: 2px solid inherit; 
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right;
}

.infoboxname {
    background-color: #f58120;
    color: #000;
    font-size: 110%;
    font-weight: bold;
    padding: 0.5em;
}

.infoboxdescription {
    background-color: #f58120;
    color: #000;
}

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

/* Wiki Theme */
.TwoWorldsWiki {
	border-radius: 10px;
	border: 3px solid #A78558;
	background-color: #426875;
}

.TwoWorldsWiki td {
	background-color: #F9E181;
}

.TwoWorldsWiki th {
	background-color: #6C97A8;
}


/*****************
* 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 {
  vertical-align: top;
}

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

.infobox-row-value {
  text-align:left
}

.infobox-spacer {
  height: 0.5em;
}
/*********************
* End infobox styles *
**********************/

/* Namespace Background Colors */
.ns-3000 #content, .ns-3001 #content { background-color: #B8BBD8; }
.ns-3000 div.thumb, .ns-3001 div.thumb { border-color: #B8BBD8; }
.ns-3002 #content, .ns-3003 #content { background-color: #B8BBD8; }
.ns-3002 div.thumb, .ns-3003 div.thumb { border-color: #B8BBD8; }
.ns-3004 #content, .ns-3005 #content { background-color: #B8BBD8; }
.ns-3004 div.thumb, .ns-3005 div.thumb { border-color: #B8BBD8; }
.ns-3006 #content, .ns-3007 #content { background-color: #B8BBD8; }
.ns-3006 div.thumb, .ns-3007 div.thumb { border-color: #B8BBD8; }
.ns-3008 #content, .ns-3009 #content { background-color: #B8BBD8; }
.ns-3008 div.thumb, .ns-3009 div.thumb { border-color: #B8BBD8; }
.ns-3010 #content, .ns-3011 #content { background-color: #B8BBD8; }
.ns-3010 div.thumb, .ns-3011 div.thumb { border-color: #B8BBD8; }
.ns-3012 #content, .ns-3013 #content { background-color: #B8BBD8; }
.ns-3012 div.thumb, .ns-3013 div.thumb { border-color: #B8BBD8; }
.ns-3014 #content, .ns-3015 #content { background-color: #B8BBD8; }
.ns-3014 div.thumb, .ns-3015 div.thumb { border-color: #B8BBD8; }
.ns-3016 #content, .ns-3017 #content { background-color: #B8BBD8; }
.ns-3016 div.thumb, .ns-3017 div.thumb { border-color: #B8BBD8; }
.ns-3018 #content, .ns-3019 #content { background-color: #B8BBD8; }
.ns-3018 div.thumb, .ns-3019 div.thumb { border-color: #B8BBD8; }

/* format the catlinks itself */
.catlinks {
  background-color: #F9E181;
}

.editOptions {
  background-color:#B8BBD8;
  border-color:#000
}

input,textarea {
  background-color:#B8BBD8;
  border-color:#000; color:#000000
}