Actions

MediaWiki

Common.css: Difference between revisions

From Anthrodia Atlas

Add codex design token for background color per request on talk
m 6 revisions imported
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
/*
/* Default style for navigation boxes */
* This is the CSS common to all desktop skins on en.Wikipedia.
.navbox {                    /* Navbox container style */
* Styling inside .mw-parser-output should generally use TemplateStyles.
box-sizing: border-box;
*/
border: 1px solid #a2a9b1;
/* Reset italic styling set by user agent */
width: 100%;
cite,
clear: both;
dfn {
font-size: 88%;
font-style: inherit;
text-align: center;
padding: 1px;
margin: 1em auto 0;      /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
margin-top: 0;            /* No top margin for nested navboxes */
}
.navbox + .navbox {
margin-top: -1px;        /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em;      /* Title, group and above/below styles */
line-height: 1.5em;
text-align: center;
}
th.navbox-group {            /* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background-color: #fdfdfd; /* Background color */
}
.navbox-list {
line-height: 1.5em;
border-color: #fdfdfd;    /* Must match background color */
}
/* cell spacing for navbox cells */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {    /* Borders above 2nd, 3rd, etc. rows */
border-top: 2px solid #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
background-color: #ccccff;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background-color: #ddddff;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background-color: #e6e6ff;      /* Level 3 color */
}
.navbox-even {
background-color: #f7f7f7;      /* Even row striping */
}
.navbox-odd {
background-color: transparent;  /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}
}


/* Straight quote marks for <q> */
/* Default styling for Navbar template */
q {
.navbar {
quotes: '"' '"' "'" "'";
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar ul {
display: inline;
white-space: nowrap;
}
.mw-body-content .navbar ul {
line-height: inherit;
}
.navbar li {
word-spacing: -0.125em;
}
.navbar.mini li abbr[title] {
font-variant: small-caps;
border-bottom: none;
text-decoration: none;
cursor: inherit;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
}
}


/* Avoid collision of blockquote with floating elements by swapping margin and padding */
.infobox {
blockquote {
border: 1px solid #a2a9b1;
overflow: hidden;
border-spacing: 3px;
margin: 1em 0;
background-color: #f8f9fa;
padding: 0 40px;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
font-size: 88%;
line-height: 1.5em;
}
.infobox caption {
font-size: 125%;
font-weight: bold;
padding: 0.2em;
text-align: center;
}
.infobox td,
.infobox th {
vertical-align: top;
/* @noflip */
text-align: left;
}
.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;
}
}


/* Consistent size for <small>, <sub> and <sup> */
.infobox.sisterproject {
small {
width: 20em;
font-size: 85%;
font-size: 90%;
}
}


.mw-body-content sub,
.infobox.standard-talk {
.mw-body-content sup {
border: 1px solid #c0c090;
font-size: 80%;
background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
border: 1px solid #c0c090;
}
}


/* Same spacing for indented and unindented paragraphs on talk pages */
/* styles for bordered infobox with merged rows */
.ns-talk .mw-body-content dd {
.infobox.bordered .mergedtoprow td,
margin-top: 0.4em;
.infobox.bordered .mergedtoprow th {
margin-bottom: 0.4em;
border: 0;
border-top: 1px solid #a2a9b1;
/* @noflip */
border-right: 1px solid #a2a9b1;
}
}


/* Reduce page jumps by hiding collapsed/dismissed content */
.infobox.bordered .mergedrow td,
.client-js .collapsible:not( .mw-made-collapsible).collapsed > tbody > tr:not(:first-child),
.infobox.bordered .mergedrow th {
 
border: 0;
/* Avoid FOUC/reflows on collapsed elements. */
/* @noflip */
/* This copies MediaWiki's solution for T42812 to apply to innercollapse/outercollapse (T325115). */
border-right: 1px solid #a2a9b1;
/* 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;
}
}


/* Make the list of references smaller
/* Styles for geography infoboxes, eg countries,
* Keep in sync with Template:Refbegin/styles.css
  country subdivisions, cities, etc.            */
* And Template:Reflist/styles.css
.infobox.geography {
*/
border-collapse: collapse;
ol.references {
line-height: 1.2em;
font-size: 90%;
font-size: 90%;
margin-bottom: 0.5em;
}
}


/* Cite customizations for Parsoid
.infobox.geography td,
  * Once everything uses the one true parser these are just customizations
.infobox.geography th {
  */
border-top: 1px solid #a2a9b1;
span[ rel="mw:referencedBy" ] {
padding: 0.4em 0.6em 0.4em 0.6em;
counter-reset: mw-ref-linkback 0;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
border-top: 1px solid #a2a9b1;
padding: 0.4em 0.6em 0.2em 0.6em;
}
}


span[ rel='mw:referencedBy' ] > a::before {
.infobox.geography .mergedrow td,
content: counter( mw-ref-linkback, lower-alpha );
.infobox.geography .mergedrow th {
font-size: 80%;
border: 0;
font-weight: bold;
padding: 0 0.6em 0.2em 0.6em;
font-style: italic;
}
}


