MediaWiki:Common.css: Difference between revisions

From New Prairie Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Tag: Reverted
Line 1: Line 1:
/* CSS placed here will be applied to all skins */
/*
.infobox {
* This is the CSS common to all desktop skins on en.Wikipedia.
    border: 1px solid #a2a9b1;
* Styling inside .mw-parser-output should generally use TemplateStyles.
    color: black;
*/
    padding: 0.2em;
/* Reset italic styling set by user agent */
    font-size: 88%;
cite,
    line-height: 1.5em;
dfn {
    border-spacing: 3px
font-style: inherit;
}
}


@media screen {
/* Straight quote marks for <q> */
    .infobox {
q {
        background-color: #f8f9fa
quotes: '"' '"' "'" "'";
    }
}
}


@media (max-width: 640px) {
/* Avoid collision of blockquote with floating elements by swapping margin and padding */
    .infobox {
blockquote {
        width:100%
overflow: hidden;
    }
margin: 1em 0;
padding: 0 40px;
}


    .infobox .nowrap {
/* Consistent size for <small>, <sub> and <sup> */
        white-space: normal
small {
    }
font-size: 85%;
}
}


@media (min-width: 640px) {
.mw-body-content sub,
    .infobox {
.mw-body-content sup {
        margin:0.5em 0 0.5em 1em;
font-size: 80%;
        float: right;
        clear: right;
        width: 22em
    }
}
}


.infobox-header,.infobox-label,.infobox-above,.infobox-full-data,.infobox-data,.infobox-below,.infobox-subheader,.infobox-image,.infobox-navbar,.infobox th,.infobox td {
/* Same spacing for indented and unindented paragraphs on talk pages */
    vertical-align: top
.ns-talk .mw-body-content dd {
margin-top: 0.4em;
margin-bottom: 0.4em;
}
}


.infobox-label,.infobox-data,.infobox th,.infobox td {
/* Reduce page jumps by hiding collapsed/dismissed content */
    text-align: left
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),
 
/* Avoid FOUC/reflows on collapsed elements. */
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > thead + tbody,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ),
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content,
 
/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
display: none;
}
}


.infobox .infobox-above,.infobox .infobox-title,.infobox caption {
/* Different margin on references */
    font-size: 125%;
.references {
    font-weight: bold;
margin-bottom: 0.5em;
    text-align: center
}
}


.infobox-title,.infobox caption {
/* Cite customizations */
    padding: 0.2em
span[ rel="mw:referencedBy" ] {
counter-reset: mw-ref-linkback 0;
}
}


.infobox .infobox-header,.infobox .infobox-subheader,.infobox .infobox-image,.infobox .infobox-full-data,.infobox .infobox-below {
span[ rel='mw:referencedBy' ] > a::before {
    text-align: center
content: counter( mw-ref-linkback, lower-alpha );
font-size: 80%;
font-weight: bold;
font-style: italic;
}
}


.infobox .infobox-navbar {
a[ rel="mw:referencedBy" ]::before {
    text-align: right
font-weight: bold;
content: "^";
}
}


.infobox .plainlist ul, .infobox .plainlist li {
span[ rel="mw:referencedBy" ]::before {
list-style: none;
content: "^ ";
margin: 0;
}
}


