MediaWiki:Common.css: Difference between revisions

Jump to navigationJump to search
en>Krinkle
Fix mw-collapsible-toggle custom style to not interferre with mw-ui-button, e.g. on User:Krinkle
 
Line 1: Line 1:
/*
/* CSS placed here will be applied to all skins */
* This is the CSS for all desktop skins on en.Wikipedia.
body.page-Main_Page h1.firstHeading { display:none; }
* Styling inside .mw-parser-output should generally use TemplateStyles.
*/
/* Reset italic styling set by user agent */
cite,
dfn {
font-style: inherit;
}


/* Straight quote marks for <q> */
/* un-comment next line to display all ToCs with no numbers */
q {
.tocnumber { display:none; }
quotes: '"' '"' "'" "'";
}


/* Avoid collision of blockquote with floating elements by swapping margin and padding */
/* start a page with <div class="nonumtoc"> to display that page's ToC with no numbers */
blockquote {
/* end the page with </div> */
overflow: hidden;
.nonumtoc .tocnumber { display: none; }
margin: 1em 0;
padding: 0 40px;
}


/* Consistent size for <small>, <sub> and <sup> */
/* start a page with <div class="numtoclevel1"> to display that page's ToC with level 1 numbers only */
small {
/* end the page with </div> */
font-size: 85%;
.numtoclevel1 ul ul .tocnumber,
}
.numtoclevel1 ul ul .tocnumber { display: none; }


.mw-body-content sub,
/* ------------------------------------------------------------------------------------- */
.mw-body-content sup,
/* Styles for navboxes, copied and adapted from Wikipedia by Henning Makholm, 2013-03-10 */
span.reference /* for Parsoid */ {
/* Default style for navigation boxes */
font-size: 80%;
.navbox {                     /* Navbox container style */
    border: 1px solid #aaa;
    width: 100%;
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
}
 
.navbox-inner,
/* Same spacing for indented and unindented paragraphs on talk pages */
.navbox-subgroup {
.ns-talk .mw-body-content dd {
    width: 100%;
margin-top: 0.4em;
margin-bottom: 0.4em;
}
}
 
.navbox-group,
/* Reduce page jumps by hiding collapsed/dismissed content */
.navbox-title,
.client-js .mw-special-Watchlist #watchlist-message,
.navbox-abovebelow {
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),
    padding: 0.25em 1em;      /* Title, group and above/below styles */
 
    line-height: 1.5em;
/* Hide charinsert base for those not using the gadget */
    text-align: center;
#editpage-specialchars {
display: none;
}
}
 
th.navbox-group {            /* Group style */
/* Adds padding above Watchlist announcements where new recentchanges/watchlist filters are enabled */
    white-space: nowrap;
.mw-rcfilters-enabled .mw-specialpage-summary {
    /* @noflip */
margin-top: 1em;
    text-align: right;
}
}
 
.navbox,
/* Make the list of references smaller
.navbox-subgroup {
* Keep in sync with Template:Refbegin/styles.css
    background: #fdfdfd;      /* Background color */
* And Template:Reflist/styles.css
*/
ol.references {
font-size: 90%;
margin-bottom: 0.5em;
}
}
 
.navbox-list {
/* Styling for jQuery makeCollapsible, matching that of collapseButton */
    line-height: 1.8em;
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
    border-color: #fdfdfd;   /* Must match background color */
font-weight: normal;
/* @noflip */
text-align: right;
padding-right: 0.2em;
padding-left: 0.2em;
}
}
 
.navbox th,
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
.navbox-title {
/* @noflip */
    background: #ccccff;     /* Level 1 color */
float: left;
/* @noflip */
text-align: left;
}
}
 
.navbox-abovebelow,
/* Lists in wikitable data cells are always left-aligned */
th.navbox-group,
.wikitable td ul,
.navbox-subgroup .navbox-title {
.wikitable td ol,
    background: #ddddff;      /* Level 2 color */
.wikitable td dl {
/* @noflip */
text-align: left;
}
}
 
.navbox-subgroup .navbox-group,
/* Fix for hieroglyphs specificity issue in infoboxes ([[phab:T43869]]) */
.navbox-subgroup .navbox-abovebelow {
.mw-parser-output table.mw-hiero-table td {
    background: #e6e6ff;     /* Level 3 color */
vertical-align: middle;
}
}
 
