Jump to content

MediaWiki:Common.css: Difference between revisions

From Shark's Hypothetical Weather
 
No edit summary
Tag: Reverted
Line 1: Line 1:
/*
/*
* This is the CSS common to all desktop skins on en.Wikipedia.
 
* Styling inside .mw-parser-output should generally use TemplateStyles.
Common CSS for all skins
 
See https://design.wikimedia.org/style-guide/visual-style_colors.html
 
*/
 
/* Larger conditions-area in AbuseFilter for some */
#wpFilterRules {
min-height: 250px;
}
 
/* Larger notes-area in AbuseFilter for some */
#wpFilterNotes {
min-height: 150px;
}
 
/* Style for "notices" */
.notice {
margin: 1em;
padding: 0.2em;
}
 
#disambig {
border-top: 3px double #c8ccd1;
border-bottom: 3px double #c8ccd1;
}
 
/* Add arrows to toggle-blocks for collapsible elements */
.mw-collapsible-toggle-expanded.mw-collapsible-arrowtoggle,
.mw-collapsible-toggle-expanded .mw-collapsible-arrowtoggle {
padding-left: 20px !important;
background-image: url('https://upload.wikimedia.org/wikipedia/commons/1/10/MediaWiki_Vector_skin_action_arrow.png');
background-repeat: no-repeat;
background-position: left center;
}
 
.mw-collapsible-toggle-collapsed.mw-collapsible-arrowtoggle,
.mw-collapsible-toggle-collapsed .mw-collapsible-arrowtoggle {
padding-left: 20px !important;
background-repeat: no-repeat;
}
 
.mw-content-ltr .mw-collapsible-toggle-collapsed.mw-collapsible-arrowtoggle,
.mw-content-ltr .mw-collapsible-toggle-collapsed .mw-collapsible-arrowtoggle {
background-image: url('https://upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png');
/* @noflip */
background-position: left center;
}
 
.mw-content-rtl .mw-collapsible-toggle-collapsed.mw-collapsible-arrowtoggle,
.mw-content-rtl .mw-collapsible-toggle-collapsed .mw-collapsible-arrowtoggle {
background-image: url('https://upload.wikimedia.org/wikipedia/commons/1/1e/MediaWiki_Vector_skin_left_arrow.png');
/* @noflip */
background-position: right center;
}
 
/* Metadata */
table.metadata {
border: 1px solid #a2a9b1;
display: none;
speak: none;
}
 
/* Class for links with loudspeaker icon next to them */
.audiolink a {
background: url("//upload.wikimedia.org/wikipedia/commons/f/f7/Loudspeaker.png") center left no-repeat !important;
padding-left: 16px !important;
padding-right: 0 !important;
}
 
/* When this would make a red link, hide it. For links where #ifexist cannot be used due to high number of requests. See [[meta:Help:Page_existence]]
*/
.hidden-redlink a.new {
display: none;
speak: none;
}
 
.client-nojs .scriptonly {
display: none;
}
 
.client-js .noscript {
display: none;
}
 
/* Infobox templates */
.infobox {
border: 1px solid #a2a9b1;
background: #f8f9fa;
color: black;
margin-bottom: 0.5em;
/* @noflip */
margin-left: 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
}
 
.infobox td,
.infobox th {
vertical-align: middle;
}
 
.infobox caption {
font-size: larger;
margin-left: inherit;
}
 
.infobox.bordered {
border-collapse: collapse;
}
 
.infobox.bordered td,
.infobox.bordered th {
border: 1px solid #a2a9b1;
}
 
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border: 0 solid #a2a9b1;
}
 
.infobox.sisterproject {
width: 20em;
font-size: 90%;
}
 
.archive-box {
border: 1px solid #aaf;
background: #f2f2f9;
color: #000;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
text-align: center;
}
 
/**
* Customisation of the interface
  */
  */
/* Reset italic styling set by user agent */
 
cite,
/* Add a checker background to custom image rendering templates. */
dfn {
/* For standard thumbnails, galleries, file history, file description preview this happens by default. */
font-style: inherit;
.com-checker img:hover {
background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}
}


/* Straight quote marks for <q> */
/* Moved upload link from toolbox into the MediaWiki:Sidebar thus suppressing the old duplicate */
q {
#p-tb #t-upload {
quotes: '"' '"' "'" "'";
display: none;
}
}


/* Avoid collision of blockquote with floating elements by swapping margin and padding */
/* Make sure the license dropdown of the upload form doesn't extend beyond the browser's
blockquote {
window, even if there are some long license descriptions. (If that happens, the description
box *also* goes beyond the right edge of the window.)
*/
#wpLicense {
width: 100%;
overflow: hidden;
overflow: hidden;
margin: 1em 0;
padding: 0 40px;
}
}


/* Consistent size for <small>, <sub> and <sup> */
/* Give the upload form a little breathing space. */
small {
#upload * td {
font-size: 85%;
padding-bottom: 8px;
}
 
#mw-upload-table * td {
padding-bottom: 8px;
}
 
/* Styling for Abuse Filter tags */
.mw-tag-markers {
font-style: italic;
font-size: 90%;
}
 
/* Something nice for lists in RTL languages */
div.RTL * ul {
margin-right: 10px;
display: table;
}
 
div.RTL * ol {
margin-right: 10px;
display: table;
}
 
/* Special:Search styles */
 
.mw-search-results li {
padding: 0.25em 1em;
border-bottom: 1px solid var(--border-color-subtle, #d3daed);
}
 
.mw-search-results li:nth-child(odd) {
background-color: var(--background-color-interactive-subtle, #f6f8fc);
}
 
/* https://phabricator.wikimedia.org/T320459#8310207 */
/* https://phabricator.wikimedia.org/T367122 */
.searchResultImage .searchResultImage-thumbnail img {
object-fit: contain;
object-position: center;
border: none;
}
}


caption {
.searchResultImage .searchResultImage-thumbnail {
    caption-side: top !important; /* Forces all captions to appear above */
width: 120px;
height: initial;
max-height: 180px;
}
}


.mw-body-content sub,
/* Main pages */
.mw-body-content sup {
 
font-size: 80%;
 
/* Hide title and "Nominate for deletion" button when viewing the main page (but not when editing it or viewing the talk page).
* The "mw-mainpage" class is for all localised main pages in [[MediaWiki:MainPages.js]].
*/
 
/* Optimise for "Main Page" because the scripts don't apply until after page load so it flashes briefly.
* Support IE6: ".page" must go after ".action" as IE6 only supports one class per element and uses the last one. If reversed, the rule will hide headings on all pages.
*/
.action-view.page-Main_Page #firstHeading,
.mw-mainpage #firstHeading,
.mw-mainpage #t-ajaxquickdelete,
.mw-mainpage #localNotice,
.mw-mainpage #siteSub,
.mw-mainpage #catlinks {
display: none;
}
}


