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
(Created page with "div.vectorTabs #ca-unwatch.icon a, div.vectorTabs #ca-watch.icon a { background-position: 5px 0; } body { background-image: url(/media/1/1f/Background.jpg); -web...")
 
No edit summary
 
(248 intermediate revisions by 5 users not shown)
Line 1: Line 1:
div.vectorTabs #ca-unwatch.icon a,
/* CSS placed here will be applied to all skins */
div.vectorTabs #ca-watch.icon a {
    background-position: 5px 0;
}


body {
:root {
    background-image: url(/media/1/1f/Background.jpg);
--TwoWorldsWiki-primary-color: #D9C790;
    -webkit-background-size: cover;
--TwoWorldsWiki-secondary-color: #6C96A8;
    -moz-background-size: cover;
--TwoWorldsWiki-tertiary-color: #406A72;
    -o-background-size: cover;
--TwoWorldsWiki-border-color: #297999;
    background-size: cover;
    background-color:#397B95;
    background-repeat:no-repeat;
}
}


.pagetab {
.TwoWorldsWiki,
    border-style: solid solid none;
.templateTheme {
    border-width: thin;
border: 3px solid var(--TwoWorldsWiki-border-color);
    border-color: #808080;
background-color: var(--TwoWorldsWiki-tertiary-color);
    padding: 0.25ex 1ex 0ex;
    font-size: 95%
}
}


#p-logo {
.TwoWorldsWiki th,
    left: 50vw;
.templatePrimary {
    margin-left: -16.5em
background-color: var(--TwoWorldsWiki-secondary-color);
}
}


#p-logo a {
.TwoWorldsWiki td,
    display: block;
.templateSecondary {
    width: 20em;
background-color: var(--TwoWorldsWiki-primary-color);
    margin-top: 6px;
    background-size: contain;
    width: 33em;
    height: 100px
}
}


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


.mw-body {
table.wikitable {
    background: rgba(255,255,255,.75);
margin: auto;
    border: 1px solid
text-align: center;
}
}


body #pageWrapper {
table.wikitable > * > tr > td,
    margin-right: 1em;
table.wikitable > * > tr > th {
    margin-top: 6em
border: 3px solid var(--TwoWorldsWiki-border-color);
}
}


div#mw-page-base {
table.wikitable > * > tr > th,
    background: transparent;
table.TwoWorldsWiki > * > tr > th {
    background-image: none
background-color: var(--TwoWorldsWiki-secondary-color);
}
}


#mw-head-base {
table.wikitable > * > tr > td,
    background: transparent;
table.TwoWorldsWiki > * > tr > td {
    background-image: none;
background-color: var(--TwoWorldsWiki-primary-color);
    border-bottom: 0px
}
}


#right-navigation {
.filehistory tr td:last-of-type {
    margin-top: 8.6em
word-break: break-word;
}
}


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


div#mw-page-base {
body.page-Two_Worlds_Wiki.action-view #siteSub,
    background: transparent;
body.page-Two_Worlds_Wiki.action-submit #siteSub {
    background-image: none
display: none;
}
}


#mw-head-base {
/* This governs the sections on the Community portal */
    background: transparent;
.cpbox {
    background-image: none;
display: flex;
    border-bottom: 0px
flex-direction: row-reverse;
flex-wrap: wrap;
}
}


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


div#footer a {
.cpbox #help {
    color: #0645ad;
box-sizing: border-box;
    text-shadow: 1px 1px rgba(0,0,0,.1)
width: calc(67% - 10px);
margin: 5px;
}
}


div#footer a:hover {
/* This governs the page/section title placement */
    color: #0645ad
h1,
h2,
h3,
h4,
h5,
h6 {
text-align: center
}
}


#upload-list .file .file-title {
/* Template documentation styles
    color: #000000
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;
}
}


.check-span {
.doc-header {
    color: #1D1D1D;
padding-bottom: 3px;
    float: right
border-bottom: 1px solid #A78558;
margin-bottom: 1ex;
}
}


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


.copyright-icon {
/* Classes permitting setting of alignment on desktop only or differently on desktop and mobile
    background-image: url(https://help.gamepedia.com/media/help.gamepedia.com/b/b6/Copyright.png);
(See .mobileleft, .mobilecenter, .mobileright in MediaWiki:Mobile.css for the mobile equivalents */
    background-size: 100%;
