MediaWiki:Common.css

.col-container { display: flex; width: 100%; } .col { flex: 1; padding: 16px; } /* General tweaks */ .mw-plusminus-neg { color: #f00; } /* copyright images tweak */ .skin-hydradark .copyright-icon { background-image: url("https://vignette.wikia.nocookie.net/kards/images/5/58/Copyright_darkwiki.png);   background-size: 100%;    height: 32px;    width: 32px; } /* 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; } /* Front page structure */ .fpbox { margin: 5px; padding: 5px; width:100%; } .fpbox.plain { background: transparent; border: none; box-shadow: none; } .fpbox .heading, .fpbox .mainheading, .fpbox .welcome { margin: 0 0 10px; padding: 0 0 5px; overflow: auto; } .fpbox .mainheading, .fpbox .welcome { font-size: 150%; font-weight: bold; } .fpbox .heading { text-align: center; font-size: 132%; } .linkslabel { margin: 15px 5px 5px; padding: 0 0 5px; } /* 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 section affects the main page layout            */ /* ***************************************************** */ /* this CSS governs the responsive 2 column main page layout */ 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; } }   grid-area: a; } grid-area: b; } grid-area: c; } /* end responsive 2 column main page layout */ /* ******************** */ /* End main page layout */ /* ******************** */ .ambox { background-color: #282828; 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-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; } /* INFOBOXES: game or book depended color style */ .infoboxtable { background-color: rgba(0, 0, 0, 0); border: 1px solid #505050; color: #ffffff; float: right; font-size: 89%; margin-bottom: 0.5em; margin-left: 1em; padding: 0.2em; width: 300px; } .infoboxtable td { vertical-align: top; } .infoboxtable td > div { background-color: #181818; border: 2px solid inherit; border-radius: 5px; font-weight: bold; padding: 0.5px 7px; text-align: right; } .infoboxname { background-color: #181818; font-size: 110%; font-weight: bold; padding: 0.5em; } .infoboxdetails { padding: 0em; } /* copyright images tweak */ .skin-hydradark .copyright-icon { background-image: url("https://commons.gamepedia.com/media/commons.gamepedia.com/thumb/5/58/Copyright_darkwiki.png/32px-Copyright_darkwiki.png"); background-size: 100%; height: 32px; width: 32px; } .feature { background: rgba(0, 0, 0, 0.1); border: 1px solid rgba(0, 0, 0, 0.5); border-radius: 5px; padding: 10px; } /* 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(0, 0, 0, 0.1); } .navbox-list { border-color: rgba(0, 0, 0, 0.1); /* Must match background color */ } /* Level 1 color */ .navbox-title, table.navbox th { background: rgba(0, 0, 0, 0.2); color: #fff; } /* Level 2 styling */ .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: rgba(0, 0, 0, 0.2); color: #fff; } /* Level 3 styling */ .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: rgba(0, 0, 0, 0.1); color: #fff; } /* Even row striping */ .navbox-even { background: rgba(255, 255, 255, 0.1); color: #fff; } /* 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 */ /* Front page appearance styles */ .fpbox .heading, .fpbox .mainheading { border: 0; border-bottom: 1px solid #505050; } .fpbox { background: rgba(0, 0, 0, 0.05); border: 1px solid #505050; box-shadow: 0 2px 5px #505050; } .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; }
 * 1) fp-2column.fp-container {
 * 1) fp-top {
 * 1) fp-flex {
 * 1) fp-bottom {