/* Same spacing for indented and unindented paragraphs on talk pages */
#mainpage-potd a img {
.ns-talk .mw-body-content dd {
width: 100% !important;
margin-top: 0.4em;
-ms-interpolation-mode: bicubic;
margin-bottom: 0.4em;
height: auto !important;
max-width: 600px !important;
}
}


/* Reduce page jumps by hiding collapsed/dismissed content */
.utoc .tocnumber {
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),
display: none;
}


/* Avoid FOUC/reflows on collapsed elements. */
.utoc #toc ul,
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
.utoc .toc ul {
/* TODO: Use :is() selector at some reasonable future when support is good for Most Clients */
line-height: 1.5em;
/* Reference: https://gerrit.wikimedia.org/g/mediawiki/core/+/ecda06cb2aef55b77c4b4d7ecda492d634419ead/resources/src/jquery/jquery.makeCollapsible.styles.less#75 */
list-style-type: square;
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > p,
margin: .3em 0 0 1.5em;
.client-js .outercollapse .innercollapse.mw-collapsible:not( .mw-made-collapsible ) > table,
padding: 0;
.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 */
/* Necessary for displaying text in the upper right edge. (Used in [[Template:Shortcut]].) */
#editpage-specialchars {
#content span.coordinates a.external.text:after,
#content span.coordinates a.external.autonumber:after {
content: "";
}
 
#content div.coordinates a.external.text:after,
#content div.coordinates a.external.autonumber:after {
content: "";
}
 
#shortcut {
display: none;
display: none;
}
}


/* Different margin on references */
/**
.references {
* Style for horizontal lists (separator following item).
margin-bottom: 0.5em;
* @source mediawiki.org/wiki/Snippets/Horizontal_lists
* @revision 6 (2014-05-09)
* @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;
}
}


/* Cite customizations */
/* Generate interpuncts */
span[ rel="mw:referencedBy" ] {
.hlist dt:after {
counter-reset: mw-ref-linkback 0;
content: ": ";
}
}


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


a[ rel="mw:referencedBy" ]::before {
.hlist dd:last-child:after,
font-weight: bold;
.hlist dt:last-child:after,
content: "^";
.hlist li:last-child:after {
content: none;
}
}


span[ rel="mw:referencedBy" ]::before {
/* Add parentheses around nested lists */
content: "^ ";
.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;
}
}


/* Styling for jQuery makeCollapsible, matching that of collapseButton */
.hlist dd dd:last-child:after,
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
.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;
font-weight: normal;
padding-right: 0.2em;
padding-left: 0.2em;
font-size: 16px !important;
}
}


.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/* 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) " ";
white-space: nowrap;
}
 
.hlist dd ol>li:first-child:before,
.hlist dt ol>li:first-child:before,
.hlist li ol>li:first-child:before {
content: " (" counter(listitem) " ";
}
 
/* END of HLISTs */
 
/* Unbulleted lists */
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
 
.plainlist ul li {
margin-bottom: 0;
}
 
/* Default style for navigation boxes */
.navbox {
/* Navbox container style */
border: 1px solid #a2a9b1;
width: 100%;
box-sizing: border-box;
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 */
/* @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;
}
.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 {
/* intentionally is flipped */
float: left;
float: left;
/* intentionally is flipped */
text-align: left;
/* intentionally is flipped */
margin-right: 0.5em;
width: 6em;
}
/* Put on gallery_details the same styles as on gallery */
table.gallery_details {
border: 1px solid #c8ccd1;
margin: 2px;
padding: 2px;
background: #fff;
}
table.gallery_details tr {
vertical-align: top;
}
table.gallery_details td {
vertical-align: top;
background: #f8f9fa;
border: 2px solid #fff;
}
/* Small font-size for hidden categories,
per [[Commons:Village_pump/Archive/2010Mar#Hidden_categories:_change_the_default_setting_for_logged-in_users]]
*/
#mw-hidden-catlinks {
font-size: 87% !important;
}
/* To color the mention "updated since my last visit" in the history */
span.updatedmarker {
color: #000;
background: #99D642;
}
}


/* Lists in wikitable data cells are always left-aligned */
/* Geographical coordinates defaults. See [[Template:Coord/link]]
.wikitable td ul,
for how these are used. The classes "geo", "longitude", and
.wikitable td ol,
"latitude" are used by the [[Geo microformat]].
.wikitable td dl {
*/
/* @noflip */
.geo-default,
text-align: left;
.geo-dms,
.geo-dec {
display: inline;
}
 
.geo-nondefault,
.geo-multi-punct {
display: none;
}
 
.longitude,
.latitude {
white-space: nowrap;
}
 
/* Fix link color in jQuery dialogs */
.ui-dialog a {
color: var(--color-progressive, #36c) !important;
}
 
/* Class for template content that should be shown locally, even if JS is disabled,
but should not be visible on file pages shown on other sites.
Use with style="display:none". Interacts with collapsible divs (see above).
*/
div.show-on-commons {
display: block !important;
}
 
 
/* Note that image has annotations at Commons; visible only on other projects.
See https://commons.wikimedia.org/w/index.php?title=Template_talk:ImageNote&oldid=55319045
*/
.annotationboxforwikipedia,
.hide-on-commons {
display: none;
}
 
/* Allow limiting of which header levels are shown in a TOC;
<div class="toclimit-3">, for instance, will limit to
showing ==headings== and ===headings=== but no further
(as long as there are no =headings= on the page, which
there shouldn't be according to the MoS).
*/
.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
}
 
/* Redirects in categories, on [[Special:Allpages]], and [[Special:Prefixindex]] */
.redirect-in-category,
.allpagesredirect a {
color: gray;
}
 
/* Hide deletion-instructions headers inside closed deletion requests (redundant) */
.delh .massdeletionrequest-header {
display: none;
}
 
/* Message box templates */
.messagebox {
border: 1px solid #a2a9b1;
background: var(--background-color-interactive-subtle, #f8f9fa);
width: 80%;
margin: 0 auto 1em;
padding: 0.2em;
}
 
.messagebox.merge {
border: 1px solid #cf9fff;
background: #f5edf5;
text-align: center;
}
 
.messagebox.cleanup {
border: 1px solid #9f9fff;
background: #efefff;
text-align: center;
}
}


