MediaWiki:Common.css

/*

CSS placed here will be applied to the desktop view regardless of the user's current skin.

Common.css is being phased out in favor of: 1. TemplateStyles, for template-specific styles (see Category:Template Styles) 2. MediaWiki:Gadget-Site.css, for site-wide CSS applied to all skins (desktop and mobile) 3. Skin-specific styles (see Category:Skin Styles)



body.page-Zelda_Wiki_Discussion_Center .messagebox { height: 15em; overflow: auto; }

body.page-Community_Glossary h2 { border-bottom-width: 3px; color: #aff; font-weight:bold; }

/* Default skin for navigation boxes */ .navbox {           /* Navbox container style */ border: 1px solid var(--zw-border); clear: both; font-size: 0.875rem; width: 100%; padding: var(--zw-space-05); margin-top: var(--zw-space-1); } .navbox-title { font-size: 1rem; } table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ margin-top: -1px;         /* (doesn't work for IE6, but that's okay)       */ } .navbox-title, .navbox-abovebelow, table.navbox th { text-align: center;     /* Title and above/below styles */ padding-left: 1em; padding-right: 1em; } .navbox-group {             /* Group style */ white-space: nowrap; text-align: right; font-weight: bold; padding-left: 1em; padding-right: 1em; } .navbox, .navbox-subgroup {

background: #17456E;    /* Background color */ } .navbox-list {

border-color: #17456E;  /* Must match background color */ } .navbox-title, .navbox-table th { background: var(--zw-background-header);    /* Level 1 color */ } .navbox-abovebelow, .navbox-group, .navbox-subgroup .navbox-title { background: #ddddff;    /* Level 2 color */ } .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background: #e6e6ff;    /* Level 3 color */ } .navbox-even { background: #1a4d7a;    /* Even row striping */ } .navbox-odd { background: transparent; /* Odd row striping */ }

.collapseButton {         /* 'show'/'hide' buttons created dynamically */ float: right;         /* by the CollapsibleTables javascript in    */ font-weight: normal;  /* MediaWiki:Common.js are styled here   */ text-align: right;    /* so they can be customised. */	width: auto; } .navbox .collapseButton { /* In navboxes, the show/hide button balances */ width: 6em;           /* the vde links from Template:Navbar,    */ }                         /* so they need to be the same width. */

.navbar {                 /* Navbox template links */ font-size: 88%;       /* Default font-size */ font-weight: normal; } .navbox .navbar { font-size: 100%;      /* Font-size when nested within navbox */ }

/* Prevent line breaks in silly places: 1) Links when we don't want them to  2) Bold "links" to the page itself .nowraplinks a, .nowraplinks .selflink{ white-space: nowrap; }

/* * Hiding the original Licensing field on the upload form * Stupid workaround for the CustomUploadFields extension */ .mw-htmlform-field-Licenses { display:none; }

/* * For use with the WikiEd extension * http://www.mediawiki.org/wiki/Extension:WikEd */ .wikEdPreviewBox, .wikEdDiffDiv { background-color: transparent !important;}

/* Clear level 1 and 2 headers on the left side */ h1, h2 { clear:left; }

/* Template:Caption */ text-align:center; margin:auto; }
 * 1) caption-text{

/* Styling for enhanced Recent Changes and Watchlist */ td.mw-enhanced-rc { font-size: 1.25em; font-family: monospace; }

/* Hide MsUpload UI */ display: none; }
 * 1) msupload-div {

/* Negate the "display:block" on "caption a" elements * (affects the link in collapsible tables) */ caption a { display:inline !important; }

/* Restyle the buttons like "Show preview" and "Show changes" and ApiSandbox buttons */ .skin-hydradark span.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button { color: #bfbfbf; border: none; background-color: #001339; } .skin-hydradark span.oo-ui-buttonElement-framed.oo-ui-widget-enabled > .oo-ui-buttonElement-button:hover { background-color: #0a2d6e; }

/* Restyling the fallback search icon */ div#simpleSearch #mw-searchButton { background-position: center center; background-repeat: no-repeat; }

/* Restyling "choose a table" list on "Special:Drilldown/Images" */ div#drilldown-tables-wrapper, ul#drilldown-tables li.tableName { background: none; }

/* Unrestrict max-width and resizability of textareas on Special:Expandtemplates */ body.mw-special-ExpandTemplates div.oo-ui-textInputWidget { max-width: inherit; } .oo-ui-textInputWidget input, .oo-ui-textInputWidget textarea { resize: auto; }

/* CSS relative to Cargo */ div.cargoReplacementTableInfo { background-color: #1d578b; border-color: #0b284f; }

/* For the Editor's Hub */ div.eh-lists { display: flex; justify-content: center; flex-wrap: wrap; }

div.eh-list { flex: 1 1 0; }

div.eh-list-title { display: -webkit-box; background-color: #1D578B; border: 1px solid #426787; padding: 1em; }

div.eh-list-title-image { padding-right: 5px; }

div.eh-list-pages { border: 1px solid #426787; min-height: 17em; max-height: 17em; overflow: auto; }

div.eh-list-pages p { text-align:center; }

/* RECENT CHANGES */ div.mw-recentchanges-toplinks { border-radius: var(--roundy-border-radius); }

div.mw-recentchanges-toplinks div.mw-parser-output { padding-left: 1em; padding-right: 1em; }

/* FIELDSETS */ fieldset { border-radius: var(--roundy-border-radius); }

.skin-hydradark #preferences fieldset.prefsection fieldset { border-radius: 0; }

/* DIVS */ div.header-nav-box { border: 1px solid; margin-bottom: 0.5em; }

.roundy { border-radius: var(--roundy-border-radius); padding: 4px; }

/* NAVBOXES */ div.facelift-tabbed-navbox { text-align: center; }

/* Text Indentation */ .em-indent { text-indent: 1em; }

/* LIST BOXES */ div.list-box-container { display: flex; flex-wrap: wrap; justify-content: center; }

div.list-box { position: relative; margin: 8px; flex-grow: 1; flex-basis: calc((100% / 3) - (8px *2) - (10px * 2)); }

@media only screen and (max-width: 1550px) { div.list-box { flex-basis: calc((100% / 2) - (8px *2) - (10px * 2)); } }

@media only screen and (max-width: 1100px) { div.list-box { flex-basis: calc(100% - (8px *2) - (10px * 2)); } }

div.list-box span.list-box-link a { text-align: right; position: absolute; height: 100%; width: 100%; top: 0; left: 0; text-decoration: none; }

div.list-box span.list-box-link a span.list-box-text { position: relative; top: 50%; transform: translateY(-50%); display: block; padding-right: 1em; font-size: large; }

/* Template:Noncanon */ .canonicity-section { border-left: 5px solid; padding: 5px; border-radius: var(--roundy-border-radius); }

/* Template:Ref */ div.references-small { max-height: 175px; overflow: auto; margin-bottom: 1em; padding: 0.5em; }

/* MAIN PAGE */ @media screen and (min-width: 1650px) { /* width 1650px < 2355px */ .infoblock-container  { max-width:2130px; } }

.main-page { font-size:15px; margin:2em auto; width:98%; }

margin:0 auto; }
 * 1) mf-zw-logo {

/* ##################### SEARCH BAR ##################### */

.bodySearchWrap { /* Generated from the tags */ margin-top:30px; font-size:18px; }

.bodySearchWrap > input { /* Belongs to the input elements of */ height:40px; }

.mw-ui-input { max-width:600px; width:100%; height:100%; padding:2px 2px 2px 10px; border-radius:3px; border:1px solid #999; }

/* Custom search button styling */ .mw-ui-button { -webkit-appearance:none; -moz-appearance:none; height:100%; background-color:#ebebeb; border-radius:3px; border:1px solid #999; padding:2px; width:130px; cursor:pointer; -webkit-transition:background .1s ease-in-out,color .1s ease-in-out,box-shadow .1s ease-in-out; -moz-transition:background .1s ease-in-out,color .1s ease-in-out,box-shadow .1s ease-in-out; -o-transition:background .1s ease-in-out,color .1s ease-in-out,box-shadow .1s ease-in-out; transition:background .1s ease-in-out,color .1s ease-in-out,box-shadow .1s ease-in-out; }

.mw-ui-button:hover { box-shadow:0 2px rgba(0,0,0,0.1),inset 0 -4px rgba(0,0,0,0.2); }

.mw-ui-button:focus { border:2px solid rgba(0,0,0,0.3); border-radius:4px; outline:none; box-shadow:none; }

.mw-ui-button:active { box-shadow:0 0 3px rgba(0,0,0,0.2); background-color:#ccc; }

/* #################### WELCOME TEXT #################### */ margin:2em 0; }
 * 1) mf-welcome-text {

/* SIDEBAR */ div#mw-panel div.portal li a[href="https://discord.gg/eJnnvYb"] { background: url(https://discordapp.com/api/guilds/471372235957993474/embed.png) no-repeat; color: transparent !important; display: inline-block; height: 20px; width: 119px; }

/* * Stylesheet to load on Template:Hide with Extension:CSS */ .template-hide { border: 1px solid #426787; border-collapse: collapse; clear: both; margin: 0; padding: 4px; }

.template-hide-head { display: flex; justify-content: space-between; align-items: center;

background-color: #2D679B; cursor: pointer; font-weight: bold; padding: 2px; text-align: center; -webkit-touch-callout: none; /* prevent text highlighting on double click */ -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }

div.nav-head:hover { background-color: #227777; }

.template-hide-toggle { color: yellow; flex-shrink: 0; float: right; font-size: smaller; font-weight: normal; vertical-align: middle; width: 5em; }

/* Allows hide and show to toggle */ .template-hide span.hide, .template-hide.mw-collapsed span.show { display: block; }

.template-hide span.show, .template-hide.mw-collapsed span.hide { display: none; }

/* Knight Challenges page */ text-align: center; }
 * 1) knight-challenges-page-banner {

max-width: 100%; height: auto; }
 * 1) knight-challenges-page-banner img {

div.knight-challenges-cards-container { display: flex; }

div.knight-challenges-card { flex-grow: 1; flex-basis: 0; padding: 10px; }

.knight-challenges-card-header { text-align: center; }

.knight-challenges-card-content { border-radius: var(--roundy-border-radius); height: calc(100% - (2 * 10px)); padding: 10px; }

/* NAVBOXES */ div.navbox span.mw-collapsible-toggle { padding-right: 5px; }

div.navbox table.navbox-table { width: 100%; }

div.navbox table.navbox-table th { width: 10%; }

div.wikiEditor-ui-text textarea.ui-autocomplete-input { background-color: white; color: black; }

dl.releases dt:not(:first-child) { margin-top: 1em; } dl.releases dd { margin-left: 0; }

/* MISC */ .mobile-only { display: none; }