.desktopleft {
    height: 32px;
text-align: left;
    width: 32px
}
}


.ambox {
.desktopcenter {
    background-color: #eeeeee;
text-align: center;
    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 {
.desktopright {
    border-left-color: #383838
text-align: right;
}
}


.ambox.ambox-tiny {
/* This CSS governs the responsive 2 column main page layout */
    font-size: 90%;
#fp-container {
    margin: 2px 0;
display: grid;
    width: auto
grid-template-areas: "a" "b" "c";
grid-template-columns: 100%;
}
}


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


.ambox-text {
.fp-section {
    padding: 0.25em 0.5em
display: flex;
flex-wrap: wrap;
}
}


.ambox-image {
#fp-top {
    padding: 2px 0px 2px 0.5em;
grid-template-areas: a;
    text-align: center;
    width: 60px
}
}


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


.ambox-blue {
#fp-bottom {
    border-left: 10px solid #1e90ff
grid-template-areas: c;
}
}


.ambox-red {
/* Misc */
    border-left: 10px solid #b22222
}


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


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


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


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


.ambox-green {
.mainPageDiv {
    border-left: 10px solid #228b22
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);
}
}


.amsmalltext {
.mainPageContent {
    font-size: smaller;
font-weight: bold;
    margin-left: 0.8em;
text-align: center;
    margin-top: 0.5em
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);
}
}


.infoboxtable {
.mainPageContent > a,
    background-color: #f9f9f9;
.mainPageFooter > a,
    border: 1px solid #aaaaaa;
.versiondiv > div > a {
    color: #000000;
color: black;
    float: right;
text-decoration: underline;
    font-size: 89%;
    margin-bottom: 0.5em;
    margin-left: 1em;
    padding: 0.2em;
    width: 300px
}
}


.infoboxtable td {
.versiondiv {
    vertical-align: top
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);
}
}


.infoboxtable td > div {
/* End Main page */
    background-color: #f9f9f9;
    border: 2px solid inherit;
    border-radius: 5px;
    font-weight: bold;
    padding: 0.5px 7px;
    text-align: right
}


.infoboxname {
.w-100 {
    font-size: 110%;
width: 100%;
    font-weight: bold;
    padding: 0.5em
}
}


.infoboxdetails {
.w-75 {
    padding: 0em
width: 75%;
}
}


.copyright-icon {
.w-67 {
    background: url(https://commons.gamepedia.com/media/commons.gamepedia.com/thumb/b/b6/Copyright.png/32px-Copyright.png) transparent center center no-repeat;
width: 67%;
    background-size: 100%;
    width: 32px;
    height: 32px
}
}


.feature {
.w-50 {
    background: rgba(0,0,0,0.05);
width: 50%;
    border: 1px solid rgba(0,0,0,0.2);
    border-radius: 5px;
    padding: 10px
}
}


table.navbox {
.w-33 {
    border: 1px solid #aaaaaa;
width: 33%;
    clear: both;
    font-size: 88%;
    margin: auto;
    padding: 1px;
    text-align: center;
    width: 100%
}
}


table.navbox + table.navbox {
.w-25 {
    margin-top: -1px
width: 25%;
}
}


.navbox-title,.navbox-abovebelow,table.navbox th {
.explain {
    padding-left: 1em;
text-decoration: underline dotted;
    padding-right: 1em;
    text-align: center
}
}


.navbox-group {
/* If you want the tabs to be centered rather than left-justified with respect to the tab content */
     font-weight: bold;
ul.tabbernav {
    padding-left: 1em;
     text-align:center;
    padding-right: 1em;
    white-space: nowrap
}
}


.navbox,.navbox-subgroup {
/* External links logos */
    background: rgba(255,255,255,0.2)
#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;
}
}


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


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