/* Change the external link icon to a PDF icon for all PDF files */
.messagebox.standard-talk {
.mw-parser-output a[href$=".pdf"].external,
border: 1px solid #c0c090;
.mw-parser-output a[href*=".pdf?"].external,
background: #f8eaba;
.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
* Used by:
  * the edit-protected notice and the special:Contribs for blocked users
* - [[Module:Message box]] (via [[Template:Mbox]], [[Template:Tmbox]], [[Template:Cmbox]])
  * The latter has specificity of 3 classes so we have to triple up here.
  * - [[Template:Dmbox]]
  * - [[Template:Fmbox]]
  */
  */
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,
th.mbox-text,
td.mbox-text {
/* The message body cell(s) */
border: none;
padding: 0.25em 0.9em;
/* 0.9em left/right */
width: 100%;
/* Make all mboxes the same width regardless of text length */
}
 
td.mbox-image {
/* The left image cell */
border: none;
padding: 2px 0 2px 0.9em;
/* 0.9em left, 0px right */
text-align: center;
}
 
/* Article message box styles */
table.ambox {
margin: 0 10%;
/* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
border-left: 10px solid #36c;
/* Default "notice" blue */
background: #fbfbfb;
}
 
table.ambox+table.ambox {
/* Single border between stacked boxes. */
margin-top: -1px;
}
 
.ambox th.mbox-text,
.ambox td.mbox-text {
/* The message body cell(s) */
padding: 0.25em 0.5em;
/* 0.5em left/right */
}
 
.ambox td.mbox-image {
/* The left image cell */
padding: 2px 0 2px 0.5em;
/* 0.5em left, 0px right */
}
 
.ambox td.mbox-imageright {
/* The right image cell */
padding: 2px 0.5em 2px 0;
/* 0px left, 0.5em right */
}
 
table.ambox-notice {
border-left: 10px solid #36c;
/* Blue */
}
 
table.ambox-speedy {
border-left: 10px solid #b32424;
/* Red */
background: #fee7e6;
/* Pink */
}
 
table.ambox-delete {
border-left: 10px solid #b32424;
/* Red */
}
 
table.ambox-content {
border-left: 10px solid #f28500;
/* Orange */
}
 
table.ambox-style {
border-left: 10px solid #fc3;
/* Yellow */
}
 
table.ambox-move {
border-left: 10px solid #9932cc;
/* Purple */
}
 
table.ambox-protection {
border-left: 10px solid #a2a9b1;
/* Gray-gold */
}
 
/* Image message box styles */
table.imbox {
margin: 4px 10%;
border-collapse: collapse;
border: 3px solid #36c;
/* Default "notice" blue */
background: #fbfbfb;
}
 
.imbox .mbox-text .imbox {
/* For imboxes inside imbox-text cells. */
margin: 0 -0.5em;
/* 0.9 - 0.5 = 0.4em left/right. */
}
 
.mbox-inside .imbox {
/* For imboxes inside other templates. */
margin: 4px;
}
 
table.imbox-notice {
border: 3px solid #36c;
/* Blue */
}
 
table.imbox-speedy {
border: 3px solid #b32424;
/* Red */
background: #fee;
/* 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: #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: #DFE8FF;
/* Default "notice" blue */
}
 
table.cmbox-notice {
background: #D8E8FF;
/* Blue */
}
 
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b32424;
/* Red */
background: #FFDBDB;
/* Pink */
}
 
table.cmbox-delete {
background: #FFDBDB;
/* Red */
}
 
table.cmbox-content {
background: #FFE7CE;
/* Orange */
}
 
table.cmbox-style {
background: #FFF9DB;
/* Yellow */
}
 
table.cmbox-move {
background: #E4D8FF;
/* Purple */
}
 
table.cmbox-protection {
background: #EFEFE1;
/* Gray-gold */
}
 
/* Other pages message box styles */
table.ombox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #a2a9b1;
/* Default "notice" gray */
background: #f8f9fa;
}
 
table.ombox-notice {
border: 1px solid #a2a9b1;
/* Gray */
}
 
table.ombox-speedy {
border: 2px solid #b32424;
/* Red */
background: #fee;
/* 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: #f8eaba;
}
 
.mediawiki .mbox-inside .tmbox {
/* For tmboxes inside other templates. The "mediawiki" */
margin: 2px 0;
/* class ensures that this declaration overrides other */
width: 100%;
/* For Safari and Opera */
/* styles (including mbox-small above) */
}
 
.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: #fee;
/* 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 #a2a9b1;
/* Gray-brown */
}
 
/* Footer and header message box styles */
table.fmbox {
clear: both;
margin: 0.2em 0;
width: 100%;
border: 1px solid #a2a9b1;
background: #f8f9fa;
/* Default "system" gray */
}
 
table.fmbox-system {
background: #f8f9fa;
}
 
table.fmbox-warning {
border: 1px solid #bb7070;
/* Dark pink */
background: #ffdbdb;
/* Pink */
}
 
table.fmbox-editnotice {
background: transparent;
}
 
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon {
#mw-protect-cascadeon {
clear: both;
clear: both;
margin: 0.2em 0;
margin: 0.2em 0;
Line 132: Line 1,003:
background-color: var(--background-color-error-subtle, #ffdbdb);
background-color: var(--background-color-error-subtle, #ffdbdb);
padding: 0.25em 0.9em;
padding: 0.25em 0.9em;
box-sizing: border-box;
}
}


/* default colors for partial block message */
/* Div based "system" style fmbox messages.
/* gotta get over the hump introduced by the triple class above */
  Used in [[MediaWiki:Readonly lag]]. */
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {
div.mw-lag-warn-normal,
border-color: #fc3;
div.fmbox-system {
background-color: var(--background-color-warning-subtle, #fef6e7);
clear: both;
margin: 0.2em 0;
border: 1px solid #a2a9b1;
background: #f8f9fa;
padding: 0.25em 0.9em;
}
}


/* Minimum thumb width */
/* These mbox-small classes must be placed after all other
@media (min-width: 640px) {
  ambox/tmbox/ombox etc classes. "body.mediawiki" is so
figure[typeof~='mw:File/Thumb'],
  they override "table.ambox + table.ambox" above. */
figure[typeof~='mw:File/Frame'],
body.mediawiki table.mbox-small {
.thumbinner {
/* For the "small=yes" option. */
min-width: 100px;
clear: right;
}
float: right;
margin: 4px 0 4px 1em;
width: 238px;
font-size: 88%;
line-height: 1.25em;
}
}


/* Prevent floating boxes from overlapping any category listings,
body.mediawiki table.mbox-small-left {
  file histories, edit previews, and edit [Show changes] views. */
/* For the "small=left" option. */
#mw-subcategories,
margin: 4px 1em 4px 0;
#mw-pages,
width: 238px;
#mw-category-media,
border-collapse: collapse;
#filehistory,
font-size: 88%;
#wikiPreview,
line-height: 1.25em;
#wikiDiff {
clear: both;
}
}


