MediaWiki:Common.css

/* 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 { 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; flex-grow: 1; }

/* 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; overflow: auto; width: calc(100% - 2px); }

.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 CSS governs the responsive 3 column main page layout */ min-height:calc(325px + 2.3em); }
 * 1) fptweets {

display: grid; grid-template-areas: "a" "b" "c" "d"; grid-template-columns: 100%; } @media screen and (min-width:990px) { #fp-3column.fp-container { grid-template-areas: "a b" "c b" "c d"; grid-template-columns: 50% 50%; } } @media screen and (min-width:1350px) { #fp-3column.fp-container { grid-template-areas: "a b c" "d b c"; grid-template-columns: 33.3% 33.3% 33.3%; } }
 * 1) fp-3column.fp-container {

grid-area: a; }
 * 1) fp-1 {

grid-area: b; }
 * 1) fp-2 {

grid-area: c; }
 * 1) fp-3 {

grid-area: d; }
 * 1) fp-4 {

/* end responsive 3 column main page layout */

/* ******************** */ /* End main page layout */ /* ******************** */

/* Hiding the native licensing option from the file upload form */ .mw-htmlform-field-Licenses { display: none; }

/* Main Page */ .main-page-classes-container, .main-page-classes-roles-container { display: flex; flex-wrap: wrap; }

.main-page-classes-container { justify-content: space-evenly; }

.main-page-classes-roles-container { justify-content: center; }

/* Tooltips */ .tooltip { position: relative; display: inline-block; }

.tooltip .tooltip-text { visibility: hidden; color: #fff; text-align: center; border-radius: 6px; padding: 5px; white-space: nowrap; /* Position the tooltip */ position: absolute; z-index: 1; bottom: 100%; left: 50%; transform: translateX(-50%); }

.tooltip a:hover + .tooltip-text, .tooltip img:hover + .tooltip-text { visibility: visible; }

/* Infoboxes */ table.infobox-table { float: right; /* considering the border's thickness for the final width */ width: calc(320px + (27px * 2)); }

table.infobox-table td.infobox-image, table.infobox-table td.infobox-image-caption { text-align: center; }

table.infobox-table tr.infobox-field:not(.wide) th.infobox-field-caption { text-align: right; width: calc(300px / 2); padding-right: 5px; border-radius: 4px; }

table.infobox-table tr.infobox-field.wide .infobox-field-content { text-align: center; }

/* Template:Infobox Quest */ table.infobox-table div.quest-rewards-container { display: flex; flex-wrap: wrap; justify-content: center; }

table.infobox-table div.quest-rewards-item-exp { width: 100%; }

/* Template:In-Game Description */ div.in-game-description { display: inline-block; max-width: 30em; }

div.spell-details-container, div.weapon-details-container { max-width: 27em; display: inline-block; }

div.keyword-details-container, div.status-details-container { max-width: 20em; display: inline-block; }

div.keyword-details-name, div.spell-details-name, div.status-details-name, div.weapon-details-name { font-weight: bold; font-size: 1.3em; }

div.keyword-details-name, div.spell-details-name, div.status-details-name { display: inline-block; padding-left: 0.5em; }

div.spell-details-image, div.status-details-image { float: left; }

div.weapon-details-image { display: inline-block; }

div.spell-details-level, div.spell-details-info, div.status-details-level, div.weapon-details-info { text-align: right; }

div.spell-details-description, div.status-details-description, div.status-details-effects { display: inline-block; font-size: 85%; }

div.details-effects-container ul.tabbernav { border:none; }

div.details-effects-container ul.tabbernav li a { border-radius: 5px 5px 0 0; }

div.details-effects-container div.tabbertab { border: none; padding: 0; }

table.details-effects-table { width: 100%; border-collapse: collapse; }

table.details-effects-table tr { font-size: 85%; height: 1.8em; }

div.to_tooltip div.details-effects-container div.tabbertab:not(:nth-child(1)) { display: none; }

/* Template:Spells */ .spells-display { display: inline-block; }

.spells-display-container { display: inline-grid; grid-template-columns: auto auto auto auto auto; }

/* Misc */ .darkened { filter: brightness(0.3); }

.flex-break { flex-basis: 100%; height: 0; width: 0; }

.header { text-align: center; }

/* Discord button in the sidebar */ div#mw-panel div.portal li a[href="https://discord.gg/EUcb8Bq"] { background: url(https://discordapp.com/api/guilds/654174043905196032/embed.png) no-repeat; color: transparent !important; display: inline-block; height: 20px; width: 119px; text-shadow: none; }