.template-documentation {
/* Styling for jQuery makeCollapsible, matching that of collapseButton */
    clear: both;
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
    margin: 1em 0 0 0;
font-weight: normal;
    border: 1px solid #aaa;
padding-right: 0.2em;
    background-color: #ecfcf4;
padding-left: 0.2em;
    padding: 1em;
}
}


  .wikitable {
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
        background-color: var(--background-color-neutral-subtle,#f8f9fa);
/* @noflip */
        color: var(--color-base,#202122);
float: left;
        margin: 1em 0;
}
        border: 1px solid var(--border-color-base,#a2a9b1);
        border-collapse: collapse
    }


    .wikitable > tr > th,.wikitable > tr > td,.wikitable > * > tr > th,.wikitable > * > tr > td {
/* Lists in wikitable data cells are always left-aligned */
        border: 1px solid var(--border-color-base,#a2a9b1);
.wikitable td ul,
        padding: 0.2em 0.4em
.wikitable td ol,
    }
.wikitable td dl {
/* @noflip */
text-align: left;
}


    .wikitable > tr > th,.wikitable > * > tr > th {
/* Change the external link icon to a PDF icon for all PDF files */
        background-color: var(--background-color-neutral,#eaecf0);
.mw-parser-output a[href$=".pdf"].external,
        color: var(--color-base,#202122);
.mw-parser-output a[href*=".pdf?"].external,
        text-align: center
.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;
}


    .wikitable > caption {
/* System messages styled similarly to fmbox */
        font-weight: bold
/* for .mw-warning-with-logexcerpt, behavior of this line differs between
    }
* the edit-protected notice and the special:Contribs for blocked users
* The latter has specificity of 3 classes so we have to triple up here.
*/
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
clear: both;
margin: 0.2em 0;
border: 1px solid #bb7070;
background-color: var(--background-color-error-subtle, #ffdbdb);
padding: 0.25em 0.9em;
box-sizing: border-box;
}


.fmbox {
/* default colors for partial block message */
    clear: both;
/* gotta get over the hump introduced by the triple class above */
    margin: 0.2em 0;
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {
    width: 100%;
border-color: #fc3;
    border: 1px solid #aaa;
background-color: var(--background-color-warning-subtle, #fef6e7);
    background: #f9f9f9;
}
}


th.mbox-text, td.mbox-text {
/* Minimum thumb width */
    border: none;
@media (min-width: 640px) {
    padding: 0.25em 0.9em;
figure[typeof~='mw:File/Thumb'],
    width: 100%;
figure[typeof~='mw:File/Frame'],
.thumbinner {
min-width: 100px;
}
}
}


.mergedtoprow {
/* Prevent floating boxes from overlapping any category listings,
    border-top: 1px solid #aaa;
  file histories, edit previews, and edit [Show changes] views. */
    padding: 0.4em 0.6em 0.2em 0.6em;
#mw-subcategories,
#mw-pages,
#mw-category-media,
#filehistory,
#wikiPreview,
#wikiDiff {
clear: both;
}
}


.mediawiki .mbox-small {
/* Hide stuff meant for accounts with special permissions. Made visible again in
    clear: right;
  [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]],
    float: right;
  [[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]],
    margin: 4px 0 4px 1em;
  [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
    width: 238px;
  [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
    font-size: 88%;
.checkuser-show,
    line-height: 1.25em;
.sysop-show,
.abusefilter-show,
.abusefilter-helper-show,
.patroller-show,
.templateeditor-show,
.extendedmover-show,
.extendedconfirmed-show,
.autoconfirmed-show,
.user-show {
display: none;
}
}


.ombox-notice {
/* Hide the redlink generated by {{Editnotice}},
    border: 1px solid #aaa;
  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;
}
}


.plainlist {
/* Remove bullets when there are multiple edit page warnings */
    line-height: inherit;
ul.permissions-errors {
    list-style: none none;
margin: 0;
    margin: 0;
}
}


.ombox {
ul.permissions-errors > li {
    margin: 4px 10%;
list-style: none;
    border-collapse: collapse;
    border: 1px solid #aaa;
    background: #f9f9f9;
}
}


.ombox-content {
/* larger inline math */
    border: 1px solid #f28500;
span.mwe-math-mathml-inline {
font-size: 118%;
}
}


.mw-content-ltr a, .mw-content-ltr a:visited {
/* Make <math display="block"> be left aligned with one space indent for
font-weight:bold;
* 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;
}
}


.toc a, .toc a:visited {
.mwe-math-mathml-display math {
    font-weight: normal!important;
display: inline;
}
}


table.navbox {
@media screen {
    margin-top: 1em;
/* Put a chequered background behind images, only visible if they have transparency,
* except on main, user, and portal namespaces
*/
body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {
background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
}
 
/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
  do not apply to print mode */
#siteSub {
display: block;
}
/* Make the list of references smaller
* Keep in sync with Template:Refbegin/styles.css
* And Template:Reflist/styles.css
*/
.references {
font-size: 90%;
}
}
}
.navbox, .navbox-subgroup {
 
    background: #fdfdfd;
/* Hide FlaggedRevs notice UI when there are no pending changes */
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced,
/* "Temporary" to remove links in sidebar T255381 */
#t-upload,
/* Hide broken download box on Special:Book pending T285400 */
.mw-special-Book #coll-downloadbox {
display: none;
}
}
.navbox {
 
    border: 1px solid #aaa;
/*
    width: 100%;
* BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;
    margin: auto;
* SEE [[MediaWiki talk:Common.css/to do]]
    clear: both;
* CSS is separated by component (which is why media queries are not joined)
    font-size: 88%;
*/
    text-align: center;
 
    padding: 1px;
/* Infoboxes */
.infobox {
border: 1px solid #a2a9b1;
color: black;
padding: 0.2em;
font-size: 88%;
line-height: 1.5em;
border-spacing: 3px;
}
}
.navbox th, .navbox-title {
 
    background: #ccccff;
@media screen {
.infobox {
background-color: #f8f9fa;
    }
}
}
.navbox-abovebelow, th.navbox-group, .navbox-subgroup .navbox-title {
 
    background: #ddddff;
@media (max-width: 640px) {
.infobox {
width: 100%;
}
   
.infobox .nowrap {
white-space: normal;
}
}
}
.navbox-group, .navbox-title, .navbox-abovebelow {
 
    padding: 0.25em 1em;
@media (min-width: 640px) {
    line-height: 1.5em;
.infobox {
    text-align: center;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
width: 22em;
}
}
}
.navbox .collapseButton {
 
    width: 6em;
.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;
}
}
.collapseButton {
 
    float: right;
.infobox-label,
    font-weight: normal;
.infobox-data,
    margin-left: 0.5em;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
    text-align: right;
.infobox th,
    width: auto;
.infobox td {
/* @noflip */
text-align: left;
}
}
.navbox-title .navbar {
 
    float: left;
/* Remove .infobox when element selectors above are removed */
    text-align: left;
.infobox .infobox-above,
    margin-right: 0.5em;
.infobox .infobox-title,
    width: 6em;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
font-size: 125%;
font-weight: bold;
text-align: center;
}
}
th.navbox-group {
 
    white-space: nowrap;
.infobox-title,
    text-align: right;
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
padding: 0.2em;
}
}
.navbox-odd {
 
    background: transparent;
/* 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;
}
}
.navbox-list {
 
    line-height: 1.5em;
/* Remove .infobox when element selectors above are removed */
    border-color: #fdfdfd;
.infobox .infobox-navbar {
/* @noflip */
text-align: right;
}
}
.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;
/* Normal font styling for wikitable row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row],
.wikitable.plainrowheaders th[scope=rowgroup] {
font-weight: normal;
/* @noflip */
text-align: left;
}
}
.hlist dd, .hlist dt, .hlist li {
 
    margin: 0;
/* Remove underlines from certain links */
    display: inline;
.nounderlines a,
.IPA a:link,
.IPA a:visited {
text-decoration: none !important;
}
}
.hlist dd:after, .hlist li:after {
 
    content: " · ";
/* Prevent line breaks in silly places where desired (nowrap)
    font-weight: bold;
  and links when we don't want them to (nowraplinks a) */
.nowrap,
.nowraplinks a {
white-space: nowrap;
}
}
.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;
/* But allow wrapping where desired: */
.wrap,
.wraplinks a {
white-space: normal;
}
}
.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;
/* texhtml class for inline math (based on generic times-serif class) */
/* remove spans when this is TemplateStyled */
span.texhtml {
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
font-size: 118%;
line-height: 1;
/* Force tabular and lining display for texhtml */
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none;
}
}
.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: " (";
span.texhtml span.texhtml {
    font-weight: normal;
font-size: 100%;
}
}