/* Hide stuff meant for accounts with special permissions. Made visible again in
#catlinks li {
  [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]],
padding: 0 .3em;
  [[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]],
margin: 0;
  [[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}},
#catlinks li:first-child {
  this overrides the ".sysop-show { display: none; }" above that applies
padding-left: 0;
  to the same link as well. See [[phab:T45013]]
}


  Hide the images in editnotices to keep them readable in VE view.
/* Babel */
  Long term, editnotices should become a core feature so that they can be designed responsive. */
/* @noflip */
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
table.mw-babel-wrapper {
.ve-ui-mwNoticesPopupTool-item .mbox-image,
margin: 0;
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
margin-bottom: 0.5em;
display: none !important;
margin-left: 1em;
background-color: transparent;
width: 250px;
border-spacing: 2px;
}
}


/* Remove bullets when there are multiple edit page warnings */
.mw-babel-notabox {
ul.permissions-errors {
margin-left: auto;
margin: 0;
margin-right: auto;
width: 238px;
}
}


ul.permissions-errors > li {
.mw-babel-box-level-N {
list-style: none;
display: none;
}
}


/* larger inline math */
/*Adaption for dark mode: As boxes are currently always light the text needs to be dark*/
span.mwe-math-mathml-inline {
.mw-babel-box {
font-size: 118%;
color: var(--color-base-fixed, inherit);
}
}


/* Make <math display="block"> be left aligned with one space indent for
div.mw-babel-box table th {
* compatibility with style conventions
font-family: sans-serif;
*/
text-align: center;
.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 {
div.mw-babel-box table td a {
display: inline;
font-weight: bold;
}
}


@media screen {
div.mw-babel-box-N {
/* Put a chequered background behind images, only visible if they have transparency,
border: solid #6EF7A7 1px;
* 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,
div.mw-babel-box-4 {
  do not apply to print mode */
border: solid #77E0E8 1px;
#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 */
div.mw-babel-box-3 {
.flaggedrevs_draft_synced,
border: solid #99B3FF 1px;
.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;
}
}


/*
div.mw-babel-box-2 {
* BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;
border: solid #BCB9EF 1px;
* SEE [[MediaWiki talk:Common.css/to do]]
}
* CSS is separated by component (which is why media queries are not joined)
*/


/* Infoboxes */
div.mw-babel-box-1 {
.infobox {
border: solid #E0C0E0 1px;
border: 1px solid #a2a9b1;
border-radius: 0 !important;
color: #000000;
background-color: #F8F9FA !important;
background: none;
padding: 0.2em;
font-size: 88%;
line-height: 1.5em;
border-spacing: 3px;
}
}


@media screen {
div.mw-babel-box-0 {
.infobox {
border: solid #FFBBBB 1px;
background-color: #f8f9fa !important;
    }
}
}


@media (max-width: 640px) {
div.mw-babel-box-N table {
.infobox {
background-color: #C5FCDC;
width: 100%;
}
   
.infobox .nowrap {
white-space: normal;
}
}
}


@media (min-width: 640px) {
div.mw-babel-box-4 table {
.infobox {
background-color: #D0F8FF;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
width: 22em;
}
}
}


.infobox-header,
div.mw-babel-box-3 table {
.infobox-label,
background-color: #E0E8FF;
.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;
border-radius: 0 !important;
}
}


.infobox-label,
div.mw-babel-box-2 table {
.infobox-data,
background-color: #E9E5F9;
/* 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 */
div.mw-babel-box-1 table {
.infobox .infobox-above,
background-color: #F3E0F3;
.infobox .infobox-title,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox caption {
    color: #000000 !important;
    caption-side: top !important;
    font-size: 125%;
    font-weight: bold;
    text-align: center;
}
}


.infobox-title,
div.mw-babel-box-0 table {
/* Remove element selector when every .infobox thing is using the standard module/templates  */
background-color: #FFEEEE;
.infobox caption {
padding: 0.2em;
}
}


/* Remove .infobox when element selectors above are removed */
div.mw-babel-box-N table th {
.infobox .infobox-header,
background-color: #6EF7A7;
.infobox .infobox-subheader,
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}


/* Remove .infobox when element selectors above are removed */
div.mw-babel-box-4 table th {
.infobox .infobox-navbar {
background-color: #77E0E8;
/* @noflip */
text-align: right;
}
}


/* Normal font styling for wikitable row headers with scope="row" tag */
div.mw-babel-box-3 table th {
.wikitable.plainrowheaders th[scope=row],
background-color: #99B3FF;
.wikitable.plainrowheaders th[scope=rowgroup] {
font-weight: normal;
/* @noflip */
text-align: left;
}
}


/* Remove underlines from certain links */
div.mw-babel-box-2 table th {
.nounderlines a,
background-color: #BCB9EF;
.IPA a:link,
.IPA a:visited {
text-decoration: none !important;
}
}


/* Prevent line breaks in silly places where desired (nowrap)
div.mw-babel-box-1 table th {
  and links when we don't want them to (nowraplinks a) */
background-color: #E0C0E0;
.nowrap,
.nowraplinks a {
white-space: nowrap;
}
}


/* But allow wrapping where desired: */
div.mw-babel-box-0 table th {
.wrap,
background-color: #FFBBBB;
.wraplinks a {
white-space: normal;
}
}


/* texhtml class for inline math (based on generic times-serif class) */
/* Styling the parameter fields in [[Template:Information]] and related templates
/* remove spans when this is TemplateStyled */
  also here (besides on [[MediaWiki:Filepage.css]]) to ensure proper preview
span.texhtml {
  on other pages than those in the file namespace */
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
.fileinfo-paramfield {
font-size: 118%;
background: #ccf;
line-height: 1;
/* @noflip */
/* Force tabular and lining display for texhtml */
text-align: right;
font-variant-numeric: lining-nums tabular-nums;
/* @noflip */
font-kerning: none;
padding-right: 0.4em;
width: 15%;
font-weight: bold;
}
}


span.texhtml span.texhtml {
/********* General fixes for night mode *********/
font-size: 100%;
html.skin-theme-clientpref-night .fileinfo-paramfield {
background: #2a2a5c;
color: white;
}
}


@media (min-width: 640px) {
html.skin-theme-clientpref-night .fileinfotpl-type-artwork tbody>tr>th[style*="#ccf"] {
span.texhtml {
background-color: #2a2a5c !important;
white-space: nowrap;
;
}
color: white;
}
}


