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

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

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

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

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

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

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