.navbox-even {
/* Change the external link icon to a PDF icon for all PDF files */
    background: #f7f7f7;     /* Even row striping */
.mw-parser-output a[href$=".pdf"].external,
.mw-parser-output a[href*=".pdf?"].external,
.mw-parser-output a[href*=".pdf#"].external,
.mw-parser-output a[href$=".PDF"].external,
.mw-parser-output a[href*=".PDF?"].external,
.mw-parser-output a[href*=".PDF#"].external {
background: url("//upload.wikimedia.org/wikipedia/commons/4/4d/Icon_pdf_file.png") no-repeat right;
/* @noflip */
padding: 8px 18px 8px 0;
}
}
 
.navbox-odd {
/* System messages styled similarly to fmbox */
    background: transparent; /* Odd row striping */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div.titleblacklist-warning {
clear: both;
margin: 0.2em 0;
border: 1px solid #bb7070;
background-color: #ffdbdb;
padding: 0.25em 0.9em;
box-sizing: border-box;
}
}
 
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
/* default colors for partial block message */
    margin-top: -1px;         /* (doesn't work for IE6, but that's okay)      */
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt {
border-color: #fc3;
background-color: #fef6e7;
}
}
 
.navbox .hlist td dl,
/* Increase the height of the image upload box */
.navbox .hlist td ol,
#wpUploadDescription {
.navbox .hlist td ul,
height: 13em;
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
    padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
}
 
ol + table.navbox,
/* Minimum thumb width */
ul + table.navbox {
.thumbinner {
    margin-top: 0.5em;       /* Prevent lists from clinging to navboxes */
min-width: 100px;
}
}
 
/* Prevent floating boxes from overlapping any category listings,
/* Default styling for Navbar template */
  file histories, edit previews, and edit [Show changes] views. */
.navbar {
#mw-subcategories,
    display: inline;
#mw-pages,
    font-size: 88%;
#mw-category-media,
    font-weight: normal;
#filehistory,
#wikiPreview,
#wikiDiff {
clear: both;
}
}
 
.navbar ul {
/* Styling for Abuse Filter tags */
    display: inline;
.mw-tag-markers {
    white-space: nowrap;
font-style: italic;
font-size: 90%;
}
}
 
.navbar li {
/* Hide stuff meant for accounts with special permissions. Made visible again in
    word-spacing: -0.125em;
  [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]],
  [[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]],
  [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
  [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
.checkuser-show,
.sysop-show,
.abusefilter-show,
.abusefilter-helper-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
display: none;
}
}
 
.navbar.mini li span {
/* Hide the redlink generated by {{Editnotice}},
  font-variant: small-caps;
  this overrides the ".sysop-show { display: none; }" above that applies
  to the same link as well. See [[phab:T45013]]
 
  Hide the images in editnotices to keep them readable in VE view.
  Long term, editnotices should become a core feature so that they can be designed responsive. */
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
.ve-ui-mwNoticesPopupTool-item .mbox-image,
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
display: none !important;
}
}
 
/* Navbar styling when nested in infobox and navbox */
/* Remove bullets when there are multiple edit page warnings */
.infobox .navbar {
ul.permissions-errors {
    font-size: 100%;
margin: 0;
}
}
 
.navbox .navbar {
ul.permissions-errors > li {
    display: block;
list-style: none none;
    font-size: 100%;
}
 
/* larger inline math */
span.mwe-math-mathml-inline {
font-size: 118%;
}
 
/* Make <math display="block"> be left aligned with one space indent for
* compatibility with style conventions
*/
.mwe-math-fallback-image-display,
.mwe-math-mathml-display {
margin-left: 1.6em !important;
margin-top: 0.6em;
margin-bottom: 0.6em;
}
 
.mwe-math-mathml-display math {
display: inline;
}
 
@media screen {
/* Gallery styles background changes are restricted to screen view.
  In printing we should avoid applying backgrounds. */
/* The backgrounds for galleries. */
#content .gallerybox div.thumb {
/* Light gray padding */
background-color: #f8f9fa;
}
/* Put a chequered background behind images, only visible if they have transparency.
  '.filehistory a img' and '#file img:hover' are handled by MediaWiki core (as of 1.19) */
.gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
/* But not on articles, user pages, or portals. */
.ns-0 .gallerybox .thumb img,
.ns-2 .gallerybox .thumb img,
.ns-100 .gallerybox .thumb img {
background-image: none;
}
 
/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
  do not apply to print mode */
#siteSub {
display: block;
}
}
}
 