a[ rel="mw:referencedBy" ]::before {
.infobox.geography .mergedbottomrow td,
font-weight: bold;
.infobox.geography .mergedbottomrow th {
content: "^";
border-top: 0;
border-bottom: 1px solid #a2a9b1;
padding: 0 0.6em 0.4em 0.6em;
}
}


span[ rel="mw:referencedBy" ]::before {
.infobox.geography .maptable td,
content: "^ ";
.infobox.geography .maptable th {
border: 0;
padding: 0;
}
}


.mw-ref > a[data-mw-group=lower-alpha]::after {
div.listenlist {
content: '[' counter( mw-Ref, lower-alpha ) ']';
background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
background-size: 30px;
padding-left: 40px;
}
}


.mw-ref > a[data-mw-group=upper-alpha]::after {
/* Fix for hieroglyphs specificity issue in infoboxes ([[phab:T43869]]) */
content: '[' counter( mw-Ref, upper-alpha ) ']';
table.mw-hiero-table td {
vertical-align: middle;
}
}


.mw-ref > a[data-mw-group=decimal]::after {
/* Style rules for media list templates */
content: '[' counter( mw-Ref, decimal ) ']';
/* TemplateStyles */
div.medialist {
min-height: 50px;
margin: 1em;
/* @noflip */
background-position: top left;
background-repeat: no-repeat;
}
div.medialist ul {
list-style-type: none;
list-style-image: none;
margin: 0;
}
div.medialist ul li {
padding-bottom: 0.5em;
}
div.medialist ul li li {
font-size: 91%;
padding-bottom: 0;
}
}


.mw-ref > a[data-mw-group=lower-roman]::after {
/* Messagebox templates */
content: '[' counter( mw-Ref, lower-roman ) ']';
.messagebox {
border: 1px solid #a2a9b1;
background-color: #f8f9fa;
width: 80%;
margin: 0 auto 1em auto;
padding: .2em;
}
.messagebox.merge {
border: 1px solid #c0b8cc;
background-color: #f0e5ff;
text-align: center;
}
.messagebox.cleanup {
border: 1px solid #9f9fff;
background-color: #efefff;
text-align: center;
}
.messagebox.standard-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
margin: 4px auto;
}
/* For old WikiProject banners inside banner shells. */
.mbox-inside .standard-talk,
.messagebox.nested-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
width: 100%;
margin: 2px 0;
padding: 2px;
}
.messagebox.small {
width: 238px;
font-size: 85%;
/* @noflip */
float: right;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;
}
.messagebox.small-talk {
width: 238px;
font-size: 85%;
/* @noflip */
float: right;
clear: both;
/* @noflip */
margin: 0 0 1em 1em;
line-height: 1.25em;
background-color: #F8EABA;
}
}


.mw-ref > a[data-mw-group=upper-roman]::after {
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
content: '[' counter( mw-Ref, upper-roman ) ']';
th.mbox-text, td.mbox-text {  /* The message body cell(s) */
border: none;
/* @noflip */
padding: 0.25em 0.9em;    /* 0.9em left/right */
width: 100%;              /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                /* The left image cell */
border: none;
/* @noflip */
padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
text-align: center;
}
td.mbox-imageright {          /* The right image cell */
border: none;
/* @noflip */
padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
text-align: center;
}
td.mbox-empty-cell {          /* An empty narrow cell */
border: none;
padding: 0;
width: 1px;
}
}


.mw-ref > a[data-mw-group=lower-greek]::after {
/* Article message box styles */
content: '[' counter( mw-Ref, lower-greek ) ']';
table.ambox {
margin: 0 10%;                  /* 10% = Will not overlap with other elements */
border: 1px solid #a2a9b1;
/* @noflip */
border-left: 10px solid #36c;  /* Default "notice" blue */
background-color: #fbfbfb;
box-sizing: border-box;
}
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 */
/* @noflip */
padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
/* @noflip */
padding: 2px 0.5em 2px 0;   /* 0px left, 0.5em right */
}
}


/* Styling for jQuery makeCollapsible, matching that of collapseButton */
table.ambox-notice {
.mw-parser-output .mw-collapsible-toggle:not(.mw-ui-button) {
/* @noflip */
font-weight: normal;
border-left: 10px solid #36c;      /* Blue */
padding-right: 0.2em;
}
padding-left: 0.2em;
table.ambox-speedy {
/* @noflip */
border-left: 10px solid #b32424;   /* Red */
background-color: #fee7e6;          /* Pink */
}
table.ambox-delete {
/* @noflip */
border-left: 10px solid #b32424;   /* Red */
}
table.ambox-content {
/* @noflip */
border-left: 10px solid #f28500;   /* Orange */
}
}
 
table.ambox-style {
.mw-collapsible-leftside-toggle .mw-collapsible-toggle {
/* @noflip */
/* @noflip */
float: left;
border-left: 10px solid #fc3;       /* Yellow */
}
}
 