@media screen {
@media (min-width: 640px) {
    html.skin-theme-clientpref-night {
span.texhtml {
    }
white-space: nowrap;
 
}
    html.skin-theme-clientpref-night .hatnote:not(.notheme),html.skin-theme-clientpref-night .dablink:not(.notheme),html.skin-theme-clientpref-night .rellink:not(.notheme),html.skin-theme-clientpref-night .infobox:not(.notheme) {
        color: var(--color-base,#202122) !important;
        background-color: var(--background-color-interactive-subtle,#f8f9fa) !important
    }
 
    html.skin-theme-clientpref-night .infobox td:not(.notheme),html.skin-theme-clientpref-night .infobox th:not(.notheme),html.skin-theme-clientpref-night .infobox-above:not(.notheme),html.skin-theme-clientpref-night .infobox p:not(.notheme),html.skin-theme-clientpref-night .infobox > div:not(.notheme),html.skin-theme-clientpref-night .infobox caption:not(.notheme),html.skin-theme-clientpref-night .infobox--frwiki td:not(.notheme),html.skin-theme-clientpref-night .infobox--frwiki th:not(.notheme),html.skin-theme-clientpref-night .infobox--frwiki p:not(.notheme),html.skin-theme-clientpref-night .infobox--frwiki > div:not(.notheme),html.skin-theme-clientpref-night .infobox--frwiki caption:not(.notheme),html.skin-theme-clientpref-night .sinottico th:not(.notheme),html.skin-theme-clientpref-night .infobox-header:not(.notheme),html.skin-theme-clientpref-night .skin-nightmode-reset-color:not(.notheme),html.skin-theme-clientpref-night .navigation-box:not(.notheme),html.skin-theme-clientpref-night .metadata:not(.notheme),html.skin-theme-clientpref-night .quotebox:not(.notheme),html.skin-theme-clientpref-night .side-box:not(.notheme),html.skin-theme-clientpref-night .side-box div:not(.notheme),html.skin-theme-clientpref-night .navbox:not(.notheme),html.skin-theme-clientpref-night .navbox-subgroup:not(.notheme),html.skin-theme-clientpref-night .navbox-group:not(.notheme),html.skin-theme-clientpref-night .navbox-even:not(.notheme),html.skin-theme-clientpref-night .navbox-abovebelow:not(.notheme),html.skin-theme-clientpref-night .navbox-title:not(.notheme) {
        background: inherit !important;
        color: inherit !important;
        border-color: var(--border-color-subtle,#c8ccd1) !important
    }
 
    html.skin-theme-clientpref-night .mw-parser-output [style*='background'] {
        color: #202122
    }
 
    html.skin-theme-clientpref-night body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) [bgcolor] a:not(.mw-selflink),html.skin-theme-clientpref-night body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox)[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a:not(.mw-selflink),html.skin-theme-clientpref-night body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) th[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a:not(.mw-selflink),html.skin-theme-clientpref-night body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) td[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a:not(.mw-selflink),html.skin-theme-clientpref-night body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) tr[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) td a:not(.mw-selflink) {
        color: var(--color-base-fixed,#202122);
        text-decoration: underline
    }
 
    html.skin-theme-clientpref-night body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) [bgcolor] a.new,html.skin-theme-clientpref-night body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox)[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a.new,html.skin-theme-clientpref-night body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) th[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a.new,html.skin-theme-clientpref-night body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) td[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a.new,html.skin-theme-clientpref-night body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) tr[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) td a.new {
        text-decoration-style: wavy
    }
}
}