/* Prevent flags in tables from collapsing: Fix for T116318
@media screen and (prefers-color-scheme: dark) {
* TODO: Remove when [[phab:T368469]] merges [[phab:T367463]] for the other skins
html.skin-theme-clientpref-os .fileinfo-paramfield {
*/
background: #2a2a5c;
@media (max-width: 640px) {
color: white;
.flagicon a > img,
.flagicon noscript > img {
max-width: none !important;
}
}
}


@media screen {
html.skin-theme-clientpref-os .fileinfotpl-type-artwork tbody>tr>th[style*="#ccf"] {
.nochecker .gallerybox .thumb img {
background-color: #2a2a5c !important;
background-image: none;
;
color: white;
}
}
}
}


.timeline-wrapper {
/* == END copy of [[Module:Information/styles.css]] == */
  background-color: #e1e1e1;
 
  border: 1px solid #aaa;
/* Allow users to edit the orange on the main page in their personal CSS files */
  font-family: sans-serif;
.bg-orange {
  font-size: 11px;
background: #fad67d;
  padding: 0;
  overflow-x: auto;
  position: relative;
}
}


.timeline-table {
/* Partially support HTML5 bdi tag on old browsers that don't support
  border-collapse: collapse;
  it and reassign its default value on modern browsers,
  width: 100%;
  needed for better i18n even on old browsers
  table-layout: fixed;
  isolation on signature-talk will resolve mix of RTL/LTR on RTL UI*/
  margin: 0;
bdi,
.signature-talk {
unicode-bidi: embed;
/* fallback, it is not completely same but will work on most cases */
unicode-bidi: -webkit-isolate;
unicode-bidi: -moz-isolate;
unicode-bidi: isolate;
}
}


.timeline-months,
/* NS GWToolset (light grey) */
.timeline-bars {
.ns-490 #content {
  height: 25px;
background-color: #f4f4f4;
}
}


.timeline-months td,
.ns-490 div.thumb {
.timeline-bars td {
border-color: #f4f4f4;
  border: none;
  padding: 0;
}
}


.timeline-tick {
/* Turn off some irrelevant MediaWiki help page links */
  border-left: 1px solid black;
.mw-special-Upload #mw-indicator-mw-helplink {
display: none;
}
}


.timeline-labels {
/* Same as .mw-references-columns (Cite extension)
  text-align: center;
* replacement for hardcoded [[Template:Column-width]]
  font-weight: normal;
*/
  border-top: 1px solid black;
.responsive-columns {
  border-bottom: 1px solid black;
column-width: 35em;
}
}


.timeline-labels td {
/* Allow custom list styles in reference sections */
  border-right: 1px solid black;
.reflist ol.references {
list-style-type: inherit;
}
}


.timeline-labels td:first-child {
/* T156351: Support for Parsoid's Cite implementation */
  border-left: 1px solid black;
span[rel="mw:referencedBy"] {
counter-reset: mw-ref-linkback 0;
}
}


.timeline-bar {
span[rel="mw:referencedBy"]>a::before {
  height: 100%;
font-weight: bold;
  color: white;
font-style: italic;
  font-weight: bold;
content: counter(mw-ref-linkback, lower-alpha);
  white-space: nowrap;
  text-align: center;
  vertical-align: middle;
  font-size: 10px;
}
}


.TD  { background-color: rgb(70, 160, 180); }
.TS  { background-color: rgb(85, 190, 215); }
.C1  { background-color: rgb(80, 205, 80); }
.C2  { background-color: rgb(255, 199, 89); }
.C3  { background-color: rgb(255, 158, 89); }
.C4  { background-color: rgb(255, 115, 138); }
.C5  { background-color: rgb(161, 136, 252); }


.timeline-legend {
 
  font-size: 10px;
 
  background: #e1e1e1;
 
  padding: 4px 6px;
 
  margin-top: 5px;
 
  text-align: left;
/* Increase height of upload description field at Special:Upload
  display: inline-block;
* Applies only when uploading a new file, not for the one-line input box when overwriting.
  border-top: 1px solid #aaa;
*/
  line-height: 1.5;
textarea#wpUploadDescription {
height: 20em;
}
 
/* Workaround for T330527, T270741 */
.filehistory td:last-child,
.listfiles .TablePager_col_img_description {
word-break: break-word;
min-width: auto;
}
}


.timeline-legend .timeline-bar {
/* T344467: Fix position of jQuery UI dialogs for RTL script languages */
  display: inline-block;
/* @noflip */
  width: 120px;
html[dir="rtl"] .ui-dialog {
  padding: 1px 4px;
right: auto;
  border-radius: 2px;
  margin: 1px 2px;
}
}


/*
/* T367463: Fix for license templates with two images like [[Template:Money-BR]] */
* Put anything you mean to be a sitewide addition above the TemplateStyles
body.skin--responsive table.layouttemplate img {
* comment above.
max-width: none !important;
*/
}

Revision as of 02:24, 24 April 2025

/*

Common CSS for all skins

See https://design.wikimedia.org/style-guide/visual-style_colors.html

*/

/* Larger conditions-area in AbuseFilter for some */
#wpFilterRules {
	min-height: 250px;
}

/* Larger notes-area in AbuseFilter for some */
#wpFilterNotes {
	min-height: 150px;
}

/* Style for "notices" */
.notice {
	margin: 1em;
	padding: 0.2em;
}

#disambig {
	border-top: 3px double #c8ccd1;
	border-bottom: 3px double #c8ccd1;
}

/* Add arrows to toggle-blocks for collapsible elements */
.mw-collapsible-toggle-expanded.mw-collapsible-arrowtoggle,
.mw-collapsible-toggle-expanded .mw-collapsible-arrowtoggle {
	padding-left: 20px !important;
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/1/10/MediaWiki_Vector_skin_action_arrow.png');
	background-repeat: no-repeat;
	background-position: left center;
}

.mw-collapsible-toggle-collapsed.mw-collapsible-arrowtoggle,
.mw-collapsible-toggle-collapsed .mw-collapsible-arrowtoggle {
	padding-left: 20px !important;
	background-repeat: no-repeat;
}

.mw-content-ltr .mw-collapsible-toggle-collapsed.mw-collapsible-arrowtoggle,
.mw-content-ltr .mw-collapsible-toggle-collapsed .mw-collapsible-arrowtoggle {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/4/41/MediaWiki_Vector_skin_right_arrow.png');
	/* @noflip */
	background-position: left center;
}