table.ambox-move {
/* Lists in wikitable data cells are always left-aligned */
.wikitable td ul,
.wikitable td ol,
.wikitable td dl {
/* @noflip */
/* @noflip */
text-align: left;
border-left: 10px solid #9932cc;   /* Purple */
}
}
 
table.ambox-protection {
/* 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 */
/* @noflip */
padding: 8px 18px 8px 0;
border-left: 10px solid #a2a9b1;   /* Gray-gold */
}
}


/* System messages styled similarly to fmbox */
/* Image message box styles */
/* for .mw-warning-with-logexcerpt, behavior of this line differs between
table.imbox {
* the edit-protected notice and the special:Contribs for blocked users
margin: 4px 10%;
* The latter has specificity of 3 classes so we have to triple up here.
border-collapse: collapse;
*/
border: 3px solid #36c;   /* Default "notice" blue */
.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt.mw-warning-with-logexcerpt,
background-color: #fbfbfb;
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;
box-sizing: border-box;
}
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
margin: 0 -0.5em;      /* 0.9 - 0.5 = 0.4em left/right.        */
display: block;        /* Fix for webkit to force 100% width.  */
}
.mbox-inside .imbox {      /* For imboxes inside other templates.  */
margin: 4px;
}
}


/* default colors for partial block message */
table.imbox-notice {
/* gotta get over the hump introduced by the triple class above */
border: 3px solid #36c;      /* Blue */
.mw-contributions-blocked-notice-partial .mw-warning-with-logexcerpt.mw-warning-with-logexcerpt {
}
border-color: #fc3;
table.imbox-speedy {
background-color: #fef6e7;
border: 3px solid #b32424;    /* Red */
background-color: #fee7e6;    /* Pink */
}
table.imbox-delete {
border: 3px solid #b32424;    /* Red */
}
table.imbox-content {
border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
border: 3px solid #fc3;      /* Yellow */
}
table.imbox-move {
border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
border: 3px solid #a2a9b1;    /* Gray-gold */
}
table.imbox-license {
border: 3px solid #88a;       /* Dark gray */
background-color: #f7f8ff;   /* Light gray */
}
table.imbox-featured {
border: 3px solid #cba135;    /* Brown-gold */
}
}


/* Minimum thumb width */
/* Category message box styles */
figure[typeof~='mw:File/Thumb'],
table.cmbox {
figure[typeof~='mw:File/Frame'],
margin: 3px 10%;
.thumbinner {
border-collapse: collapse;
min-width: 100px;
border: 1px solid #a2a9b1;
background-color: #DFE8FF;    /* Default "notice" blue */
box-sizing: border-box;
}
}


/* Prevent floating boxes from overlapping any category listings,
table.cmbox-notice {
   file histories, edit previews, and edit [Show changes] views. */
background-color: #D8E8FF;    /* Blue */
#mw-subcategories,
}
#mw-pages,
table.cmbox-speedy {
#mw-category-media,
margin-top: 4px;
#filehistory,
margin-bottom: 4px;
#wikiPreview,
border: 4px solid #b32424;   /* Red */
#wikiDiff {
background-color: #FFDBDB;    /* Pink */
clear: both;
}
table.cmbox-delete {
background-color: #FFDBDB;    /* Red */
}
table.cmbox-content {
background-color: #FFE7CE;    /* Orange */
}
table.cmbox-style {
background-color: #FFF9DB;    /* Yellow */
}
table.cmbox-move {
background-color: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
background-color: #EFEFE1;   /* Gray-gold */
}
}


/* Styling for tags in changes pages */
/* Other pages message box styles */
.mw-tag-markers {
table.ombox {
font-style: italic;
margin: 4px 10%;
font-size: 90%;
border-collapse: collapse;
border: 1px solid #a2a9b1;    /* Default "notice" gray */
background-color: #f8f9fa;
box-sizing: border-box;
}
}


/* Hide stuff meant for accounts with special permissions. Made visible again in
table.ombox-notice {
  [[MediaWiki:Group-checkuser.css]], [[MediaWiki:Group-sysop.css]], [[MediaWiki:Group-abusefilter.css]],
border: 1px solid #a2a9b1;    /* Gray */
  [[MediaWiki:Group-abusefilter-helper.css]], [[MediaWiki:Group-patroller.css]],
}
  [[MediaWiki:Group-templateeditor.css]], [[MediaWiki:Group-extendedmover.css]],
table.ombox-speedy {
   [[MediaWiki:Group-extendedconfirmed.css]], and [[Mediawiki:Group-autoconfirmed.css]]. */
border: 2px solid #b32424;    /* Red */
.checkuser-show,
background-color: #fee7e6;    /* Pink */
.sysop-show,
}
.abusefilter-show,
table.ombox-delete {
.abusefilter-helper-show,
border: 2px solid #b32424;   /* Red */
.patroller-show,
}
.templateeditor-show,
table.ombox-content {
.extendedmover-show,
border: 1px solid #f28500;    /* Orange */
.extendedconfirmed-show,
}
.autoconfirmed-show,
table.ombox-style {
.user-show {
border: 1px solid #fc3;      /* Yellow */
display: none;
}
table.ombox-move {
border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
border: 2px solid #a2a9b1;   /* Gray-gold */
}
}