.navbox-abovebelow,.navbox-group,.navbox-subgroup .navbox-title {
/* hide potentially sensitive data on file pages */
    background: rgba(255,255,255,0.2);
#mw_metadata .exif-gpslatitude,
    color: #333
#mw_metadata .exif-gpslongitude,
#mw_metadata .exif-artist {
  display: none;
}
}


.navbox-subgroup .navbox-group,.navbox-subgroup .navbox-abovebelow {
/* Sidebar Separator */
    background: rgba(0,0,0,0.05);
#n- {
    color: #333
background: #a2a9b1;
font-size: 2px;
margin: 2.2em 0;
}
}


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


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


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


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


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


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


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


.fpbanner {
@media screen and (max-width: 1439px) {
    background: rgba(0,0,0,0.05);
.mainPageDiv {
    border: 1px solid #505050;
padding: 0.5rem;
    box-shadow: 0 2px 5px #505050;
}
    margin: 0 5px 5px 5px;
    padding: 5px;
    min-height: 80px
}
}


.fpbannertable {
/* Classes from Gamepedia Help Wiki's Common.css */
    display: table;
    border: none;
    background: transparent;
    width: 100%;
    min-height: 75px;
    margin: 0;
    padding: 5px
}


.fpbannercell {
.ambox {
     display: table-cell;
     background-color: rgba(120,120,120,0.2);
     text-align: center;
    border-bottom-color: #383838;
     vertical-align: middle
    border-right-color: #383838;
     border-top-color: #383838;
     border-collapse: collapse;
    font-size: 95%;
    margin: 0 auto 2px auto;
    width: 80%;
}
}


.fpbannerblock {
.ambox-gray {
     border: none;
     border-left-color: #383838;
    color: #ffffff;
    font-weight: bold;
    text-shadow: 0 0 8px rgba(255,255,255,0.75);
    font-size: 132%;
    width: 100%;
    margin: 0 0 10px 0;
    padding: 0 0 5px 0
}
}


.fpbox {
.ambox.ambox-tiny {
    background: rgba(255,255,255,.8);
     font-size: 90%;
    border: 1px solid #505050;
     margin: 2px 0;
    box-shadow: 0 2px 5px #505050;
    margin: 5px;
    padding: 5px;
    overflow: auto;
    width: calc(100% - 2px);
}
 
.fpbox .mainheading {
    border: none;
    border-bottom: 1px solid #505050;
     font-size: 150%;
    font-weight: bold;
     margin: 0 0 10px 0;
    padding: 0 0 5px 0;
    overflow: auto
}
 
.fpbox .heading {
    border: none;
    border-bottom: 1px solid #505050;
    text-align: center;
    font-size: 132%;
    margin: 0 0 10px 0;
    padding: 0 0 5px 0;
    overflow: auto
}
 
.fpbox.plain {
    background: transparent;
    border: none;
    box-shadow: none
}
 
.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
}
 
div.vectorTabs,div.vectorTabs span,div.vectorTabs li.selected,div.vectorTabs ul,div.vectorTabs ul li,div.vectorTabs li a {
    background-color: rgba(0,0,0,0);
    background-image: none
}
 
div.vectorTabs ul li span {
    margin-right: 5px
}
 