.navbox-title .navbar {
/* Hide FlaggedRevs notice UI when there are no pending changes */
    /* @noflip */
.flaggedrevs_draft_synced,
    float: left;
.flaggedrevs_stable_synced,
    /* @noflip */
/* "Temporary" to remove links in sidebar T255381 */
    text-align: left;
#t-upload,
    /* @noflip */
/* Hide broken download box on Special:Book pending T285400 */
    margin-right: 0.5em;
.mw-special-Book #coll-downloadbox {
    width: 6em;
display: none;
}
}
/*
* BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;
* SEE [[MediaWiki talk:Common.css/to do]]
*/


/* Style for horizontal lists (separator following item).
/* Style for horizontal lists (separator following item).
  Note: hlist formatting will break if the resulting HTML lacks a breakable character
  between list items. This happens when the following conditions are true:
  1) The list is made using wiki markup (where HTML is built by parser.php)
  2) HTMLTidy is disabled or unavailable (such as on Special: pages)
  In such cases, building lists with .hlist using HTML instead of wiki markup
  will work around this problem. See also [[Bugzilla:39617]].
  IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
  Last updated: January 24, 2013
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @revision 8 (2016-05-21)
   @maintainer: [[User:Edokter]]
  @author [[User:Edokter]]
  @revision: 3.1
*/
*/
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist dl,
.hlist ol,
.hlist ol,
.hlist ul {
.hlist ul {
margin: 0;
    margin: 0;
padding: 0;
    padding: 0;
}
}
 
/* Display list items inline and make them nowrap */
/* Display list items inline */
.hlist dd,
.hlist dd,
.hlist dt,
.hlist dt,
.hlist li {
.hlist li {
margin: 0; /* don't trust the note that says margin doesn't work with inline
    margin: 0;
* removing margin: 0 makes dds have margins again */
    display: inline;
display: inline;
    white-space: nowrap;
}
}
 
/* Allow wrapping for list items (in tight spaces) */
/* Display nested lists inline */
.hlist.hwrap dd,
.hlist.inline,
.hlist.hwrap dt,
.hlist.inline dl,
.hlist.hwrap li {
.hlist.inline ol,
    white-space: normal;
.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;
}
}
 
/* Display nested lists inline and allow them to wrap */
/* Hide empty list items */
.hlist dl dl, .hlist dl ol, .hlist dl ul,
.hlist .mw-empty-li {
.hlist ol dl, .hlist ol ol, .hlist ol ul,
display: none;
.hlist ul dl, .hlist ul ol, .hlist ul ul {
    display: inline;
    white-space: normal;
}
}
/* Generate interpuncts */
/* Generate interpuncts */
.hlist dt:after {
.hlist dt:after {
content: ": ";
    content: ":";
}
}
/**
* Note hlist style usage differs in Minerva and is defined in core as well!
* Please check Minerva desktop (and Minerva.css) when changing
* See https://phabricator.wikimedia.org/T213239
*/
.hlist dd:after,
.hlist dd:after,
.hlist li:after {
.hlist li:after {
content: " · ";
    content: " ·";
font-weight: bold;
    font-weight: bold;
}
}
.hlist dd:last-child:after,
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
.hlist li:last-child:after {
content: none;
    content: none;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
    content: none;
}
}
/* Add parentheses around nested lists */
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before,
.hlist dd dd:first-child:before, .hlist dd dt:first-child:before, .hlist dd li:first-child:before,
.hlist dd dt:first-child:before,
.hlist dt dd:first-child:before, .hlist dt dt:first-child:before, .hlist dt li:first-child:before,
.hlist dd li:first-child:before,
.hlist li dd:first-child:before, .hlist li dt:first-child:before, .hlist li li:first-child:before {
.hlist dt dd:first-child:before,
    content: "(";
.hlist dt dt:first-child:before,
    font-weight: normal;
.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 dd dd:last-child:after,
.hlist dt dd:last-child:after, .hlist dt dt:last-child:after, .hlist dt li:last-child:after,
.hlist dd dt:last-child:after,
.hlist li dd:last-child:after, .hlist li dt:last-child:after, .hlist li li:last-child:after {
.hlist dd li:last-child:after,
    content: ")";
.hlist dt dd:last-child:after,
    font-weight: normal;
.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;
}
}
 