/* Hide the redlink generated by {{Editnotice}},
/* Talk page message box styles */
  this overrides the ".sysop-show { display: none; }" above that applies
table.tmbox {
  to the same link as well. See [[phab:T45013]]
margin: 4px 10%;
 
border-collapse: collapse;
   Hide the images in editnotices to keep them readable in VE view.
border: 1px solid #c0c090;   /* Default "notice" gray-brown */
  Long term, editnotices should become a core feature so that they can be designed responsive. */
background-color: #f8eaba;
.ve-ui-mwNoticesPopupTool-item .editnotice-redlink,
min-width: 80%;
.ve-ui-mwNoticesPopupTool-item .mbox-image,
box-sizing: border-box;
.ve-ui-mwNoticesPopupTool-item .mbox-imageright {
}
display: none !important;
.tmbox.mbox-small {
min-width: 0;                /* reset the min-width of tmbox above        */
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
margin: 2px 0;              /* this declaration overrides other styles (including mbox-small above)  */
width: 100%;                /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
line-height: 1.5em;          /* also "nested", so reset styles that are  */
font-size: 100%;             /* set in "mbox-small" above.                */
}
}


/* Remove bullets when there are multiple edit page warnings */
table.tmbox-speedy {
ul.permissions-errors {
border: 2px solid #b32424;    /* Red */
margin: 0;
background-color: #fee7e6;   /* Pink */
}
}
 
table.tmbox-delete {
ul.permissions-errors > li {
border: 2px solid #b32424;   /* Red */
list-style: none;
}
}
 
table.tmbox-content {
/* larger inline math */
border: 2px solid #f28500;   /* Orange */
span.mwe-math-mathml-inline {
font-size: 118%;
}
}
 
table.tmbox-style {
/* Make <math display="block"> be left aligned with one space indent for
border: 2px solid #fc3;       /* Yellow */
* 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;
}
}
 
table.tmbox-move {
.mwe-math-mathml-display math {
border: 2px solid #9932cc;   /* Purple */
display: inline;
}
}
 
table.tmbox-protection,
@media screen {
table.tmbox-notice {
/* Put a chequered background behind images, only visible if they have transparency,
border: 1px solid #c0c090;   /* Gray-brown */
* 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;
}
}
}


/* Hide FlaggedRevs notice UI when there are no pending changes */
/* Disambig and set index box styles */
.flaggedrevs_draft_synced,
table.dmbox {
.flaggedrevs_stable_synced,
clear: both;
/* "Temporary" to remove links in sidebar T255381 */
margin: 0.9em 1em;
#t-upload,
border-top: 1px solid #ccc;
/* Hide broken download box on Special:Book pending T285400 */
border-bottom: 1px solid #ccc;
.mw-special-Book #coll-downloadbox {
background-color: transparent;
display: none;
}
}


