MediaWiki:Common.css

/***** CSS placed here will be applied to all skins on the entire site. *****/

/* === USERBOXES === */ table.userbox { float: left; margin: 0.2em; padding: 0; border-width: 1px; border-style: solid; } table.userbox td.left, table.userbox td.right { text-align: center; vertical-align: middle; font-size: 1.6em; padding: 0; } table.userbox td.main { padding: 0 4px; vertical-align: middle; line-height: 125%; font-size: 0.9em; } table.userbox { border-color: #aaa; background: #f8f8f8; } table.userbox td.left, table.userbox td.right { background: #d8d8d8; }

/* Style for horizontal lists (separator following item). @source mediawiki.org/wiki/Snippets/Horizontal_lists @revision 8 (2016-05-21) @author User:Edokter */ .hlist dl, .hlist ol, .hlist ul { margin: 0; padding: 0; } /* Display list items inline */ .hlist dd, .hlist dt, .hlist li { margin: 0; display: inline; } /* Display nested lists inline */ .hlist.inline, .hlist.inline dl, .hlist.inline ol, .hlist.inline ul, .hlist dl dl, .hlist dl ol, .hlist dl ul, .hlist ol dl, .hlist ol ol, .hlist ol ul, .hlist ul dl, .hlist ul ol, .hlist ul ul { display: inline; } /* Hide empty list items */ .hlist .mw-empty-li { display: none; } /* Generate interpuncts */ .hlist dt:after { content: ": "; } /** * Note hlist style usage differd in * the Minerva skin. Remember .hlist is a class defined in core as well! Please check Minerva desktop (and Minerva.css) when changing * See https://phabricator.wikimedia.org/T213239 */ .hlist dd:after, .hlist li:after { content: " · "; font-weight: bold; } .hlist dd:last-child:after, .hlist dt:last-child:after, .hlist li:last-child:after { content: none; } /* Add parentheses around nested lists */ .hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before, .hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before, .hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before { content: " (";	font-weight: normal; } .hlist dd dd:last-child:after, .hlist dd dt:last-child:after, .hlist dd li:last-child:after, .hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after, .hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {	content: ")"; font-weight: normal; } /* Put ordinals in front of ordered list items */ .hlist ol { counter-reset: listitem; } .hlist ol > li { counter-increment: listitem; } .hlist ol > li:before { content: " " counter(listitem) "\a0"; } .hlist dd ol > li:first-child:before, .hlist dt ol > li:first-child:before, .hlist li ol > li:first-child:before { content: " (" counter(listitem) "\a0"; }

/* Unbulleted lists */ .plainlist ol, .plainlist ul { line-height: inherit; list-style: none none; margin: 0; }

.plainlist ol li, .plainlist ul li { margin-bottom: 0; }

/* Default style for navigation boxes */ .navbox {                    /* Navbox container style */ box-sizing: border-box; border: 1px solid #a2a9b1; width: 100%; clear: both; font-size: 88%; text-align: center; padding: 1px; margin: 1em auto 0;      /* Prevent preceding content from clinging to navboxes */ }

.navbox .navbox { margin-top: 0;           /* No top margin for nested navboxes */ }

.navbox + .navbox { margin-top: -1px;        /* Single pixel border between adjacent navboxes */ }

.navbox-inner, .navbox-subgroup { width: 100%; }

.navbox-group, .navbox-title, .navbox-abovebelow { padding: 0.25em 1em;     /* Title, group and above/below styles */ line-height: 1.5em; text-align: center; }

th.navbox-group {            /* Group style */ white-space: nowrap; /* @noflip */ text-align: right; }

.navbox, .navbox-subgroup { background-color: #fdfdfd; /* Background color */ }

.navbox-list { line-height: 1.5em; border-color: #fdfdfd;   /* Must match background color */ }

/* cell spacing for navbox cells */ tr + tr > .navbox-abovebelow, tr + tr > .navbox-group, tr + tr > .navbox-image, tr + tr > .navbox-list {   /* Borders above 2nd, 3rd, etc. rows */ border-top: 2px solid #fdfdfd; /* Must match background color */ }

.navbox th, .navbox-title { background-color: #ccccff;     /* Level 1 color */ }

.navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title { background-color: #ddddff;     /* Level 2 color */ }

.navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { background-color: #e6e6ff;     /* Level 3 color */ }

.navbox-even { background-color: #f7f7f7;     /* Even row striping */ }

.navbox-odd { background-color: transparent; /* Odd row striping */ }

.navbox .hlist td dl, .navbox .hlist td ol, .navbox .hlist td ul, .navbox td.hlist dl, .navbox td.hlist ol, .navbox td.hlist ul { padding: 0.125em 0;      /* Adjust hlist padding in navboxes */ }

/* Styling for JQuery makeCollapsible, matching that of collapseButton */ .mw-parser-output .mw-collapsible-toggle { font-weight: normal; /* @noflip */ text-align: right; padding-right: 0.2em; padding-left: 0.2em; }

.mw-collapsible-leftside-toggle .mw-collapsible-toggle { /* @noflip */ float: left; /* @noflip */ text-align: left; }

.div-col { margin-top: 0.3em; /* column-width added here for copies of div_col that don't use the full set of vendor-prefixed styles */ column-width: 30em; }

.div-col-small { font-size: 90%; }

/* Reset top margin for lists in div col */ .div-col dl, .div-col ol, .div-col ul { margin-top: 0; }

/* Avoid elements breaking between columns See also Template:No col break */ .div-col li, .div-col dd { page-break-inside: avoid; /* Removed from CSS in favor of break-inside c. 2020 */ break-inside: avoid-column; }

/* List item fix */ .mw-parser-output li { margin: 0 0 .2em; }

/* Color contrast for highlighted references */ sup.reference:target { color: #3A3A3A; }

/* Fix references display */ .mw-parser-output .mw-references-wrap { clear: unset; }

/* for two column layouts */ .column { float: left; width: 50%; }

/* Clear floats after the columns */ .row:after { content: ""; display: table; clear: both; }

/* === Template:Ld === */

/* Line above list item */ li.ld-list-float { border-top: 1px dotted currentcolor; margin-top: -1px; }

/* Floated text div */ li.ld-list-float > div { float: right; clear: right; margin: 0 0.25em 0 0.5em; font-style: italic; font-size: 85%; user-select: none; }

/* Fix *, #, etc. list items for mobile site */ .mw-empty-elt { display: none; }

/* === Template:Ambox designs === */

/* Ambox design */ .ambox { font-size: 95%; width: 80%; margin: 0 auto; border: 1px #AAA solid; border-left: 10px solid #228b22; border-collapse: collapse; background-color: #EEE; color: dimgray; }

/* Ambox colours */ .ambox-blue { border-left: 10px solid #1e90ff;   /* Blue (notice) */ } .ambox-red { border-left: 10px solid #b22222;   /* Red (delete/serious) */ } .ambox-orange { border-left: 10px solid #f28500;   /* Orange (content) */ } .ambox-yellow { border-left: 10px solid #f4c430;   /* Yellow (style) */ } .ambox-purple { border-left: 10px solid #9932cc;   /* Purple (merge) */ } .ambox-gray { border-left: 10px solid #bba;       /* Gray (protection) */ } .ambox-green { border-left: 10px solid #228b22;   /* Green */ }

/* Ambox small text */ .ambox-smalltext { font-size: smaller; margin-top:0.5em; margin-left:0.8em; }

/* Ambox image */ .ambox-image {                   /* The left image cell */ width: 60px; padding: 2px 0px 2px 0.5em;       /* 0.5em left, 0px right */ text-align: center; }

@media print { .ambox { display: none; } }   /* no ambox when printing */

/* Adds page backgrounds per-theme*/ .theme-fandomdesktop-light { background-image: var(--theme-body-background-image); background-attachment: fixed; background-position: center; background-size: auto; background-repeat: repeat-y; } .theme-fandomdesktop-dark { background-image: var(--theme-body-background-image); background-attachment: fixed; background-position: center; background-size: auto; background-repeat: repeat-y; }