.mw-content-rtl .mw-collapsible-toggle-collapsed.mw-collapsible-arrowtoggle,
.mw-content-rtl .mw-collapsible-toggle-collapsed .mw-collapsible-arrowtoggle {
	background-image: url('https://upload.wikimedia.org/wikipedia/commons/1/1e/MediaWiki_Vector_skin_left_arrow.png');
	/* @noflip */
	background-position: right center;
}

/* Metadata */
table.metadata {
	border: 1px solid #a2a9b1;
	display: none;
	speak: none;
}

/* Class for links with loudspeaker icon next to them */
.audiolink a {
	background: url("//upload.wikimedia.org/wikipedia/commons/f/f7/Loudspeaker.png") center left no-repeat !important;
	padding-left: 16px !important;
	padding-right: 0 !important;
}

/* When this would make a red link, hide it. For links where #ifexist cannot be used due to high number of requests. See [[meta:Help:Page_existence]]
*/
.hidden-redlink a.new {
	display: none;
	speak: none;
}

.client-nojs .scriptonly {
	display: none;
}

.client-js .noscript {
	display: none;
}

/* Infobox templates */
.infobox {
	border: 1px solid #a2a9b1;
	background: #f8f9fa;
	color: black;
	margin-bottom: 0.5em;
	/* @noflip */
	margin-left: 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
}

.infobox td,
.infobox th {
	vertical-align: middle;
}

.infobox caption {
	font-size: larger;
	margin-left: inherit;
}

.infobox.bordered {
	border-collapse: collapse;
}

.infobox.bordered td,
.infobox.bordered th {
	border: 1px solid #a2a9b1;
}

.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
	border: 0 solid #a2a9b1;
}

.infobox.sisterproject {
	width: 20em;
	font-size: 90%;
}

.archive-box {
	border: 1px solid #aaf;
	background: #f2f2f9;
	color: #000;
	margin-bottom: 0.5em;
	margin-left: 1em;
	padding: 0.2em;
	float: right;
	clear: right;
	text-align: center;
}

/**
 * Customisation of the interface
 */

/* Add a checker background to custom image rendering templates. */
/* For standard thumbnails, galleries, file history, file description preview this happens by default. */
.com-checker img:hover {
	background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}

/* Moved upload link from toolbox into the MediaWiki:Sidebar thus suppressing the old duplicate */
#p-tb #t-upload {
	display: none;
}

/* Make sure the license dropdown of the upload form doesn't extend beyond the browser's
 window, even if there are some long license descriptions. (If that happens, the description
 box *also* goes beyond the right edge of the window.)
*/
#wpLicense {
	width: 100%;
	overflow: hidden;
}

/* Give the upload form a little breathing space. */
#upload * td {
	padding-bottom: 8px;
}

#mw-upload-table * td {
	padding-bottom: 8px;
}

/* Styling for Abuse Filter tags */
.mw-tag-markers {
	font-style: italic;
	font-size: 90%;
}

/* Something nice for lists in RTL languages */
div.RTL * ul {
	margin-right: 10px;
	display: table;
}

div.RTL * ol {
	margin-right: 10px;
	display: table;
}

/* Special:Search styles */

.mw-search-results li {
	padding: 0.25em 1em;
	border-bottom: 1px solid var(--border-color-subtle, #d3daed);
}

.mw-search-results li:nth-child(odd) {
	background-color: var(--background-color-interactive-subtle, #f6f8fc);
}

/* https://phabricator.wikimedia.org/T320459#8310207 */
/* https://phabricator.wikimedia.org/T367122 */
.searchResultImage .searchResultImage-thumbnail img {
	object-fit: contain;
	object-position: center;
	border: none;
}

.searchResultImage .searchResultImage-thumbnail {
	width: 120px;
	height: initial;
	max-height: 180px;
}

/* Main pages */


/* Hide title and "Nominate for deletion" button when viewing the main page (but not when editing it or viewing the talk page).
 * The "mw-mainpage" class is for all localised main pages in [[MediaWiki:MainPages.js]].
 */

/* Optimise for "Main Page" because the scripts don't apply until after page load so it flashes briefly.
 * Support IE6: ".page" must go after ".action" as IE6 only supports one class per element and uses the last one. If reversed, the rule will hide headings on all pages.
 */
.action-view.page-Main_Page #firstHeading,
.mw-mainpage #firstHeading,
.mw-mainpage #t-ajaxquickdelete,
.mw-mainpage #localNotice,
.mw-mainpage #siteSub,
.mw-mainpage #catlinks {
	display: none;
}

#mainpage-potd a img {
	width: 100% !important;
	-ms-interpolation-mode: bicubic;
	height: auto !important;
	max-width: 600px !important;
}

.utoc .tocnumber {
	display: none;
}

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

/* Necessary for displaying text in the upper right edge. (Used in [[Template:Shortcut]].) */
#content span.coordinates a.external.text:after,
#content span.coordinates a.external.autonumber:after {
	content: "";
}

#content div.coordinates a.external.text:after,
#content div.coordinates a.external.autonumber:after {
	content: "";
}

#shortcut {
	display: none;
}

/**
 * Style for horizontal lists (separator following item).
 * @source mediawiki.org/wiki/Snippets/Horizontal_lists
 * @revision 6 (2014-05-09)
 * @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) " ";
	white-space: nowrap;
}

.hlist dd ol>li:first-child:before,
.hlist dt ol>li:first-child:before,
.hlist li ol>li:first-child:before {
	content: " (" counter(listitem) " ";
}

/* END of HLISTs */

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

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

/* Default style for navigation boxes */
.navbox {
	/* Navbox container style */
	border: 1px solid #a2a9b1;
	width: 100%;
	box-sizing: border-box;
	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;
}

.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 {
	/* intentionally is flipped */
	float: left;
	/* intentionally is flipped */
	text-align: left;
	/* intentionally is flipped */
	margin-right: 0.5em;
	width: 6em;
}

/* Put on gallery_details the same styles as on gallery */
table.gallery_details {
	border: 1px solid #c8ccd1;
	margin: 2px;
	padding: 2px;
	background: #fff;
}

table.gallery_details tr {
	vertical-align: top;
}

table.gallery_details td {
	vertical-align: top;
	background: #f8f9fa;
	border: 2px solid #fff;
}

/* Small font-size for hidden categories,
 per [[Commons:Village_pump/Archive/2010Mar#Hidden_categories:_change_the_default_setting_for_logged-in_users]]
*/
#mw-hidden-catlinks {
	font-size: 87% !important;
}

/* To color the mention "updated since my last visit" in the history */
span.updatedmarker {
	color: #000;
	background: #99D642;
}