/*
/* Footer and header message box styles */
* BELOW HERE THERE BE SOONTOBE TEMPLATESTYLES THINGS;
table.fmbox {
* SEE [[MediaWiki talk:Common.css/to do]]
clear: both;
*/
margin: 0.2em 0;
 
width: 100%;
/* Infobox template style */
.infobox {
border: 1px solid #a2a9b1;
border: 1px solid #a2a9b1;
border-spacing: 3px;
background-color: #f8f9fa;    /* Default "system" gray */
box-sizing: border-box;
}
table.fmbox-system {
background-color: #f8f9fa;
background-color: #f8f9fa;
color: black;
}
table.fmbox-warning {
border: 1px solid #bb7070;  /* Dark pink */
background-color: #ffdbdb;  /* Pink */
}
table.fmbox-editnotice {
background-color: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div.titleblacklist-warning,
div.locked-warning {
clear: both;
margin: 0.2em 0;
border: 1px solid #bb7070;
background-color: #ffdbdb;
padding: 0.25em 0.9em;
box-sizing: border-box;
}
 
/* These mbox-small classes must be placed after all other
  ambox/tmbox/ombox etc classes. "html body.mediawiki" is so
  they override "table.ambox + table.ambox" above. */
html body.mediawiki .mbox-small {  /* For the "small=yes" option. */
/* @noflip */
/* @noflip */
margin: 0.5em 0 0.5em 1em;
clear: right;
padding: 0.2em;
/* @noflip */
/* @noflip */
float: right;
float: right;
/* @noflip */
/* @noflip */
clear: right;
margin: 4px 0 4px 1em;
box-sizing: border-box;
width: 238px;
font-size: 88%;
font-size: 88%;
line-height: 1.5em;
line-height: 1.25em;
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;
}
}
 
html body.mediawiki .mbox-small-left {  /* For the "small=left" option. */
.infobox-label,
.infobox-data,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.infobox th,
.infobox td {
/* @noflip */
/* @noflip */
text-align: left;
margin: 4px 1em 4px 0;
box-sizing: border-box;
overflow: hidden;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
}


/* Remove .infobox when element selectors above are removed */
/* Style for compact ambox */
.infobox .infobox-above,
/* Hide the images */
.infobox .infobox-title,
.compact-ambox table .mbox-image,
/* Remove element selector when every .infobox thing is using the standard module/templates  */
.compact-ambox table .mbox-imageright,
.infobox caption {
.compact-ambox table .mbox-empty-cell {
font-size: 125%;
display: none;
font-weight: bold;
text-align: center;
}
}
 
/* Remove borders, backgrounds, padding, etc. */
.infobox-title,
.compact-ambox table.ambox {
/* Remove element selector when every .infobox thing is using the standard module/templates  */
border: none;
.infobox caption {
border-collapse: collapse;
padding: 0.2em;
background-color: transparent;
margin: 0 0 0 1.6em !important;
padding: 0 !important;
width: auto;
display: block;
}
}
 
body.mediawiki .compact-ambox table.mbox-small-left {
/* Remove .infobox when element selectors above are removed */
font-size: 100%;
.infobox .infobox-header,
width: auto;
.infobox .infobox-subheader,
margin: 0;
.infobox .infobox-image,
.infobox .infobox-full-data,
.infobox .infobox-below {
text-align: center;
}
}
 
/* Style the text cell as a list item and remove its padding */
/* Remove .infobox when element selectors above are removed */
.compact-ambox table .mbox-text {
.infobox .infobox-navbar {
padding: 0 !important;
/* @noflip */
margin: 0 !important;
text-align: right;
}
}
 
.compact-ambox table .mbox-text-span {
/* Normal font styling for wikitable row headers with scope="row" tag */
display: list-item;
.wikitable.plainrowheaders th[scope=row],
line-height: 1.5em;
.wikitable.plainrowheaders th[scope=rowgroup] {
list-style-type: square;
font-weight: normal;
list-style-image: url(/w/skins/MonoBook/resources/images/bullet.gif);
/* @noflip */
text-align: left;
}
}
 
.skin-vector .compact-ambox table .mbox-text-span {
/* Remove underlines from certain links */
list-style-type: disc;
.nounderlines a,
list-style-image: url(/w/skins/Vector/images/bullet-icon.svg);
.IPA a:link,
list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9;
.IPA a:visited {
text-decoration: none !important;
}
}
 
/* Allow for hiding text in compact form */
/* Prevent line breaks in silly places where desired (nowrap)
.compact-ambox .hide-when-compact {
  and links when we don't want them to (nowraplinks a) */
display: none;
.nowrap,
.nowraplinks a {
white-space: nowrap;
}
}


/* But allow wrapping where desired: */
/* For template documentation */
.wrap,
/* TemplateStyles */
.wraplinks a {
.template-documentation {
white-space: normal;
clear: both;
margin: 1em 0 0 0;
border: 1px solid #a2a9b1;
background-color: #ecfcf4;
padding: 1em;
}
}


/* texhtml class for inline math (based on generic times-serif class) */
.floatright {
span.texhtml {
    margin: 0 0 0.5em 0.5em;
font-family: "Nimbus Roman No9 L", "Times New Roman", Times, serif;
    clear: right;
font-size: 118%;
    float: right;
line-height: 1;
white-space: nowrap;
/* Force tabular and lining display for texhtml */
font-variant-numeric: lining-nums tabular-nums;
font-kerning: none;
}
}


span.texhtml span.texhtml {
.floatleft {
font-size: 100%;
    margin: 0 0.5em 0.5em 0;
    float: left;
    clear: left;
}
}
@media screen {
.nochecker .gallerybox .thumb img {
background-image: none;
}
}
/* Put anything you mean to be a sitewide addition above the TemplateStyles
* comment above.
*/

Latest revision as of 04:09, 27 May 2026

/* Default style for navigation boxes */
.navbox {                     /* Navbox container style */
	box-sizing: border-box;
	border: 1px solid #a2a9b1;
	width: 100%;
	clear: both;
	font-size: 88%;
	text-align: center;
	padding: 1px;
	margin: 1em auto 0;       /* Prevent preceding content from clinging to navboxes */
}
.navbox .navbox {
	margin-top: 0;            /* No top margin for nested navboxes */
}
.navbox + .navbox {
	margin-top: -1px;         /* Single pixel border between adjacent navboxes */
}
.navbox-inner,
.navbox-subgroup {
	width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
	padding: 0.25em 1em;      /* Title, group and above/below styles */
	line-height: 1.5em;
	text-align: center;
}
th.navbox-group {             /* Group style */
	white-space: nowrap;
	/* @noflip */
	text-align: right;
}
.navbox,
.navbox-subgroup {
	background-color: #fdfdfd; /* Background color */
}
.navbox-list {
	line-height: 1.5em;
	border-color: #fdfdfd;    /* Must match background color */
}
/* cell spacing for navbox cells */
tr + tr > .navbox-abovebelow,
tr + tr > .navbox-group,
tr + tr > .navbox-image,
tr + tr > .navbox-list {    /* Borders above 2nd, 3rd, etc. rows */
	border-top: 2px solid #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
	background-color: #ccccff;      /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
	background-color: #ddddff;      /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
	background-color: #e6e6ff;      /* Level 3 color */
}
.navbox-even {
	background-color: #f7f7f7;      /* Even row striping */
}
.navbox-odd {
	background-color: transparent;  /* Odd row striping */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
	padding: 0.125em 0;       /* Adjust hlist padding in navboxes */
}

/* Default styling for Navbar template */
.navbar {
	display: inline;
	font-size: 88%;
	font-weight: normal;
}
.navbar ul {
	display: inline;
	white-space: nowrap;
}
.mw-body-content .navbar ul {
	line-height: inherit;
}
.navbar li {
	word-spacing: -0.125em;
}
.navbar.mini li abbr[title] {
	font-variant: small-caps;
	border-bottom: none;
	text-decoration: none;
	cursor: inherit;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
	font-size: 100%;
}
.navbox .navbar {
	display: block;
	font-size: 100%;
}
.navbox-title .navbar {
	/* @noflip */
	float: left;
	/* @noflip */
	text-align: left;
	/* @noflip */
	margin-right: 0.5em;
}

.infobox {
	border: 1px solid #a2a9b1;
	border-spacing: 3px;
	background-color: #f8f9fa;
	color: black;
	/* @noflip */
	margin: 0.5em 0 0.5em 1em;
	padding: 0.2em;
	/* @noflip */
	float: right;
	/* @noflip */
	clear: right;
	font-size: 88%;
	line-height: 1.5em;
}
.infobox caption {
	font-size: 125%;
	font-weight: bold;
	padding: 0.2em;
	text-align: center;
}
.infobox td,
.infobox th {
	vertical-align: top;
	/* @noflip */
	text-align: left;
}
.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;
}

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