@media screen and (prefers-color-scheme: dark) {
/* Prevent flags in tables from collapsing: Fix for T116318
    html.skin-theme-clientpref-os {
* TODO: Remove when [[phab:T368469]] merges [[phab:T367463]] for the other skins
    }
*/
 
@media (max-width: 640px) {
    html.skin-theme-clientpref-os .infobox td:not(.notheme),html.skin-theme-clientpref-os .infobox th:not(.notheme),html.skin-theme-clientpref-os .infobox-above:not(.notheme),html.skin-theme-clientpref-os .infobox p:not(.notheme),html.skin-theme-clientpref-os .infobox > div:not(.notheme),html.skin-theme-clientpref-os .infobox caption:not(.notheme),html.skin-theme-clientpref-os .infobox--frwiki td:not(.notheme),html.skin-theme-clientpref-os .infobox--frwiki th:not(.notheme),html.skin-theme-clientpref-os .infobox--frwiki p:not(.notheme),html.skin-theme-clientpref-os .infobox--frwiki > div:not(.notheme),html.skin-theme-clientpref-os .infobox--frwiki caption:not(.notheme),html.skin-theme-clientpref-os .sinottico th:not(.notheme),html.skin-theme-clientpref-os .infobox-header:not(.notheme),html.skin-theme-clientpref-os .skin-nightmode-reset-color:not(.notheme),html.skin-theme-clientpref-os .navigation-box:not(.notheme),html.skin-theme-clientpref-os .metadata:not(.notheme),html.skin-theme-clientpref-os .quotebox:not(.notheme),html.skin-theme-clientpref-os .side-box:not(.notheme),html.skin-theme-clientpref-os .side-box div:not(.notheme),html.skin-theme-clientpref-os .navbox:not(.notheme),html.skin-theme-clientpref-os .navbox-subgroup:not(.notheme),html.skin-theme-clientpref-os .navbox-group:not(.notheme),html.skin-theme-clientpref-os .navbox-even:not(.notheme),html.skin-theme-clientpref-os .navbox-abovebelow:not(.notheme),html.skin-theme-clientpref-os .navbox-title:not(.notheme) {
.flagicon a > img,
        background: inherit !important;
.flagicon noscript > img {
        color: inherit !important;
max-width: none !important;
        border-color: var(--border-color-subtle,#c8ccd1) !important
}
    }
 
    html.skin-theme-clientpref-os .hatnote:not(.notheme),html.skin-theme-clientpref-os .dablink:not(.notheme),html.skin-theme-clientpref-os .rellink:not(.notheme),html.skin-theme-clientpref-os .infobox:not(.notheme) {
        color: var(--color-base,#202122) !important;
        background-color: var(--background-color-interactive-subtle,#f8f9fa) !important
    }
 
    html.skin-theme-clientpref-os .mw-parser-output [style*='background'] {
        color: #202122
    }
 
    html.skin-theme-clientpref-os body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) [bgcolor] a:not(.mw-selflink),html.skin-theme-clientpref-os body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox)[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a:not(.mw-selflink),html.skin-theme-clientpref-os body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) th[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a:not(.mw-selflink),html.skin-theme-clientpref-os body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) td[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a:not(.mw-selflink),html.skin-theme-clientpref-os body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) tr[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) td a:not(.mw-selflink) {
        color: var(--color-base-fixed,#202122);
        text-decoration: underline
    }
 
    html.skin-theme-clientpref-os body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) [bgcolor] a.new,html.skin-theme-clientpref-os body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox)[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a.new,html.skin-theme-clientpref-os body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) th[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a.new,html.skin-theme-clientpref-os body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) td[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) a.new,html.skin-theme-clientpref-os body.ns-0:not(.page-Main_Page) .mw-parser-output table:not(.infobox):not(.navbox-inner):not(.navbox) tr[style*="background"]:not([style*="transparent"]):not([style*="inherit"]) td a.new {
        text-decoration-style: wavy
    }
}
}


