MediaWiki:Common.css
Jump to navigation
Jump to search
Note: After publishing, you may have to bypass your browser's cache to see the changes.
- Firefox / Safari: Hold Shift while clicking Reload, or press either Ctrl-F5 or Ctrl-R (⌘-R on a Mac)
- Google Chrome: Press Ctrl-Shift-R (⌘-Shift-R on a Mac)
- Edge: Hold Ctrl while clicking Refresh, or press Ctrl-F5.
/* CSS placed here will be applied to all skins */
/* For linked citation numbers and document IDs, where the number need not be shown on a screen or a handheld, but should be included in the printed version */
@media screen {
.citation *.printonly {
display: none;
}
}
body.page-Main_Page h1.firstHeading {
display: none;
}
table.collapsed tr.collapsible {
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-2,
.toclimit-3 .toclevel-3,
.toclimit-4 .toclevel-4,
.toclimit-5 .toclevel-5,
.toclimit-6 .toclevel-6,
.toclimit-7 .toclevel-7 {
display: none;
}
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables JavaScript in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
float: right;
font-weight: normal;
text-align: right;
width: auto;
}
a.mw-selflink {
color: inherit;
font-weight: bold;
text-decoration: inherit;
}
/* Main page fixes */
.interwiki-completelist {
font-weight: bold;
}
/* make the list of references look smaller */
ol.references {
font-size: 100%;
}
.references-small {
font-size: 90%;
}
/* VALIDATOR NOTICE: the following is correct, but the W3C validator doesn't accept it */
/* -moz-* is a vendor-specific extension (CSS 2.1 4.1.2.1) */
/* column-count is from the CSS3 module "CSS Multi-column Layout" */
/* Please ignore any validator errors caused by these two lines */
.references-2column {
font-size: 90%;
-moz-column-count: 2;
column-count: 2;
}
.same-bg {
background: none
}
/* Highlight clicked reference in blue to help navigation */
ol.references li:target,
sup.reference:target {
background-color: #DEF;
}
/* === Wikitable === */
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaa solid;
border-collapse: collapse;
}
table.wikitable th,
table.wikitable td,
table.prettytable th,
table.prettytable td {
border: 1px #aaa solid;
padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
background: #f2f2f2;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
/* === Table alignment === */
.defaultleft { text-align:left; }
.defaultcenter { text-align:center; }
.defaultright { text-align:right; }
.col1left td:nth-child(1),
.col2left td:nth-child(2),
.col3left td:nth-child(3),
.col4left td:nth-child(4),
.col5left td:nth-child(5),
.col6left td:nth-child(6),
.col7left td:nth-child(7),
.col8left td:nth-child(8),
.col9left td:nth-child(9),
.col10left td:nth-child(10),
.col11left td:nth-child(11),
.col12left td:nth-child(12),
.col13left td:nth-child(13),
.col14left td:nth-child(14),
.col15left td:nth-child(15),
.col16left td:nth-child(16),
.col17left td:nth-child(17),
.col18left td:nth-child(18),
.col19left td:nth-child(19),
.col20left td:nth-child(20),
.col21left td:nth-child(21),
.col22left td:nth-child(22),
.col23left td:nth-child(23),
.col24left td:nth-child(24),
.col25left td:nth-child(25),
.col26left td:nth-child(26),
.col27left td:nth-child(27),
.col28left td:nth-child(28),
.col29left td:nth-child(29) { text-align:left; }
.col1center td:nth-child(1),
.col2center td:nth-child(2),
.col3center td:nth-child(3),
.col4center td:nth-child(4),
.col5center td:nth-child(5),
.col6center td:nth-child(6),
.col7center td:nth-child(7),
.col8center td:nth-child(8),
.col9center td:nth-child(9),
.col10center td:nth-child(10),
.col11center td:nth-child(11),
.col12center td:nth-child(12),
.col13center td:nth-child(13),
.col14center td:nth-child(14),
.col15center td:nth-child(15),
.col16center td:nth-child(16),
.col17center td:nth-child(17),
.col18center td:nth-child(18),
.col19center td:nth-child(19),
.col20center td:nth-child(20),
.col21center td:nth-child(21),
.col22center td:nth-child(22),
.col23center td:nth-child(23),
.col24center td:nth-child(24),
.col25center td:nth-child(25),
.col26center td:nth-child(26),
.col27center td:nth-child(27),
.col28center td:nth-child(28),
.col29center td:nth-child(29) { text-align:center; }
.col1right td:nth-child(1),
.col2right td:nth-child(2),
.col3right td:nth-child(3),
.col4right td:nth-child(4),
.col5right td:nth-child(5),
.col6right td:nth-child(6),
.col7right td:nth-child(7),
.col8right td:nth-child(8),
.col9right td:nth-child(9),
.col10right td:nth-child(10),
.col11right td:nth-child(11),
.col12right td:nth-child(12),
.col13right td:nth-child(13),
.col14right td:nth-child(14),
.col15right td:nth-child(15),
.col16right td:nth-child(16),
.col17right td:nth-child(17),
.col18right td:nth-child(18),
.col19right td:nth-child(19),
.col20right td:nth-child(20),
.col21right td:nth-child(21),
.col22right td:nth-child(22),
.col23right td:nth-child(23),
.col24right td:nth-child(24),
.col25right td:nth-child(25),
.col26right td:nth-child(26),
.col27right td:nth-child(27),
.col28right td:nth-child(28),
.col29right td:nth-child(29) { text-align:right; }
/* === Navbox === */
table.navbox {
/* Navbox container style */
border: 1px solid #aaa;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
table.navbox + table.navbox {
/* Single pixel border between adjacent navboxes (doesn't work for IE6, but that's okay) */
margin-top: -1px;
}
.navbox-title,
.navbox-abovebelow,
table.navbox th {
/* Title and above/below styles */
text-align: center;
padding-left: 1em;
padding-right: 1em;
}
.navbox-group {
/* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
font-weight: bold;
padding-left: 1em;
padding-right: 1em;
}
.navbox,
.navbox-subgroup {
/* Background color */
background: #fdfdfd;
}
.navbox-list {
/* Must match background color */
border-color: #fdfdfd;
}
.navbox-title,
table.navbox th {
/* Level 1 color */
background: #ccccff;
}
.navbox-abovebelow,
.navbox-group,
.navbox-subgroup .navbox-title {
/* Level 2 color */
background: #ddddff;
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
/* Level 3 color */
background: #e6e6ff;
}
.navbox-even {
/* Even row striping */
background: #f7f7f7;
}
.navbox-odd {
/* Odd row striping */
background: transparent;
}
.collapseButton {
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript in [[MediaWiki:Common.js]] are styled here so they can be customised. */
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
text-align: right;
width: auto;
}
.navbox .collapseButton {
/* In navboxes, the show/hide button balances the vde links from [[Template:Navbar]], so they need to be the same width. */
width: 6em;
}
.navbar {
/* Navbox template links */
/* Default font-size */
font-size: 88%;
font-weight: normal;
}
.navbox .navbar {
/* Font-size when nested within navbox */
font-size: 100%;
}
/* === Infobox === */
.infobox {
color: inherit;
line-height: 1.5em;
margin-bottom: .5em;
}
.infobox td,
.infobox th {
vertical-align: top;
text-align: left;
}
.infobox caption {
margin: 0;
padding: 0;
padding-bottom: 8px;
text-align: center;
font-size: 125%;
font-weight: bold;
color: inherit;
}
@media screen and (max-width: 600px) {
.infobox {
border: 1px solid #eaecf0;
background-color: #f8f9fa;
width: 100%;
}
.infobox td,
.infobox th {
border-bottom: 1px solid #eaecf0;
padding: 8px 6px;
}
.infobox img {
max-width: 100%;
height: auto;
}
}
@media screen and (min-width: 600px) {
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
float: right;
border-collapse: separate;
border-spacing: 3px;
padding: 3px;
margin-left: 1em;
min-width: 22em;
max-width: 40%;
font-size: 90%;
}
}
/* Style for "notices" */
.notice {
margin: 1em;
padding: 0.2em;
}
#disambig {
border-top: 1px solid #ccc;
border-bottom: 1px solid #ccc;
}
#spoiler {
border-top: 2px solid #ddd;
border-bottom: 2px solid #ddd;
}
/* Standard talk template style */
.Talk-Notice {
border: 1px solid #C0C090;
background-color: #F8EABA;
margin-bottom: 3px;
width: 85%;
border-spacing: 3px;
margin-left: auto;
margin-right: auto;
}
.Talk-Notice:after {
content: "The CSS for this template should be changed. See [[wikipedia:Template%20Standardisation|RTENOTITLE]].";
}
/* Make template background appear correctly on all browsers */
.Talk-Notice td {
background: inherit;
}
/* Persondata */
table.persondata {
border: 1px solid #aaa;
display: none;
speak: none;
}
.persondata-label {
color: #aaa;
}
/* Makes redirects appear in italics on [[Special:Allpages]] */
.allpagesredirect {
font-style: italic;
}
div.PrimTopAd {
max-width: 250px;
}
/* === Columns === */
/* Content in columns with CSS instead of tables [[Template:Columns]] */
div.columns-2 div.column {
float: left;
width: 50%;
min-width: 300px;
}
div.columns-3 div.column {
float: left;
width: 33.3%;
min-width: 200px;
}
div.columns-4 div.column {
float: left;
width: 25%;
min-width: 150px;
}
div.columns-5 div.column {
float: left;
width: 20%;
min-width: 120px;
}
/* Add formatting to make sure that "external references" from [[Template:Ref]] do not */
/* get URL expansion, not even when printed. The mechanism up to MediaWiki 1.4 was that */
/* the HTML code contained a SPAN following the anchor A; this SPAN had the class */
/* "urlexpansion", which was not displayed on screen, but was shown when the medium was */
/* "print". The rules below ensure (a) that there is no extra padding to the right of */
/* the anchor (displayed as "[<number>]"), (b) that there is no "external link */
/* arrow" for the link, and (c) that this SPAN of class "urlexpansion" is never shown. */
/* [[User:Ran|Ran]] 19:32, 26 April 2007 (CDT) */
.plainlinksneverexpand {
background: none !important;
padding: 0 !important;
}
.plainlinksneverexpand .urlexpansion {
display: none !important;
}
/* Make sure that ext links displayed within "plainlinksneverexpand" don't get the arrow... */
.plainlinksneverexpand a {
background: none !important;
padding: 0 !important;
}
/* With MediaWiki 1.5, the mechanism has changed: instead of a SPAN of class "urlexpansion" */
/* following the anchor A, the anchor itself now has class "external autonumber" and the */
/* expansion is inserted when printing (see the common printing style sheet at */
/* http://en.wikipedia.org/skins-1.5/common/commonPrint.css) using the ":after" pseudo- */
/* element of CSS. We have to switch this off for links due to Template:Ref! */
/* [[User:Ran|Ran]] 19:32, 26 April 2007 (CDT) */
.plainlinksneverexpand a.external.text:after {
display: none !important;
}
.plainlinksneverexpand a.external.autonumber:after {
display: none !important;
}
/* === Messagebox === */
.messagebox {
border: 1px solid #aaa;
background-color: #f9f9f9;
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;
}
.messagebox.nested-talk {
border: 1px solid #c0c090;
background-color: #f8eaba;
width: 100%;
margin: 2px 4px 2px 4px;
}
/* Put a checker background at the image description page, */
/* only visible if the image has transparent background */
#file img {
background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;
}
/* Removes underlines from links */
.nounderlines a {
text-decoration: none;
}
/* Remove underline from IPA links */
.IPA a:link,
.IPA a:visited {
text-decoration: none;
}
/* Removes useless links from printout */
@media print {
#privacy,
#about,
#disclaimer {
display: none;
}
}
.messagebox.small-talk {
width: 238px;
font-size: 85%;
float: right;
clear: both;
margin: 0 0 1em 1em;
line-height: 1.25em;
background: #F8EABA;
}
/* Coloured watchlist numbers */
.mw-plusminus-pos {
color: #006400; /* darkgreen */
}
/* === Horizontal list === */
.horizontal ul {
padding: 0;
margin: 0;
}
.horizontal li {
padding: 0 0.6em 0 0.4em;
display: inline;
border-right: 1px solid;
}
.horizontal li:last-child {
border-right: none;
padding-right: 0;
}
/* === Language fonts === */
/* Support for Template:IPA, Template:Unicode and Template:Polytonic. */
/* The inherit declaration resets the font for all browsers except MSIE6. */
/* The empty comment must remain. */
/* Please copy any changes to [[Template:IPA fonts]] and [[Template:Unicode fonts]]. */
.IPA {
font-family: "Chrysanthi Unicode", "Doulos SIL", Gentium, GentiumAlt, Code2000, "TITUS Cyberbit Basic", "DejaVu Sans", "Bitstream Cyberbit", "Arial Unicode MS", "Lucida Sans Unicode", "Hiragino Kaku Gothic Pro", "Matrix Unicode";
font-family /**/: inherit;
}
.Unicode {
font-family: Code2000, Code2001, "Free Serif", "TITUS Cyberbit Basic", "Doulos SIL", "Chrysanthi Unicode", "Bitstream Cyberbit", "Bitstream CyberBase", Thryomanes, Gentium, GentiumAlt, "Lucida Grande", "Free Sans", "Arial Unicode MS", "Microsoft Sans Serif", "Lucida Sans Unicode";
font-family /**/: inherit;
}
.latinx {
font-family: Code2000, Code2001, "TITUS Cyberbit Basic", "Microsoft Sans Serif";
font-family /**/: inherit;
}
.polytonic {
font-family: Athena, Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000;
font-family /**/: inherit;
}
.mufi {
font-family: Alphabetum, Cardo, LeedsUni, Junicode, "TITUS Cyberbit Basic", ALPHA-Demo;
}
/* pseudo-classes in support of [[Template:Lang]]. */
:lang(he) {
font-family: "SBL Hebrew", "Ezra SIL SR", "Ezra SIL", Cardo, "Chrysanthi Unicode", "TITUS Cyberbit Basic", "Arial Unicode MS", Narkisim, "Times New Roman";
font-family /**/: inherit;
}
:lang(fa) {
font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
font-family /**/: inherit;
}
:lang(ps) {
font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
font-family /**/: inherit;
}
:lang(ur) {
font-family: "Nafees Nastaleeq", "Pak Nastaleeq", PDMS_Jauhar;
font-family /**/: inherit;
}
:lang(sux-Xsux) {
font-family: Akkadian;
font-family /**/: inherit;
}
:lang(ja) {
font-family: Code2000, "Arial Unicode MS", "Bitstream Cyberbit", "Bitstream CyberCJK", IPAGothic, IPAPGothic, IPAUIGothic, "Kochi Gothic", IPAMincho, IPAPMincho;
font-family /**/: inherit;
}
:lang(ko) {
font-family: "Adobe Myungjo Std M", AppleMyungjo, "Baekmuk Batang", "Baekmuk Gulim", Batang, Dotum, DotumChe, Gulim, GulimChe, HYGothic-Extra, HYMyeongJo-Extra, "New Gulim", UnBatang, UnDotum, UnYetgul, UWKMJF;
font-family /**/: inherit;
}
:lang(zh-Hans) {
font-family: "Adobe Song Std L", "AR PL ShanHeiSun Uni", "AR PL ShanHeiSun Uni MBE", "MS Hei", "MS Song", SimHei;
font-family /**/: inherit;
}
:lang(zh-Hant) {
font-family: "Adobe Ming Std L", "AR PL New Sung", "AR PL ZenKai Uni", "AR PL ZenKai Uni MBE", MingLiU, PMingLiU;
font-family /**/: inherit;
}
:lang(grc) {
font-family: Athena, Gentium, "Palatino Linotype", "Arial Unicode MS", "Lucida Sans Unicode", "Lucida Grande", Code2000;
font-family /**/: inherit;
}
#wpSave {
font-weight: bold;
height: 45px;
margin: 0;
padding-left: 10px;
padding-top: 3px;
text-align: left;
width: 170px;
}
/* === Horizontal list (hlist) === */
/* Style for horizontal lists (separator following item). */
/* @source mediawiki.org/wiki/Snippets/Horizontal_lists */
/* @revision 8 (2016-05-21) */
/* @author [[User:Edokter]] */
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
padding: 0;
}
/* Display list items inline */
.hlist dd,
.hlist dt,
.hlist li {
margin: 0;
display: inline;
}
/* Display nested lists inline */
.hlist.inline,
.hlist.inline dl,
.hlist.inline ol,
.hlist.inline ul,
.hlist dl dl,
.hlist dl ol,
.hlist dl ul,
.hlist ol dl,
.hlist ol ol,
.hlist ol ul,
.hlist ul dl,
.hlist ul ol,
.hlist ul ul {
display: inline;
}
/* Hide empty list items */
.hlist .mw-empty-li {
display: none;
}
/* Generate interpuncts */
.hlist dt:after {
content: ": ";
}
.hlist dd:after,
.hlist li:after {
content: " · ";
font-weight: bold;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
/* Add parentheses around nested lists */
.hlist dd dd:first-child:before,
.hlist dd dt:first-child:before,
.hlist dd li:first-child:before,
.hlist dt dd:first-child:before,
.hlist dt dt:first-child:before,
.hlist dt li:first-child:before,
.hlist li dd:first-child:before,
.hlist li dt:first-child:before,
.hlist li li:first-child:before {
content: " (";
font-weight: normal;
}
.hlist dd dd:last-child:after,
.hlist dd dt:last-child:after,
.hlist dd li:last-child:after,
.hlist dt dd:last-child:after,
.hlist dt dt:last-child:after,
.hlist dt li:last-child:after,
.hlist li dd:last-child:after,
.hlist li dt:last-child:after,
.hlist li li:last-child:after {
content: ")";
font-weight: normal;
}
/* Put ordinals in front of ordered list items */
.hlist ol {
counter-reset: listitem;
}
.hlist ol > li {
counter-increment: listitem;
}
.hlist ol > li:before {
content: " " counter(listitem) "\a0";
}
.hlist dd ol > li:first-child:before,
.hlist dt ol > li:first-child:before,
.hlist li ol > li:first-child:before {
content: " (" counter(listitem) "\a0";
}
/* When <div class="nonumtoc"> is used on the table of contents, the ToC will display without numbers */
.nonumtoc .tocnumber {
display: none;
}
.nonumtoc #toc ul,
.nonumtoc .toc ul {
line-height: 1.5em;
list-style: none none;
margin: .3em 0 0;
padding: 0;
}
.hlist.nonumtoc #toc ul ul,
.hlist.nonumtoc .toc ul ul {
margin: 0;
}
/* Removes ul margins in a horizontal TOC. */
.hlist.horizontal-toc #toc ul ul,
.hlist.horizontal-toc .toc ul ul {
margin: 0;
}
/* "Contents" displays inline in a horizontal TOC */
.horizontal-toc .toctitle {
float: left;
margin-right: 10px;
}
.horizontal-toc h2 {
font-size: 14px;
line-height: 20px;
font-weight: bold;
display: inline;
vertical-align: top;
}
.horizontal-toc h2::after {
content: ":";
}
.horizontal-toc .toctoggle {
display: none;
}
/* Add bullet between nested lists in a horizontal TOC. Overrides .hlist styling. */
.hlist.horizontal-toc.noparens dd dd:first-child:before,
.hlist.horizontal-toc.noparens dd dt:first-child:before,
.hlist.horizontal-toc.noparens dd li:first-child:before,
.hlist.horizontal-toc.noparens dt dd:first-child:before,
.hlist.horizontal-toc.noparens dt dt:first-child:before,
.hlist.horizontal-toc.noparens dt li:first-child:before,
.hlist.horizontal-toc.noparens li dd:first-child:before,
.hlist.horizontal-toc.noparens li dt:first-child:before,
.hlist.horizontal-toc.noparens li li:first-child:before {
content: " · " !important;
font-weight: bold !important;
}
.hlist.horizontal-toc.noparens dd dd:last-child:after,
.hlist.horizontal-toc.noparens dd dt:last-child:after,
.hlist.horizontal-toc.noparens dd li:last-child:after,
.hlist.horizontal-toc.noparens dt dd:last-child:after,
.hlist.horizontal-toc.noparens dt dt:last-child:after,
.hlist.horizontal-toc.noparens dt li:last-child:after,
.hlist.horizontal-toc.noparens li dd:last-child:after,
.hlist.horizontal-toc.noparens li dt:last-child:after,
.hlist.horizontal-toc.noparens li li:last-child:after {
content: "" !important;
}
/* TOCs that have the center class should be centered. */
.center .toc ul {
text-align: center !important;
}
/* === Quotes === */
/* Quote template */
blockquote.templatequote {
display: table;
margin: 1em 0;
padding: 0;
position: relative;
}
blockquote.templatequote:before,
blockquote.templatequote:after {
position: absolute;
top: 0;
height: 1em;
color: #DDDDDD;
font: normal bold 3.5em 'Times New Roman', Times, serif;
line-height: 0.75em;
}
blockquote.templatequote:before {
left: 0;
content: open-quote;
}
blockquote.templatequote:after {
right: 0;
content: close-quote;
}
blockquote.templatequote p {
margin: 0;
}
blockquote.templatequote p i {
font-style: normal;
}
div.templatequotetext {
margin: 0 3em 0 2.5em;
text-align: justify;
font-style: italic;
}
div.templatequotecite {
text-align: left;
margin: 0.5em 2.5em;
}
div.templatequotecite cite {
font-style: normal;
}
.Amazon {
height: 150px;
}
.navbar-brand {
font-family: 'Uncial Antiqua', cursive;
text-shadow: -.5px -.5px 0 #D89441, .5px -.5px 0 #D89441, -.5px .5px 0 #D89441, .5px .5px 0 #D89441;
font-size: 30px;
}
.navbar-default .navbar-brand {
color: #000;
}
.firstHeading {
font-family: 'Uncial Antiqua', cursive;
}
.rightunit {
text-align: center;
}
#toc {
display: block;
}
#catlinks {
display: block
}
.mw-body-content sub,
.mw-body-content sup,
span.reference {
font-size: 80%;
}
/* === Treeview list === */
.treeview ul {
padding: 0;
margin: 0;
}
.treeview li {
padding: 0;
margin: 0;
list-style-type: none;
list-style-image: none;
}
.treeview li li {
background: url("//upload.wikimedia.org/wikipedia/commons/f/f2/Treeview-grey-line.png") no-repeat 0 -2981px;
/* @noflip */
padding-left: 21px;
text-indent: 0.3em;
}
.treeview li li:last-child {
background-position: 0 -5971px
}
/* first line here deals with new situation after RemexHTML switch, */
/* where emptyline cause the first child to become the 2nd child. */
.treeview li.emptyline > ul > .mw-empty-elt:first-child + .emptyline,
.treeview li.emptyline > ul > li:first-child {
background-position: 0 9px
}
/* === Hatnotes and disambiguation notices === */
.hatnote {
font-style: italic;
}
.hatnote i {
font-style: normal;
}
div.hatnote {
padding-left: 1.6em;
margin-bottom: 0.5em;
}
div.hatnote + div.hatnote {
margin-top: -0.5em;
}
/* === Template documentations === */
.template-documentation, .fmbox {
clear: both;
width: 100%;
margin: 1em 0 0 0;
border: 1px solid #a2a9b1;
background-color: #ecfcf4;
padding: .5em;
}
.mbox-text {
padding: .5em;
}
/* === Plain lists === */
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ol {
line-height: inherit;
margin: 0;
}
.plainlist ul li,
.plainlist ol li {
margin-bottom: 0;
}
.infobox.plainlist li {
text-indent: -1em;
padding-left: 1em;
}
/* === Responsive images on mobile === */
.thumb img, .floatleft img, .floatright img, #file img {
max-width: 100%;
height: auto;
}
@media screen and (max-width: 600px) {
div.floatleft,
div.floatright,
table.floatleft,
table.floatright,
div.thumb {
margin-left: 0;
margin-right: 0;
padding: 0;
}
div.thumb {
float: none;
}
div.thumbinner {
width: 100% !important;
}
}
.appearances .mw-collapsible {
margin-right: 10px;
}
.appearances h3 {
padding-top: 0;
padding-bottom: 0.5em;
}
.appearances .mw-collapsible-content {
margin-top: -0.5em;
margin-bottom: 0.5em;
}
.appearances td > p {
display: none;
}