/* Geographical coordinates defaults. See [[Template:Coord/link]]
 for how these are used. The classes "geo", "longitude", and
 "latitude" are used by the [[Geo microformat]].
 */
.geo-default,
.geo-dms,
.geo-dec {
	display: inline;
}

.geo-nondefault,
.geo-multi-punct {
	display: none;
}

.longitude,
.latitude {
	white-space: nowrap;
}

/* Fix link color in jQuery dialogs */
.ui-dialog a {
	color: var(--color-progressive, #36c) !important;
}

/* Class for template content that should be shown locally, even if JS is disabled,
 but should not be visible on file pages shown on other sites.
 Use with style="display:none". Interacts with collapsible divs (see above).
*/
div.show-on-commons {
	display: block !important;
}


/* Note that image has annotations at Commons; visible only on other projects.
 See https://commons.wikimedia.org/w/index.php?title=Template_talk:ImageNote&oldid=55319045
*/
.annotationboxforwikipedia,
.hide-on-commons {
	display: none;
}

/* Allow limiting of which header levels are shown in a TOC;
 <div class="toclimit-3">, for instance, will limit to
 showing ==headings== and ===headings=== but no further
 (as long as there are no =headings= on the page, which
 there shouldn't be according to the MoS).
 */
.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
}

/* Redirects in categories, on [[Special:Allpages]], and [[Special:Prefixindex]] */
.redirect-in-category,
.allpagesredirect a {
	color: gray;
}

/* Hide deletion-instructions headers inside closed deletion requests (redundant) */
.delh .massdeletionrequest-header {
	display: none;
}

/* Message box templates */
.messagebox {
	border: 1px solid #a2a9b1;
	background: var(--background-color-interactive-subtle, #f8f9fa);
	width: 80%;
	margin: 0 auto 1em;
	padding: 0.2em;
}

.messagebox.merge {
	border: 1px solid #cf9fff;
	background: #f5edf5;
	text-align: center;
}

.messagebox.cleanup {
	border: 1px solid #9f9fff;
	background: #efefff;
	text-align: center;
}

.messagebox.standard-talk {
	border: 1px solid #c0c090;
	background: #f8eaba;
}

/**
 * Used by:
 * - [[Module:Message box]] (via [[Template:Mbox]], [[Template:Tmbox]], [[Template:Cmbox]])
 * - [[Template:Dmbox]]
 * - [[Template:Fmbox]]
 */
th.mbox-text,
td.mbox-text {
	/* The message body cell(s) */
	border: none;
	padding: 0.25em 0.9em;
	/* 0.9em left/right */
	width: 100%;
	/* Make all mboxes the same width regardless of text length */
}

td.mbox-image {
	/* The left image cell */
	border: none;
	padding: 2px 0 2px 0.9em;
	/* 0.9em left, 0px right */
	text-align: center;
}

/* Article message box styles */
table.ambox {
	margin: 0 10%;
	/* 10% = Will not overlap with other elements */
	border: 1px solid #a2a9b1;
	border-left: 10px solid #36c;
	/* Default "notice" blue */
	background: #fbfbfb;
}

table.ambox+table.ambox {
	/* Single border between stacked boxes. */
	margin-top: -1px;
}

.ambox th.mbox-text,
.ambox td.mbox-text {
	/* The message body cell(s) */
	padding: 0.25em 0.5em;
	/* 0.5em left/right */
}

.ambox td.mbox-image {
	/* The left image cell */
	padding: 2px 0 2px 0.5em;
	/* 0.5em left, 0px right */
}

.ambox td.mbox-imageright {
	/* The right image cell */
	padding: 2px 0.5em 2px 0;
	/* 0px left, 0.5em right */
}

table.ambox-notice {
	border-left: 10px solid #36c;
	/* Blue */
}

table.ambox-speedy {
	border-left: 10px solid #b32424;
	/* Red */
	background: #fee7e6;
	/* Pink */
}

table.ambox-delete {
	border-left: 10px solid #b32424;
	/* Red */
}

table.ambox-content {
	border-left: 10px solid #f28500;
	/* Orange */
}

table.ambox-style {
	border-left: 10px solid #fc3;
	/* Yellow */
}

table.ambox-move {
	border-left: 10px solid #9932cc;
	/* Purple */
}

table.ambox-protection {
	border-left: 10px solid #a2a9b1;
	/* Gray-gold */
}

/* Image message box styles */
table.imbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 3px solid #36c;
	/* Default "notice" blue */
	background: #fbfbfb;
}

.imbox .mbox-text .imbox {
	/* For imboxes inside imbox-text cells. */
	margin: 0 -0.5em;
	/* 0.9 - 0.5 = 0.4em left/right. */
}

.mbox-inside .imbox {
	/* For imboxes inside other templates. */
	margin: 4px;
}

table.imbox-notice {
	border: 3px solid #36c;
	/* Blue */
}

table.imbox-speedy {
	border: 3px solid #b32424;
	/* Red */
	background: #fee;
	/* 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: #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: #DFE8FF;
	/* Default "notice" blue */
}

table.cmbox-notice {
	background: #D8E8FF;
	/* Blue */
}

table.cmbox-speedy {
	margin-top: 4px;
	margin-bottom: 4px;
	border: 4px solid #b32424;
	/* Red */
	background: #FFDBDB;
	/* Pink */
}

table.cmbox-delete {
	background: #FFDBDB;
	/* Red */
}

table.cmbox-content {
	background: #FFE7CE;
	/* Orange */
}

table.cmbox-style {
	background: #FFF9DB;
	/* Yellow */
}

table.cmbox-move {
	background: #E4D8FF;
	/* Purple */
}

table.cmbox-protection {
	background: #EFEFE1;
	/* Gray-gold */
}

/* Other pages message box styles */
table.ombox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #a2a9b1;
	/* Default "notice" gray */
	background: #f8f9fa;
}

table.ombox-notice {
	border: 1px solid #a2a9b1;
	/* Gray */
}

table.ombox-speedy {
	border: 2px solid #b32424;
	/* Red */
	background: #fee;
	/* 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: #f8eaba;
}

.mediawiki .mbox-inside .tmbox {
	/* For tmboxes inside other templates. The "mediawiki" */
	margin: 2px 0;
	/* class ensures that this declaration overrides other */
	width: 100%;
	/* For Safari and Opera */
	/* styles (including mbox-small above) */
}

.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: #fee;
	/* 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 #a2a9b1;
	/* Gray-brown */
}

/* Footer and header message box styles */
table.fmbox {
	clear: both;
	margin: 0.2em 0;
	width: 100%;
	border: 1px solid #a2a9b1;
	background: #f8f9fa;
	/* Default "system" gray */
}