/* For IE8 */
/* Put ordinals in front of ordered list items */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist ol {
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
counter-reset: listitem;
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
    content: ")";
    font-weight: normal;
}
}
 
/* Put numbers in front of ordered list items */
.hlist ol > li {
.hlist.hnum ol {
counter-increment: listitem;
    counter-reset: list-item;
}
 
.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;
}
 
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
width: 22em;
}
 
.infobox-header,
.infobox-label,
.infobox-above,
.infobox-full-data,
.infobox-data,
.infobox-below,
.infobox-subheader,
.infobox-image,
.infobox-navbar,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
vertical-align: top;
}
 
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
text-align: left;
}
 
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-above,
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
 
.infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
padding: 0.2em;
}
 
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-header,
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
 
/* Remove .infobox when element selectors above are removed */
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
}
 
.hlist.hnum ol > li {
/* Normal font styling for wikitable row headers with scope="row" tag */
    counter-increment: list-item;
.wikitable.plainrowheaders th[scope=row],
.wikitable.plainrowheaders th[scope=rowgroup] {
font-weight: normal;
/* @noflip */
text-align: left;
}
}
 
.hlist.hnum ol > li:before {
/* ambox/tmbox/imbox/cmbox/ombox/fmbox message boxes */
     content: counter(list-item) " ";
th.mbox-text,
td.mbox-text {   /* The message body cell(s) */
border: none;
/* @noflip */
padding: 0.25em 0.9em;     /* 0.9em left/right */
width: 100%;               /* Make all mboxes the same width regardless of text length */
}
}
 
.hlist.hnum dd ol > li:first-child:before,
td.mbox-image {                /* The left image cell */
.hlist.hnum dt ol > li:first-child:before,
border: none;
.hlist.hnum li ol > li:first-child:before {
/* @noflip */
    content: "(" counter(list-item) " ";
padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
text-align: center;
}
}


td.mbox-imageright {          /* The right image cell */
/* don't display stuff intended for Mobile version on desktop version */
border: none;
.mf-homemobile { display: none; }  
/* @noflip */
padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
text-align: center;
}


td.mbox-empty-cell {          /* An empty narrow cell */
/* Obscure Services table */
border: none;
table.ostable {
padding: 0;
    width:100%;
width: 1px;
    border-collapse: collapse;
    border: 1px solid black;
}
}
 
.ostable td:nth-of-type(1) {
/* Article message box styles */
    width: 8%;
table.ambox {
    text-align:center;
margin: 0 10%;                 /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
/* @noflip */
border-left: 10px solid #36c;  /* Default "notice" blue */
background-color: #fbfbfb;
box-sizing: border-box;
}
}
 
.ostable td:nth-of-type(2) {
/* Single border between stacked boxes. */
    width: 8%;
table.ambox + table.ambox,
    text-align:center;
table.ambox + .mw-empty-elt + table.ambox {
margin-top: -1px;
}
}
 
.ostable td:nth-of-type(3) {
.ambox th.mbox-text,
    width: 10%;
.ambox td.mbox-text {            /* The message body cell(s) */
    font-style: italic;
padding: 0.25em 0.5em;       /* 0.5em left/right */
    text-align:center;
}
}
 
.ostable td:nth-of-type(4) {
.ambox td.mbox-image {           /* The left image cell */
    width: 74%;
/* @noflip */
padding: 2px 0 2px 0.5em;   /* 0.5em left, 0px right */
}
}
 
table.ostable th {
.ambox td.mbox-imageright {     /* The right image cell */
    border: 1px solid black;
/* @noflip */
padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */
}
}
 
table.ostable td {
table.ambox-notice {
    border: 1px solid black;
/* @noflip */
border-left: 10px solid #36c;       /* Blue */
}
}


table.ambox-speedy {
/* Other Sparse Services table, 2 columns */
/* @noflip */
.osstable2 {
border-left: 10px solid #b32424;    /* Red */
    width: 100%;
background-color: #fee7e6;         /* Pink */
}
}
 
.osstable2 td:nth-of-type(1) {
table.ambox-delete {
    width: 10%;
/* @noflip */
    vertical-align: text-top;
border-left: 10px solid #b32424;   /* Red */
}
}
 
.osstable2 td:nth-of-type(2) {
table.ambox-content {
    width: 90%;
/* @noflip */
    vertical-align: text-top;
border-left: 10px solid #f28500;   /* Orange */
}
}