@media screen {
@media screen {
    :root,.skin-invert,.notheme {
.nochecker .gallerybox .thumb img {
        --color-base: #202122;
background-image: none;
        --color-base-fixed: #202122;
}
        --color-base--hover: #404244;
}
        --color-emphasized: #101418;
        --color-subtle: #54595d;
        --color-placeholder: #72777d;
        --color-disabled: #a2a9b1;
        --color-disabled-emphasized: #a2a9b1;
        --color-inverted: #fff;
        --color-inverted-fixed: #fff;
        --color-progressive: #36c;
        --color-progressive--hover: #3056a9;
        --color-progressive--active: #233566;
        --color-progressive--focus: #36c;
        --color-destructive: #bf3c2c;
        --color-destructive--hover: #9f3526;
        --color-destructive--active: #612419;
        --color-destructive--focus: #36c;
        --color-visited: #6a60b0;
        --color-visited--hover: #534fa3;
        --color-visited--active: #353262;
        --color-destructive--visited: #9f5555;
        --color-destructive--visited--hover: #854848;
        --color-destructive--visited--active: #512e2e;
        --color-error: #bf3c2c;
        --color-error--hover: #9f3526;
        --color-error--active: #612419;
        --color-warning: #886425;
        --color-success: #177860;
        --color-notice: #404244;
        --color-icon-error: #f54739;
        --color-icon-warning: #ab7f2a;
        --color-icon-success: #099979;
        --color-icon-notice: #72777d;
        --color-content-added: #006400;
        --color-content-removed: #8b0000;
        --filter-invert-icon: 0;
        --filter-invert-primary-button-icon: 1;
        --box-shadow-color-base: #a2a9b1;
        --box-shadow-color-progressive--active: #233566;
        --box-shadow-color-progressive--focus: #36c;
        --box-shadow-color-progressive-selected: #36c;
        --box-shadow-color-progressive-selected--hover: #3056a9;
        --box-shadow-color-progressive-selected--active: #233566;
        --box-shadow-color-destructive--focus: #36c;
        --box-shadow-color-inverted: #fff;
        --box-shadow-color-alpha-base: rgba(0,0,0,0.06);
        --box-shadow-color-transparent: transparent;
        --mix-blend-mode-base: normal;
        --mix-blend-mode-blend: multiply;
        --background-color-base: #fff;
        --background-color-base-fixed: #fff;
        --background-color-neutral: #eaecf0;
        --background-color-neutral-subtle: #f8f9fa;
        --background-color-interactive: #eaecf0;
        --background-color-interactive--hover: #dadde3;
        --background-color-interactive--active: #c8ccd1;
        --background-color-interactive-subtle: #f8f9fa;
        --background-color-interactive-subtle--hover: #eaecf0;
        --background-color-interactive-subtle--active: #dadde3;
        --background-color-disabled: #dadde3;
        --background-color-disabled-subtle: #eaecf0;
        --background-color-inverted: #101418;
        --background-color-progressive: #36c;
        --background-color-progressive--hover: #3056a9;
        --background-color-progressive--active: #233566;
        --background-color-progressive--focus: #36c;
        --background-color-progressive-subtle: #f1f4fd;
        --background-color-progressive-subtle--hover: #dce3f9;
        --background-color-progressive-subtle--active: #cbd6f6;
        --background-color-destructive: #bf3c2c;
        --background-color-destructive--hover: #9f3526;
        --background-color-destructive--active: #612419;
        --background-color-destructive--focus: #36c;
        --background-color-destructive-subtle: #ffe9e5;
        --background-color-destructive-subtle--hover: #ffdad3;
        --background-color-destructive-subtle--active: #ffc8bd;
        --background-color-error: #f54739;
        --background-color-error--hover: #d74032;
        --background-color-error--active: #bf3c2c;
        --background-color-error-subtle: #ffe9e5;
        --background-color-error-subtle--hover: #ffdad3;
        --background-color-error-subtle--active: #ffc8bd;
        --background-color-warning-subtle: #fdf2d5;
        --background-color-success-subtle: #dff2eb;
        --background-color-notice-subtle: #eaecf0;
        --background-color-content-added: #a3d3ff;
        --background-color-content-removed: #ffe49c;
        --background-color-transparent: transparent;
        --background-color-backdrop-light: rgba(255,255,255,0.65);
        --background-color-backdrop-dark: rgba(0,0,0,0.65);
        --background-color-button-quiet--hover: rgba(0,24,73,0.027);
        --background-color-button-quiet--active: rgba(0,24,73,0.082);
        --background-color-input-binary--checked: #36c;
        --background-color-tab-list-item-framed--hover: rgba(255,255,255,0.3);
        --background-color-tab-list-item-framed--active: rgba(255,255,255,0.65);
        --opacity-icon-base: 0.87;
        --opacity-icon-base--hover: 0.74;
        --opacity-icon-base--selected: 1;
        --opacity-icon-base--disabled: 0.51;
        --opacity-icon-placeholder: 0.51;
        --opacity-icon-subtle: 0.67;
        --border-color-base: #a2a9b1;
        --border-color-emphasized: #202122;
        --border-color-subtle: #c8ccd1;
        --border-color-muted: #dadde3;
        --border-color-interactive: #72777d;
        --border-color-interactive--hover: #27292d;
        --border-color-interactive--active: #202122;
        --border-color-disabled: #c8ccd1;
        --border-color-inverted: #fff;
        --border-color-inverted-fixed: #fff;
        --border-color-progressive: #6485d1;
        --border-color-progressive--hover: #3056a9;
        --border-color-progressive--active: #233566;
        --border-color-progressive--focus: #36c;
        --border-color-destructive: #f54739;
        --border-color-destructive--hover: #9f3526;
        --border-color-destructive--active: #612419;
        --border-color-destructive--focus: #36c;
        --border-color-error: #f54739;
        --border-color-error--hover: #9f3526;
        --border-color-error--active: #612419;
        --border-color-warning: #ab7f2a;
        --border-color-success: #099979;
        --border-color-notice: #72777d;
        --border-color-content-added: #a3d3ff;
        --border-color-content-removed: #ffe49c;
        --border-color-transparent: transparent;
        --border-color-divider: #a2a9b1;
        --outline-color-progressive--focus: #36c;
        --color-link-red: var(--color-destructive);
        --color-link-red--hover: var(--color-destructive--hover);
        --color-link-red--active: var(--color-destructive--active);
        --color-link-red--focus: var(--color-destructive--focus);
        --color-link-red--visited: var(--color-destructive--visited);
        --color-link-red--visited--hover: var(--color-destructive--visited--hover);
        --color-link-red--visited--active: var(--color-destructive--visited--active);
        --accent-color-base: #36c;
        --border-color-input--hover: var(--border-color-interactive);
        --border-color-input-binary: var(--border-color-interactive);
        --border-color-input-binary--hover: var(--border-color-progressive--hover);
        --border-color-input-binary--active: var(--border-color-progressive--active);
        --border-color-input-binary--focus: var(--border-color-progressive--focus);
        --border-color-input-binary--checked: var(--border-color-progressive);
        --color-base--subtle: #54595d
    }


    html.skin-theme-clientpref-night {
/*
        color-scheme: dark;
* Put anything you mean to be a sitewide addition above the TemplateStyles
        --color-base: #eaecf0;
* comment above.
        --color-base--hover: #f8f9fa;
*/
        --color-emphasized: #f8f9fa;
        --color-subtle: #a2a9b1;
        --color-disabled: #54595d;
        --color-disabled-emphasized: #72777d;
        --color-inverted: #101418;
        --color-progressive: #88a3e8;
        --color-progressive--hover: #b0c1f0;
        --color-progressive--active: #cbd6f6;
        --color-destructive: #fd7865;
        --color-destructive--hover: #fea898;
        --color-destructive--active: #ffc8bd;
        --color-visited: #a799cd;
        --color-visited--hover: #c5b9dd;
        --color-visited--active: #d9d0e9;
        --color-destructive--visited: #c99391;
        --color-destructive--visited--hover: #dcb5b3;
        --color-destructive--visited--active: #e8cecd;
        --color-error: #fd7865;
        --color-error--hover: #fea898;
        --color-error--active: #ffc8bd;
        --color-warning: #ca982e;
        --color-success: #2cb491;
        --color-notice: #a2a9b1;
        --color-content-added: #80cdb3;
        --color-content-removed: #fd7865;
        --color-base--subtle: #a2a9b1;
        --box-shadow-color-base: #72777d;
        --box-shadow-color-progressive--focus: #6485d1;
        --box-shadow-color-progressive-selected: #88a3e8;
        --box-shadow-color-progressive-selected--hover: #b0c1f0;
        --box-shadow-color-progressive-selected--active: #cbd6f6;
        --box-shadow-color-destructive--focus: #6485d1;
        --box-shadow-color-inverted: #000;
        --box-shadow-color-alpha-base: rgba(0,0,0,0.87);
        --mix-blend-mode-blend: screen;
        --background-color-base: #101418;
        --background-color-neutral: #27292d;
        --background-color-neutral-subtle: #202122;
        --background-color-interactive: #27292d;
        --background-color-interactive--hover: #404244;
        --background-color-interactive--active: #54595d;
        --background-color-interactive-subtle: #202122;
        --background-color-interactive-subtle--hover: #27292d;
        --background-color-interactive-subtle--active: #404244;
        --background-color-disabled: #404244;
        --background-color-disabled-subtle: #27292d;
        --background-color-inverted: #f8f9fa;
        --background-color-progressive--focus: #6485d1;
        --background-color-progressive-subtle: #1b223d;
        --background-color-progressive-subtle--hover: #233566;
        --background-color-progressive-subtle--active: #3056a9;
        --background-color-destructive--focus: #6485d1;
        --background-color-destructive-subtle: #3c1a13;
        --background-color-destructive-subtle--hover: #612419;
        --background-color-destructive-subtle--active: #9f3526;
        --background-color-error-subtle: #3c1a13;
        --background-color-error-subtle--hover: #612419;
        --background-color-error-subtle--active: #9f3526;
        --background-color-warning-subtle: #2d2212;
        --background-color-success-subtle: #132821;
        --background-color-notice-subtle: #27292d;
        --background-color-content-added: #233566;
        --background-color-content-removed: #453217;
        --background-color-backdrop-light: rgba(0,0,0,0.65);
        --background-color-backdrop-dark: rgba(255,255,255,0.65);
        --border-color-base: #72777d;
        --border-color-emphasized: #eaecf0;
        --border-color-subtle: #54595d;
        --border-color-muted: #404244;
        --border-color-interactive--hover: #a2a9b1;
        --border-color-interactive--active: #c8ccd1;
        --border-color-disabled: #54595d;
        --border-color-inverted: #101418;
        --border-color-progressive--hover: #88a3e8;
        --border-color-progressive--active: #b0c1f0;
        --border-color-progressive--focus: #6485d1;
        --border-color-destructive--hover: #fd7865;
        --border-color-destructive--active: #fea898;
        --border-color-destructive--focus: #6485d1;
        --border-color-error--hover: #fd7865;
        --border-color-error--active: #fea898;
        --border-color-content-added: #233566;
        --border-color-content-removed: #987027
    }

Revision as of 13:41, 18 August 2025

/*
 * This is the CSS common to all desktop skins on en.Wikipedia.
 * 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> */
q {
	quotes: '"' '"' "'" "'";
}

/* Avoid collision of blockquote with floating elements by swapping margin and padding */
blockquote {
	overflow: hidden;
	margin: 1em 0;
	padding: 0 40px;
}

/* Consistent size for <small>, <sub> and <sup> */
small {
	font-size: 85%;
}

.mw-body-content sub,
.mw-body-content sup {
	font-size: 80%;
}

/* Same spacing for indented and unindented paragraphs on talk pages */
.ns-talk .mw-body-content dd {
	margin-top: 0.4em;
	margin-bottom: 0.4em;
}

/* Reduce page jumps by hiding collapsed/dismissed content */
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),