table.fmbox-system {
	background: #f8f9fa;
}

table.fmbox-warning {
	border: 1px solid #bb7070;
	/* Dark pink */
	background: #ffdbdb;
	/* Pink */
}

table.fmbox-editnotice {
	background: transparent;
}

/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
#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;
}

/* Div based "system" style fmbox messages.
   Used in [[MediaWiki:Readonly lag]]. */
div.mw-lag-warn-normal,
div.fmbox-system {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #a2a9b1;
	background: #f8f9fa;
	padding: 0.25em 0.9em;
}

/* These mbox-small classes must be placed after all other
   ambox/tmbox/ombox etc classes. "body.mediawiki" is so
   they override "table.ambox + table.ambox" above. */
body.mediawiki table.mbox-small {
	/* For the "small=yes" option. */
	clear: right;
	float: right;
	margin: 4px 0 4px 1em;
	width: 238px;
	font-size: 88%;
	line-height: 1.25em;
}

body.mediawiki table.mbox-small-left {
	/* For the "small=left" option. */
	margin: 4px 1em 4px 0;
	width: 238px;
	border-collapse: collapse;
	font-size: 88%;
	line-height: 1.25em;
}

#catlinks li {
	padding: 0 .3em;
	margin: 0;
}

#catlinks li:first-child {
	padding-left: 0;
}

/* Babel */
/* @noflip */
table.mw-babel-wrapper {
	margin: 0;
	margin-bottom: 0.5em;
	margin-left: 1em;
	background-color: transparent;
	width: 250px;
	border-spacing: 2px;
}

.mw-babel-notabox {
	margin-left: auto;
	margin-right: auto;
	width: 238px;
}

.mw-babel-box-level-N {
	display: none;
}

/*Adaption for dark mode: As boxes are currently always light the text needs to be dark*/
.mw-babel-box {
	color: var(--color-base-fixed, inherit);
}

div.mw-babel-box table th {
	font-family: sans-serif;
	text-align: center;
}

div.mw-babel-box table td a {
	font-weight: bold;
}

div.mw-babel-box-N {
	border: solid #6EF7A7 1px;
}

div.mw-babel-box-4 {
	border: solid #77E0E8 1px;
}

div.mw-babel-box-3 {
	border: solid #99B3FF 1px;
}

div.mw-babel-box-2 {
	border: solid #BCB9EF 1px;
}

div.mw-babel-box-1 {
	border: solid #E0C0E0 1px;
}

div.mw-babel-box-0 {
	border: solid #FFBBBB 1px;
}

div.mw-babel-box-N table {
	background-color: #C5FCDC;
}

div.mw-babel-box-4 table {
	background-color: #D0F8FF;
}

div.mw-babel-box-3 table {
	background-color: #E0E8FF;
}

div.mw-babel-box-2 table {
	background-color: #E9E5F9;
}

div.mw-babel-box-1 table {
	background-color: #F3E0F3;
}

div.mw-babel-box-0 table {
	background-color: #FFEEEE;
}

div.mw-babel-box-N table th {
	background-color: #6EF7A7;
}

div.mw-babel-box-4 table th {
	background-color: #77E0E8;
}

div.mw-babel-box-3 table th {
	background-color: #99B3FF;
}

div.mw-babel-box-2 table th {
	background-color: #BCB9EF;
}

div.mw-babel-box-1 table th {
	background-color: #E0C0E0;
}

div.mw-babel-box-0 table th {
	background-color: #FFBBBB;
}

/* Styling the parameter fields in [[Template:Information]] and related templates
   also here (besides on [[MediaWiki:Filepage.css]]) to ensure proper preview
   on other pages than those in the file namespace */
.fileinfo-paramfield {
	background: #ccf;
	/* @noflip */
	text-align: right;
	/* @noflip */
	padding-right: 0.4em;
	width: 15%;
	font-weight: bold;
}

/********* General fixes for night mode *********/
html.skin-theme-clientpref-night .fileinfo-paramfield {
	background: #2a2a5c;
	color: white;
}

html.skin-theme-clientpref-night .fileinfotpl-type-artwork tbody>tr>th[style*="#ccf"] {
	background-color: #2a2a5c !important;
	;
	color: white;
}

@media screen and (prefers-color-scheme: dark) {
	html.skin-theme-clientpref-os .fileinfo-paramfield {
		background: #2a2a5c;
		color: white;
	}

	html.skin-theme-clientpref-os .fileinfotpl-type-artwork tbody>tr>th[style*="#ccf"] {
		background-color: #2a2a5c !important;
		;
		color: white;
	}
}

/* == END copy of [[Module:Information/styles.css]] == */

/* Allow users to edit the orange on the main page in their personal CSS files */
.bg-orange {
	background: #fad67d;
}

/* Partially support HTML5 bdi tag on old browsers that don't support
   it and reassign its default value on modern browsers,
   needed for better i18n even on old browsers
   isolation on signature-talk will resolve mix of RTL/LTR on RTL UI*/
bdi,
.signature-talk {
	unicode-bidi: embed;
	/* fallback, it is not completely same but will work on most cases */
	unicode-bidi: -webkit-isolate;
	unicode-bidi: -moz-isolate;
	unicode-bidi: isolate;
}

/* NS GWToolset (light grey) */
.ns-490 #content {
	background-color: #f4f4f4;
}

.ns-490 div.thumb {
	border-color: #f4f4f4;
}

/* Turn off some irrelevant MediaWiki help page links */
.mw-special-Upload #mw-indicator-mw-helplink {
	display: none;
}

/* Same as .mw-references-columns (Cite extension)
 * replacement for hardcoded [[Template:Column-width]]
 */
.responsive-columns {
	column-width: 35em;
}

/* Allow custom list styles in reference sections */
.reflist ol.references {
	list-style-type: inherit;
}

/* T156351: Support for Parsoid's Cite implementation */
span[rel="mw:referencedBy"] {
	counter-reset: mw-ref-linkback 0;
}

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







/* Increase height of upload description field at Special:Upload
 * Applies only when uploading a new file, not for the one-line input box when overwriting.
 */
textarea#wpUploadDescription {
	height: 20em;
}

/* Workaround for T330527, T270741 */
.filehistory td:last-child,
.listfiles .TablePager_col_img_description {
	word-break: break-word;
	min-width: auto;
}

/* T344467: Fix position of jQuery UI dialogs for RTL script languages */
/* @noflip */
html[dir="rtl"] .ui-dialog {
	right: auto;
}

/* T367463: Fix for license templates with two images like [[Template:Money-BR]] */
body.skin--responsive table.layouttemplate img {
	max-width: none !important;
}