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

/* Infoboxes */ .infobox { float: right; width: 20em; margin: 0 0 1em 1em; border: solid 1px #5a2123; border-collapse: separate; }

.infobox .caption { background: #5a2123; text-align: center; }

.infobox td, .infobox th { vertical-align: top; text-align: left; }

.infobox td { background: #121212; }

.infobox th { background: #eee; }

.toclimit-2 .toclevel-1 ul, .toclimit-3 .toclevel-2 ul, .toclimit-4 .toclevel-3 ul, .toclimit-5 .toclevel-4 ul, .toclimit-6 .toclevel-5 ul, .toclimit-7 .toclevel-6 ul { display: none; }

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

.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"; }

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

/* ...unless they also use the hlist class */ .toc.hlist ul, .wikitable.hlist td ul, .wikitable.hlist td ol, .wikitable.hlist td dl { text-align: inherit; }
 * 1) toc.hlist ul,

/* Temporary(!) fix for horizontal TOC in Blink (Chrone/Opera) */ .hlist .tocnumber, .hlist .toctext { display: inline; }

.hlist.nonumtoc #toc ul ul, .hlist.nonumtoc .toc ul ul { /* @noflip */ margin: 0; }

/* When is used on the table of contents, the ToC will display without numbers */ .nonumtoc .tocnumber { display: none; }

.nonumtoc #toc ul, .nonumtoc .toc ul { line-height: 1.5em; list-style: none none; margin: .3em 0 0; padding: 0; }

.hlist.nonumtoc #toc ul ul, .hlist.nonumtoc .toc ul ul { /* @noflip */ margin: 0; }

.vartable { display: flex; color: white; border-top: 1px solid #303030; border-left: 1px solid #303030; }

.vartable-column { display: flex; flex-direction: column; flex: 1; }

.vartable-row { display: flex; }

.vartable-content { background: #121212; border-bottom: 1px solid #303030; border-right: 1px solid #303030; padding: 5px; flex: 1; }

/* inline, scalable icons with overlays */

.inline-icon { display: inline-block; }

.inline-icon--overlay { position: absolute; }

.inline-icon--image { display: inline-block; }

.nodisplay { display: none; }

.hidden { visibility: hidden; } /* fake - looks identical but no edit link and doesn't show up in the ToC */ .fakeh2 { font-family: opensans-regular; font-size: 1.5em; margin-top: 1em; line-height: 1.3; color: #f9f9f9; font-weight: normal; margin-bottom: 0.25em; padding: 0; border-bottom: 1px solid #5a2123; }

/* Removes redundant purge button in menu */ div.menu li#ca-cargo-purge { display:none; }

/* tooltips */

div.tooltip-hover { display:inline-block; }

div.tooltip-content { position:absolute; display:none; }

div.tooltip-hover:hover + div.tooltip-content { display:block; pointer-events:none; z-index:100; white-space:normal; } /* end tooltips */

.inline-content { display:inline-block; vertical-align:top; }