div.vectorTabs li span {
    background: #AB0000;
    background-image: -moz-linear-gradient(center top,#AB0000 0%,#4A040A 100%);
    background-image: -webkit-gradient(linear,center top,left bottom,color-stop(0%,#AB0000),color-stop(100%,#4A040A));
    background-image: -webkit-linear-gradient(top,#AB0000 0%,#4A040A 100%);
    background-image: -o-linear-gradient(top,#AB0000 0%,#4A040A 100%);
    background-image: -ms-linear-gradient(top,#AB0000 0%,#4A040A 100%);
    background-image: linear-gradient(to bottom,#AB0000 0%,#4A040A 100%);
    display: inline-block;
    border: 1px solid #4A040A;
    border-radius: 4px;
    padding: 2px 10px;
    margin-top: 0.5em;
    height: 19px;
    text-align: center
}
 
div.vectorTabs li a {
    background-image: none;
    margin-top: -16px
}
 
div#mw-head li.new a,
div#mw-head li.new a:visited {
    color: #fc0000 !important;
    text-shadow: 1px 1px #000000
}
 
div#mw-head a,
div#mw-head div.vectorTabs a,
div#mw-head div.vectorMenu a,
.vectorTabs li a span,div.vectorMenu h3 span {
    color: #c0c0c0 !important
}
 
div.vectorTabs li span a {
    color: #222222;
    font-weight: bold;
    text-align: center
}
 
div.vectorTabs ul li:first-child {
    border-image: none;
    border-left: medium none
}
 
div#mw-head li.selected a,
div#mw-head li.selected a span,
div#mw-head div.vectorTabs li.selected a,
div#mw-head div.vectorTabs li.selected a:visited {
    color: #ffffff !important;
    font-weight: bold
}
 
div#p-sharing .menu {
    margin-left: 45px;
    min-width: 0px;
    width: 48px
}
 
#p-sharing #socialIconImages img {
    width: 100%
}
 
#p-sharing #socialIconImages a {
    width: 40px
}
 
div.vectorMenu h3 span {
    font-weight: bold;
    padding-top: 0em;
}
 
div.vectorMenu h3 span::after {
    filter: invert(1);
    top: 0;
}
 
div#mw-head div.vectorMenu h4,
div#p-variants.vectorMenu #mw-vector-current-variant {
    color: #FFFFFF;
    font-weight: bold;
    padding-top: 0.2em;
    text-shadow: none
}
 
div.vectorMenu div.menu {
    border: none;
    margin-left: 5px;
    top: 2.2em;
}
 
div#mw-head div.vectorMenu h3 {
    background: #AB0000;
    background-image: -moz-linear-gradient(center top,#AB0000 0%,#4A040A 100%);
    background-image: -webkit-gradient(linear,center top,left bottom,color-stop(0%,#AB0000),color-stop(100%,#4A040A));
    background-image: -webkit-linear-gradient(top,#AB0000 0%,#4A040A 100%);
    background-image: -o-linear-gradient(top,#AB0000 0%,#4A040A 100%);
    background-image: -ms-linear-gradient(top,#AB0000 0%,#4A040A 100%);
    background-image: linear-gradient(to bottom,#AB0000 0%,#4A040A 100%);
    display: inline-block;
    border: 1px solid #4A040A;
    border-radius: 4px;
    padding: 2px 10px;
    margin-bottom: 0.5em;
    margin-top: 0.5em;
    height: 19px;
    text-align: center
}
 
div#mw-head div.vectorMenu li.selected a,
div#mw-head div.vectorMenu li.selected a:visited {
    color: #c0c0c0
}
 
div#mw-head div.vectorMenu li a {
    color: #7AB1CC
}
 
div#mw-head div.vectorMenu ul {
    background-color: #000000;
    background-image: none;
    border-right: 5px none;
    box-shadow: 0 0.1em 0.75em #d5d4d4
}
 
div#mw-panel {
    width: 10em;
    box-sizing: border-box
}
 
#mw-panel.collapsible-nav .portal.collapsed h3 a,
#mw-panel.collapsible-nav div.portal h3 a,
div#mw-panel div.portal h3 {
    color: #000;
    margin-top: 0;
    background: rgba(0,0,0,0)
}
 
#mw-panel.collapsible-nav .portal {
    background: transparent;
    margin: 0;
    padding: 0.25em 0 0.25em 0.75em!important
}
 
div#mw-panel div.portal div.body,#mw-panel.collapsible-nav .portal {
    background-image: none
}
 
div#mw-panel div.portal div.body ul li a,div#mw-panel div.portal div.body ul li a:visited {
    color: #0645ad;
    text-shadow: 1px 1px rgba(0,0,0,.1)
}
 
div#mw-panel div.portal h3,
div#mw-panel div.portal h3:visited,
#mw-panel.collapsible-nav .portal h3 a,
#mw-panel.collapsible-nav .portal h3 a:visited,
#mw-panel.collapsible-nav .portal.collapsed h3 a,
#mw-panel.collapsible-nav .portal.collapsed h3 a:visited {
    color: #000;
    font-weight: bold;
}
 