.infobox.standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
}
.infobox.standard-talk.bordered td,
.infobox.standard-talk.bordered th {
	border: 1px solid #c0c090;
}

/* styles for bordered infobox with merged rows */
.infobox.bordered .mergedtoprow td,
.infobox.bordered .mergedtoprow th {
	border: 0;
	border-top: 1px solid #a2a9b1;
	/* @noflip */
	border-right: 1px solid #a2a9b1;
}

.infobox.bordered .mergedrow td,
.infobox.bordered .mergedrow th {
	border: 0;
	/* @noflip */
	border-right: 1px solid #a2a9b1;
}

/* Styles for geography infoboxes, eg countries,
   country subdivisions, cities, etc.            */
.infobox.geography {
	border-collapse: collapse;
	line-height: 1.2em;
	font-size: 90%;
}

.infobox.geography  td,
.infobox.geography  th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.4em 0.6em;
}
.infobox.geography .mergedtoprow td,
.infobox.geography .mergedtoprow th {
	border-top: 1px solid #a2a9b1;
	padding: 0.4em 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedrow td,
.infobox.geography .mergedrow th {
	border: 0;
	padding: 0 0.6em 0.2em 0.6em;
}

.infobox.geography .mergedbottomrow td,
.infobox.geography .mergedbottomrow th {
	border-top: 0;
	border-bottom: 1px solid #a2a9b1;
	padding: 0 0.6em 0.4em 0.6em;
}

.infobox.geography .maptable td,
.infobox.geography .maptable th {
	border: 0;
	padding: 0;
}

div.listenlist {
	background: url("//upload.wikimedia.org/wikipedia/commons/4/47/Sound-icon.svg") no-repeat scroll 0 0 transparent;
	background-size: 30px;
	padding-left: 40px;
}

/* Fix for hieroglyphs specificity issue in infoboxes ([[phab:T43869]]) */
table.mw-hiero-table td {
	vertical-align: middle;
}

/* Style rules for media list templates */
/* TemplateStyles */
div.medialist {
	min-height: 50px;
	margin: 1em;
	/* @noflip */
	background-position: top left;
	background-repeat: no-repeat;
}
div.medialist ul {
	list-style-type: none;
	list-style-image: none;
	margin: 0;
}
div.medialist ul li {
	padding-bottom: 0.5em;
}
div.medialist ul li li {
	font-size: 91%;
	padding-bottom: 0;
}

/* Messagebox templates */
.messagebox {
	border: 1px solid #a2a9b1;
	background-color: #f8f9fa;
	width: 80%;
	margin: 0 auto 1em auto;
	padding: .2em;
}
.messagebox.merge {
	border: 1px solid #c0b8cc;
	background-color: #f0e5ff;
	text-align: center;
}
.messagebox.cleanup {
	border: 1px solid #9f9fff;
	background-color: #efefff;
	text-align: center;
}
.messagebox.standard-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
	margin: 4px auto;
}
/* For old WikiProject banners inside banner shells. */
.mbox-inside .standard-talk,
.messagebox.nested-talk {
	border: 1px solid #c0c090;
	background-color: #f8eaba;
	width: 100%;
	margin: 2px 0;
	padding: 2px;
}
.messagebox.small {
	width: 238px;
	font-size: 85%;
	/* @noflip */
	float: right;
	clear: both;
	/* @noflip */
	margin: 0 0 1em 1em;
	line-height: 1.25em;
}
.messagebox.small-talk {
	width: 238px;
	font-size: 85%;
	/* @noflip */
	float: right;
	clear: both;
	/* @noflip */
	margin: 0 0 1em 1em;
	line-height: 1.25em;
	background-color: #F8EABA;
}