table.ambox-style {
/* Other Sparse Services table, 3 columns */
/* @noflip */
.osstable3 {
border-left: 10px solid #fc3;       /* Yellow */
    width: 100%;
}
}
 
.osstable3 td:nth-of-type(1) {
table.ambox-move {
    width: 10%;
/* @noflip */
    vertical-align: text-top;
border-left: 10px solid #9932cc;   /* Purple */
}
}
 
.osstable3 td:nth-of-type(2) {
table.ambox-protection {
    width: 35%;
/* @noflip */
    vertical-align: text-top;
border-left: 10px solid #a2a9b1;   /* Gray-gold */
}
}
 
.osstable3 td:nth-of-type(3) {
/* Image message box styles */
    width: 55%;
table.imbox {
    vertical-align: text-top;
margin: 4px 10%;
border-collapse: collapse;
border: 3px solid #36c;    /* Default "notice" blue */
background-color: #fbfbfb;
box-sizing: border-box;
}
}


.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
/* Deletions since the Previous Edition table, 3 columns */
margin: 0 -0.5em;      /* 0.9 - 0.5 = 0.4em left/right.        */
.dpetable3 {
display: block;        /* Fix for webkit to force 100% width.  */
    width: 100%;
}
}
 
.dpetable3 td:nth-of-type(1) {
.mbox-inside .imbox {       /* For imboxes inside other templates.  */
    width: 10%;
margin: 4px;
    vertical-align: text-top;
}
}
 
.dpetable3 td:nth-of-type(2) {
table.imbox-notice {
    width: 35%;
border: 3px solid #36c;       /* Blue */
    vertical-align: text-top;
}
}
 
.dpetable3 td:nth-of-type(3) {
table.imbox-speedy {
    width: 55%;
border: 3px solid #b32424;   /* Red */
    vertical-align: text-top;
background-color: #fee7e6;   /* Pink */
}
}
table.imbox-delete {
border: 3px solid #b32424;    /* Red */
}
table.imbox-content {
border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
border: 3px solid #fc3;      /* Yellow */
}
table.imbox-move {
border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
border: 3px solid #a2a9b1;    /* Gray-gold */
}
table.imbox-license {
border: 3px solid #88a;      /* Dark gray */
background-color: #f7f8ff;    /* Light gray */
}
table.imbox-featured {
border: 3px solid #cba135;    /* Brown-gold */
}
/* Category message box styles */
table.cmbox {
margin: 3px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;
background-color: #dfe8ff;    /* Default "notice" blue */
box-sizing: border-box;
}
table.cmbox-notice {
background-color: #d8e8ff;    /* Blue */
}
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b32424;    /* Red */
background-color: #ffdbdb;    /* Pink */
}
table.cmbox-delete {
background-color: #ffdbdb;    /* Pink */
}
table.cmbox-content {
background-color: #ffe7ce;    /* Orange */
}
table.cmbox-style {
background-color: #fff9db;    /* Yellow */
}
table.cmbox-move {
background-color: #e4d8ff;    /* Purple */
}
table.cmbox-protection {
background-color: #efefe1;    /* Gray-gold */
}
/* Other pages message box styles */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;    /* Default "notice" gray */
background-color: #f8f9fa;
box-sizing: border-box;
}
table.ombox-notice {
border: 1px solid #a2a9b1;    /* Gray */
}
table.ombox-speedy {
border: 2px solid #b32424;    /* Red */
background-color: #fee7e6;    /* Pink */
}
table.ombox-delete {
border: 2px solid #b32424;    /* Red */
}
table.ombox-content {
border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
border: 1px solid #fc3;      /* Yellow */
}
table.ombox-move {
border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
border: 2px solid #a2a9b1;    /* Gray-gold */
}
/* Talk page message box styles */
table.tmbox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #c0c090;    /* Default "notice" gray-brown */
background-color: #f8eaba;
min-width: 80%;
box-sizing: border-box;
}
.tmbox.mbox-small {
min-width: 0;                /* reset the min-width of tmbox above        */
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
margin: 2px 0;              /* this declaration overrides other styles (including mbox-small above)  */
width: 100%;                /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
line-height: 1.5em;          /* also "nested", so reset styles that are  */
font-size: 100%;            /* set in "mbox-small" above.                */
}
table.tmbox-speedy {
border: 2px solid #b32424;    /* Red */
background-color: #fee7e6;    /* Pink */
}
table.tmbox-delete {
border: 2px solid #b32424;    /* Red */
}
table.tmbox-content {
border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
border: 2px solid #fc3;      /* Yellow */
}
table.tmbox-move {
border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
border: 1px solid #c0c090;    /* Gray-brown */
}
/* Footer and header message box styles */
table.fmbox {
clear: both;
margin: 0.2em 0;
width: 100%;
border: 1px solid #a2a9b1;
background-color: #f8f9fa;    /* Default "system" gray */
box-sizing: border-box;
}
table.fmbox-system {
background-color: #f8f9fa;
}
table.fmbox-warning {
border: 1px solid #bb7070;  /* Dark pink */
background-color: #ffdbdb;  /* Pink */
}
table.fmbox-editnotice {
background-color: transparent;
}
/* These mbox-small classes must be placed after all other
  ambox/tmbox/ombox etc classes. "html body.mediawiki" is so
  they override "table.ambox + table.ambox" above. */