/* Avoid FOUC/reflows on collapsed elements. */
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > thead + tbody,
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) tr:not( :first-child ),
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) .mw-collapsible-content,

/* Hide charinsert base for those not using the gadget */
#editpage-specialchars {
	display: none;
}

/* Different margin on references */
.references {
	margin-bottom: 0.5em;
}

/* Cite customizations */
span[ rel="mw:referencedBy" ] {
	counter-reset: mw-ref-linkback 0;
}

span[ rel='mw:referencedBy' ] > a::before {
	content: counter( mw-ref-linkback, lower-alpha );
	font-size: 80%;
	font-weight: bold;
	font-style: italic;
}

a[ rel="mw:referencedBy" ]::before {
	font-weight: bold;
	content: "^";
}

span[ rel="mw:referencedBy" ]::before {
	content: "^ ";
}

/* Styling for jQuery makeCollapsible, matching that of collapseButton */
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
	font-weight: normal;
	padding-right: 0.2em;
	padding-left: 0.2em;
}

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

/* Lists in wikitable data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
	/* @noflip */
	text-align: left;
}

/* Change the external link icon to a PDF icon for all PDF files */
.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;
}

/* System messages styled similarly to fmbox */
/* for .mw-warning-with-logexcerpt, behavior of this line differs between
 * the edit-protected notice and the special:Contribs for blocked users
 * The latter has specificity of 3 classes so we have to triple up here.
 */
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #bb7070;
	background-color: var(--background-color-error-subtle, #ffdbdb);
	padding: 0.25em 0.9em;
	box-sizing: border-box;
}