/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */
th.mbox-text, td.mbox-text {   /* The message body cell(s) */
	border: none;
	/* @noflip */
	padding: 0.25em 0.9em;     /* 0.9em left/right */
	width: 100%;               /* Make all mboxes the same width regardless of text length */
}
td.mbox-image {                /* The left image cell */
	border: none;
	/* @noflip */
	padding: 2px 0 2px 0.9em;  /* 0.9em left, 0px right */
	text-align: center;
}
td.mbox-imageright {           /* The right image cell */
	border: none;
	/* @noflip */
	padding: 2px 0.9em 2px 0;  /* 0px left, 0.9em right */
	text-align: center;
}
td.mbox-empty-cell {           /* An empty narrow cell */
	border: none;
	padding: 0;
	width: 1px;
}

/* Article message box styles */
table.ambox {
	margin: 0 10%;                  /* 10% = Will not overlap with other elements */
	border: 1px solid #a2a9b1;
	/* @noflip */
	border-left: 10px solid #36c;  /* Default "notice" blue */
	background-color: #fbfbfb;
	box-sizing: border-box;
}
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 */
	/* @noflip */
	padding: 2px 0 2px 0.5em;    /* 0.5em left, 0px right */
}
.ambox td.mbox-imageright {      /* The right image cell */
	/* @noflip */
	padding: 2px 0.5em 2px 0;    /* 0px left, 0.5em right */
}

table.ambox-notice {
	/* @noflip */
	border-left: 10px solid #36c;       /* Blue */
}
table.ambox-speedy {
	/* @noflip */
	border-left: 10px solid #b32424;    /* Red */
	background-color: #fee7e6;          /* Pink */
}
table.ambox-delete {
	/* @noflip */
	border-left: 10px solid #b32424;    /* Red */
}
table.ambox-content {
	/* @noflip */
	border-left: 10px solid #f28500;    /* Orange */
}
table.ambox-style {
	/* @noflip */
	border-left: 10px solid #fc3;       /* Yellow */
}
table.ambox-move {
	/* @noflip */
	border-left: 10px solid #9932cc;    /* Purple */
}
table.ambox-protection {
	/* @noflip */
	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-color: #fbfbfb;
	box-sizing: border-box;
}
.imbox .mbox-text .imbox {  /* For imboxes inside imbox-text cells. */
	margin: 0 -0.5em;       /* 0.9 - 0.5 = 0.4em left/right.        */
	display: block;         /* Fix for webkit to force 100% width.  */
}
.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-color: #fee7e6;    /* Pink */
}
table.imbox-delete {
	border: 3px solid #b32424;    /* Red */
}
table.imbox-content {
	border: 3px solid #f28500;    /* Orange */
}
table.imbox-style {
	border: 3px solid #fc3;       /* Yellow */
}
table.imbox-move {
	border: 3px solid #9932cc;    /* Purple */
}
table.imbox-protection {
	border: 3px solid #a2a9b1;    /* Gray-gold */
}
table.imbox-license {
	border: 3px solid #88a;       /* Dark gray */
	background-color: #f7f8ff;    /* Light gray */
}
table.imbox-featured {
	border: 3px solid #cba135;    /* Brown-gold */
}

/* Category message box styles */
table.cmbox {
	margin: 3px 10%;
	border-collapse: collapse;
	border: 1px solid #a2a9b1;
	background-color: #DFE8FF;    /* Default "notice" blue */
	box-sizing: border-box;
}

table.cmbox-notice {
	background-color: #D8E8FF;    /* Blue */
}
table.cmbox-speedy {
	margin-top: 4px;
	margin-bottom: 4px;
	border: 4px solid #b32424;    /* Red */
	background-color: #FFDBDB;    /* Pink */
}
table.cmbox-delete {
	background-color: #FFDBDB;    /* Red */
}
table.cmbox-content {
	background-color: #FFE7CE;    /* Orange */
}
table.cmbox-style {
	background-color: #FFF9DB;    /* Yellow */
}
table.cmbox-move {
	background-color: #E4D8FF;    /* Purple */
}
table.cmbox-protection {
	background-color: #EFEFE1;    /* Gray-gold */
}

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