div#mw-panel div#p-socialProfiles.portal .body {
    margin: auto
}
 
#mw-panel.collapsible-nav .portal.collapsed h3 {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAAB3RJTUUH3wQBEikUI775dwAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAT0lEQVQ4y9WTUQrAIAxDE9H7H3jC2wnqxKqw/OeRpq0BZVSU1FEAOxKwYwRs11QHwBNBpkuMIPfWaLsBfQkQmSWpzvhH5/6VwJkO/I9negFpGhkjDUKRdAAAAABJRU5ErkJggg==);
    background-position: left;
    background-repeat: no-repeat
}
 
#mw-panel.collapsible-nav .portal h3 {
    background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABmJLR0QA/wD/AP+gvaeTAAAACXBIWXMAABcRAAAXEQHKJvM/AAAAB3RJTUUH3wQBEiskN1GrWQAAAB1pVFh0Q29tbWVudAAAAAAAQ3JlYXRlZCB3aXRoIEdJTVBkLmUHAAAAT0lEQVQ4y+2TOwrAMAxD9Upy/wsH1KlQQlRcskabjSX/sa0dXNrEEZDaZFdXQqqAP+TUAlVynAHQK74oYHu8CUC3PZbJvk4ZaI9gjDm/oBt1WxYtuhHX/wAAAABJRU5ErkJggg==);
    background-position: left;
    background-repeat: no-repeat
}
 
#mw-panel.collapsible-nav .portal .body ul li,div#mw-panel div.portal div.body ul li {
    padding: 0.25em 0 0.25em 0.5em;
    background: rgba(255,255,255,.5);
    margin-bottom: 0.25em
}
 
.socialSidebar {
     width: auto;
     width: auto;
    max-width: 100%
}
}


.client-js #preftoc {
.ambox + .ambox {
    background-color: rgba(255,255,255,0.5);
    margin-top: -2px;
    border: 0px
}
}


.client-js #preftoc,.client-js #preftoc li,.client-js #preferences,.client-js #preftoc li a {
.ambox-text {
    background-image: none;
    padding: 0.25em 0.5em;
    background-color: transparent;
    color: #666666
}
}


.client-js #preftoc li:first-child {
.ambox-image {
    margin-bottom: 1px;
    padding: 2px 0px 2px 0.5em;
    margin-left: 5px
    text-align: center;
    width: 60px;
}
}


.client-js #preftoc li.selected a {
.ambox-tiny .ambox-image {
    background-color: rgba(255,255,255,0.5);
    padding: 2px 0.5em;
    background-image: none;
    text-align: left;
    border-color: #aaaaaa #aaaaaa rgba(255,255,255,0.5);
    width: auto;
    border-style: solid;
    border-width: 1px;
    color: #000000
}
}


.client-js #preferences {
/* Ambox colors */
    background-color: rgba(255,255,255,0.5);
.ambox-blue {
    border: 1px solid #aaaaaa
    border-left: 10px solid #1e90ff;
}
}


.client-js #preferences fieldset {
.ambox-red {
    border-color: #aaaaaa
    border-left: 10px solid #b22222;
}
}


.subpagelist {
.ambox-orange {
    column-count: 4;
    border-left: 10px solid #f28500;
}
}


/*****************
.ambox-yellow {
* Infobox styles *
    border-left: 10px solid #f4c430;
******************/
.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 {
.ambox-purple {
  width: 100%;
    border-left: 10px solid #9932cc;
  padding: 0;
  background-color:transparent;
  border: 0;
}
}


.infobox-header {
.ambox-wiki {
  font-size: 150%;
    border-left: 10px solid #454340;
  padding:0.4em;
}
}


.infobox-section {
.ambox-gray {
  padding:0.05em 0.3em;
    border-left: 10px solid #bba;
  text-align:center;
}
}


.infobox-header,
.ambox-green {
.infobox-section {
    border-left: 10px solid #228b22;
  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;
}