/* default colors for partial block message */
/* gotta get over the hump introduced by the triple class above */
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {
	border-color: #fc3;
	background-color: var(--background-color-warning-subtle, #fef6e7);
}

/* Minimum thumb width */
@media (min-width: 640px) {
	figure[typeof~='mw:File/Thumb'],
	figure[typeof~='mw:File/Frame'],
	.thumbinner {
		min-width: 100px;
	}
}

/* Prevent floating boxes from overlapping any category listings,
   file histories, edit previews, and edit [Show changes] views. */
#mw-subcategories,
#mw-pages,
#mw-category-media,
#filehistory,
#wikiPreview,
#wikiDiff {
	clear: both;
}

/* Hide stuff meant for accounts with special permissions. Made visible again in
   [[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;
}

/* Hide the redlink generated by {{Editnotice}},
   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;
}

/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors {
	margin: 0;
}

ul.permissions-errors > li {
	list-style: none;
}

/* 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 {
	/* Put a chequered background behind images, only visible if they have transparency,
	 * except on main, user, and portal namespaces
	 */
	body:not(.ns-0):not(.ns-2):not(.ns-100) .gallerybox .thumb img {
		background: #fff url(//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png) repeat;
	}

	/* Display "From Wikipedia, the free encyclopedia" in skins that support it,
	   do not apply to print mode */
	#siteSub {
		display: block;
	}
	
	/* Make the list of references smaller
	 * Keep in sync with Template:Refbegin/styles.css
	 * And Template:Reflist/styles.css
	 */
	.references {
		font-size: 90%;
	}
}