table.ombox-notice {
	border: 1px solid #a2a9b1;    /* Gray */
}
table.ombox-speedy {
	border: 2px solid #b32424;    /* Red */
	background-color: #fee7e6;    /* Pink */
}
table.ombox-delete {
	border: 2px solid #b32424;    /* Red */
}
table.ombox-content {
	border: 1px solid #f28500;    /* Orange */
}
table.ombox-style {
	border: 1px solid #fc3;       /* Yellow */
}
table.ombox-move {
	border: 1px solid #9932cc;    /* Purple */
}
table.ombox-protection {
	border: 2px solid #a2a9b1;    /* Gray-gold */
}

/* Talk page message box styles */
table.tmbox {
	margin: 4px 10%;
	border-collapse: collapse;
	border: 1px solid #c0c090;    /* Default "notice" gray-brown */
	background-color: #f8eaba;
	min-width: 80%;
	box-sizing: border-box;
}
.tmbox.mbox-small {
	min-width: 0;                /* reset the min-width of tmbox above        */
}
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" class ensures that */
	margin: 2px 0;               /* this declaration overrides other styles (including mbox-small above)   */
	width: 100%;                 /* For Safari and Opera */
}
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when  */
	line-height: 1.5em;          /* also "nested", so reset styles that are   */
	font-size: 100%;             /* set in "mbox-small" above.                */
}

table.tmbox-speedy {
	border: 2px solid #b32424;    /* Red */
	background-color: #fee7e6;    /* Pink */
}
table.tmbox-delete {
	border: 2px solid #b32424;    /* Red */
}
table.tmbox-content {
	border: 2px solid #f28500;    /* Orange */
}
table.tmbox-style {
	border: 2px solid #fc3;       /* Yellow */
}
table.tmbox-move {
	border: 2px solid #9932cc;    /* Purple */
}
table.tmbox-protection,
table.tmbox-notice {
	border: 1px solid #c0c090;    /* Gray-brown */
}

/* Disambig and set index box styles */
table.dmbox {
	clear: both;
	margin: 0.9em 1em;
	border-top: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	background-color: transparent;
}

/* Footer and header message box styles */
table.fmbox {
	clear: both;
	margin: 0.2em 0;
	width: 100%;
	border: 1px solid #a2a9b1;
	background-color: #f8f9fa;     /* Default "system" gray */
	box-sizing: border-box;
}
table.fmbox-system {
	background-color: #f8f9fa;
}
table.fmbox-warning {
	border: 1px solid #bb7070;  /* Dark pink */
	background-color: #ffdbdb;  /* Pink */
}
table.fmbox-editnotice {
	background-color: transparent;
}
/* Div based "warning" style fmbox messages. */
div.mw-warning-with-logexcerpt,
div.mw-lag-warn-high,
div.mw-cascadeprotectedwarning,
div#mw-protect-cascadeon,
div.titleblacklist-warning,
div.locked-warning {
	clear: both;
	margin: 0.2em 0;
	border: 1px solid #bb7070;
	background-color: #ffdbdb;
	padding: 0.25em 0.9em;
	box-sizing: border-box;
}

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

/* Style for compact ambox */
/* Hide the images */
.compact-ambox table .mbox-image,
.compact-ambox table .mbox-imageright,
.compact-ambox table .mbox-empty-cell {
	display: none;
}
/* Remove borders, backgrounds, padding, etc. */
.compact-ambox table.ambox {
	border: none;
	border-collapse: collapse;
	background-color: transparent;
	margin: 0 0 0 1.6em !important;
	padding: 0 !important;
	width: auto;
	display: block;
}
body.mediawiki .compact-ambox table.mbox-small-left {
	font-size: 100%;
	width: auto;
	margin: 0;
}
/* Style the text cell as a list item and remove its padding */
.compact-ambox table .mbox-text {
	padding: 0 !important;
	margin: 0 !important;
}
.compact-ambox table .mbox-text-span {
	display: list-item;
	line-height: 1.5em;
	list-style-type: square;
	list-style-image: url(/w/skins/MonoBook/resources/images/bullet.gif);
}
.skin-vector .compact-ambox table .mbox-text-span {
	list-style-type: disc;
	list-style-image: url(/w/skins/Vector/images/bullet-icon.svg);
	list-style-image: url(/w/skins/Vector/images/bullet-icon.png)\9;
}
/* Allow for hiding text in compact form */
.compact-ambox .hide-when-compact {
	display: none;
}

/* For template documentation */
/* TemplateStyles */
.template-documentation {
	clear: both;
	margin: 1em 0 0 0;
	border: 1px solid #a2a9b1;
	background-color: #ecfcf4;
	padding: 1em;
}

.floatright {
    margin: 0 0 0.5em 0.5em;
    clear: right;
    float: right;
}

.floatleft {
    margin: 0 0.5em 0.5em 0;
    float: left;
    clear: left;
}