html body.mediawiki .mbox-small {  /* For the "small=yes" option. */
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
margin: 4px 0 4px 1em;
box-sizing: border-box;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
html body.mediawiki .mbox-small-left {  /* For the "small=left" option. */
/* @noflip */
margin: 4px 1em 4px 0;
box-sizing: border-box;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
/* Remove underlines from certain links */
.nounderlines a,
.IPA a:link,
.IPA a:visited {
text-decoration: none !important;
}
/* Prevent line breaks in silly places where desired (nowrap)
  and links when we don't want them to (nowraplinks a) */
.nowrap,
.nowraplinks a {
white-space: nowrap;
}
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
white-space: normal;
}
/* Selectively hide headers in WikiProject banners */
/* TemplateStyles */
.wpb .wpb-header {
display: none;
}
.wpbs-inner .wpb .wpb-header {
display: table-row;
}
.wpbs-inner .wpb-outside {
display: none;            /* hide things that should only display outside shells */
}
/* texhtml class for inline math (based on generic times-serif class) */
span.texhtml {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-size: 118%;
line-height: 1;
white-space: nowrap;
/* Force tabular and lining display for texhtml */
-webkit-font-feature-settings: "lnum", "tnum", "kern" 0;
font-feature-settings: "lnum", "tnum", "kern" 0;
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none;
}
span.texhtml span.texhtml {
font-size: 100%;
}
@media screen {
.nochecker .gallerybox .thumb img {
background-image: none;
}
}
/* Put anything you mean to be a sitewide addition above the TemplateStyles
* comment above.
*/

Revision as of 19:49, 30 June 2022

/* CSS placed here will be applied to all skins */
body.page-Main_Page h1.firstHeading { display:none; }

/* un-comment next line to display all ToCs with no numbers */
.tocnumber { display:none; }

/* start a page with <div class="nonumtoc"> to display that page's ToC with no numbers */
/* end the page with </div> */
.nonumtoc .tocnumber { display: none; }

/* start a page with <div class="numtoclevel1"> to display that page's ToC with level 1 numbers only */
/* end the page with </div> */
.numtoclevel1 ul ul .tocnumber, 
.numtoclevel1 ul ul .tocnumber { display: none; }

/* ------------------------------------------------------------------------------------- */
/* Styles for navboxes, copied and adapted from Wikipedia by Henning Makholm, 2013-03-10 */
/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
    border: 1px solid #aaa;
    width: 100%;
    margin: auto;
    clear: both;
    font-size: 88%;
    text-align: center;
    padding: 1px;
}
.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: #fdfdfd;      /* Background color */
}
.navbox-list {
    line-height: 1.8em;
    border-color: #fdfdfd;    /* Must match background color */
}
.navbox th,
.navbox-title {
    background: #ccccff;      /* Level 1 color */
}
.navbox-abovebelow,
th.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: #f7f7f7;      /* Even row striping */
}
.navbox-odd {
    background: transparent;  /* Odd row striping */
}
table.navbox + table.navbox {  /* Single pixel border between adjacent navboxes */
    margin-top: -1px;          /* (doesn't work for IE6, but that's okay)       */
}
.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 */
}
ol + table.navbox,
ul + table.navbox {
    margin-top: 0.5em;        /* Prevent lists from clinging to navboxes */
}
 