/* Hide FlaggedRevs notice UI when there are no pending changes */
.flaggedrevs_draft_synced,
.flaggedrevs_stable_synced,
/* "Temporary" to remove links in sidebar T255381 */
#t-upload,
/* Hide broken download box on Special:Book pending T285400 */
.mw-special-Book #coll-downloadbox {
	display: none;
}

/*
 * BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;
 * SEE [[MediaWiki talk:Common.css/to do]]
 * CSS is separated by component (which is why media queries are not joined)
 */

/* Infoboxes */
.infobox {
	border: 1px solid #a2a9b1;
	color: black;
	padding: 0.2em;
	font-size: 88%;
	line-height: 1.5em;
	border-spacing: 3px;
}

@media screen {
	.infobox {
		background-color: #f8f9fa;
    }
}

@media (max-width: 640px) {
	.infobox {
		width: 100%;
	}
    
	.infobox .nowrap {
		white-space: normal;
	}
}

@media (min-width: 640px) {
	.infobox {
		/* @noflip */
		margin: 0.5em 0 0.5em 1em;
		/* @noflip */
		float: right;
		/* @noflip */
		clear: right;
		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;
}

/* Normal font styling for wikitable row headers with scope="row" tag */
.wikitable.plainrowheaders th[scope=row],
.wikitable.plainrowheaders th[scope=rowgroup] {
	font-weight: normal;
	/* @noflip */
	text-align: left;
}

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

/* texhtml class for inline math (based on generic times-serif class) */
/* remove spans when this is TemplateStyled */
span.texhtml {
	font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
	font-size: 118%;
	line-height: 1;
	/* Force tabular and lining display for texhtml */
	font-variant-numeric: lining-nums tabular-nums;
	font-kerning: none;
}

span.texhtml span.texhtml {
	font-size: 100%;
}

@media (min-width: 640px) {
	span.texhtml {
		white-space: nowrap;
	}
}

/* Prevent flags in tables from collapsing: Fix for T116318
 * TODO: Remove when [[phab:T368469]] merges [[phab:T367463]] for the other skins
 */
@media (max-width: 640px) {
	.flagicon a > img,
	.flagicon noscript > img {
		max-width: none !important;
	}
}

@media screen {
	.nochecker .gallerybox .thumb img {
		background-image: none;
	}
}

/*
 * Put anything you mean to be a sitewide addition above the TemplateStyles
 * comment above.
 */