/* Default styling for Navbar template */
.navbar {
    display: inline;
    font-size: 88%;
    font-weight: normal;
}
.navbar ul {
    display: inline;
    white-space: nowrap;
}
.navbar li {
    word-spacing: -0.125em;
}
.navbar.mini li span {
  font-variant: small-caps;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
    font-size: 100%;
}
.navbox .navbar {
    display: block;
    font-size: 100%;
}
.navbox-title .navbar {
    /* @noflip */
    float: left;
    /* @noflip */
    text-align: left;
    /* @noflip */
    margin-right: 0.5em;
    width: 6em;
}

/* Style for horizontal lists (separator following item).
   Note: hlist formatting will break if the resulting HTML lacks a breakable character
   between list items. This happens when the following conditions are true:
   1) The list is made using wiki markup (where HTML is built by parser.php)
   2) HTMLTidy is disabled or unavailable (such as on Special: pages)
   In such cases, building lists with .hlist using HTML instead of wiki markup
   will work around this problem. See also [[Bugzilla:39617]].
   IE8-specific classes are assigned in [[MediaWiki:Common.js/IEFixes.js]].
   Last updated: January 24, 2013
   @source mediawiki.org/wiki/Snippets/Horizontal_lists
   @maintainer: [[User:Edokter]]
   @revision: 3.1
*/
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
    line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
    margin: 0;
    padding: 0;
}
/* Display list items inline and make them nowrap */
.hlist dd,
.hlist dt,
.hlist li {
    margin: 0;
    display: inline;
    white-space: nowrap;
}
/* Allow wrapping for list items (in tight spaces) */
.hlist.hwrap dd,
.hlist.hwrap dt,
.hlist.hwrap li {
    white-space: normal;
}
/* Display nested lists inline and allow them to wrap */
.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;
    white-space: normal;
}
/* 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;
}
/* For IE8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-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;
}
/* For IE8 */
.hlist dd dd.hlist-last-child:after, .hlist dd dt.hlist-last-child:after, .hlist dd li.hlist-last-child:after,
.hlist dt dd.hlist-last-child:after, .hlist dt dt.hlist-last-child:after, .hlist dt li.hlist-last-child:after,
.hlist li dd.hlist-last-child:after, .hlist li dt.hlist-last-child:after, .hlist li li.hlist-last-child:after {
    content: ")";
    font-weight: normal;
}
/* Put numbers in front of ordered list items */
.hlist.hnum ol {
    counter-reset: list-item;
}
.hlist.hnum ol > li {
    counter-increment: list-item;
}
.hlist.hnum ol > li:before {
    content: counter(list-item) " ";
}
.hlist.hnum dd ol > li:first-child:before,
.hlist.hnum dt ol > li:first-child:before,
.hlist.hnum li ol > li:first-child:before {
    content: "(" counter(list-item) " ";
}

/* don't display stuff intended for Mobile version on desktop version */
.mf-homemobile { display: none; } 

/* Obscure Services table */
table.ostable {
    width:100%;
    border-collapse: collapse;
    border: 1px solid black;
}
.ostable td:nth-of-type(1) {
    width: 8%;
    text-align:center;
}
.ostable td:nth-of-type(2) {
    width: 8%;
    text-align:center;
}
.ostable td:nth-of-type(3) {
    width: 10%;
    font-style: italic;
    text-align:center;
}
.ostable td:nth-of-type(4) {
    width: 74%;
}
table.ostable th {
    border: 1px solid black;
}
table.ostable td {
    border: 1px solid black;
}

/* Other Sparse Services table, 2 columns */
.osstable2 {
    width: 100%;
}
.osstable2 td:nth-of-type(1) {
    width: 10%;
    vertical-align: text-top;
}
.osstable2 td:nth-of-type(2) {
    width: 90%;
    vertical-align: text-top;
}

/* Other Sparse Services table, 3 columns */
.osstable3 {
    width: 100%;
}
.osstable3 td:nth-of-type(1) {
    width: 10%;
    vertical-align: text-top;
}
.osstable3 td:nth-of-type(2) {
    width: 35%;
    vertical-align: text-top;
}
.osstable3 td:nth-of-type(3) {
    width: 55%;
    vertical-align: text-top;
}

/* Deletions since the Previous Edition table, 3 columns */
.dpetable3 {
    width: 100%;
}
.dpetable3 td:nth-of-type(1) {
    width: 10%;
    vertical-align: text-top;
}
.dpetable3 td:nth-of-type(2) {
    width: 35%;
    vertical-align: text-top;
}
.dpetable3 td:nth-of-type(3) {
    width: 55%;
    vertical-align: text-top;
}