MediaWiki:Common.css: Difference between revisions
Jump to navigation
Jump to search
Dea7hsmiles (talk | contribs) No edit summary Tag: Manual revert |
Dea7hsmiles (talk | contribs) No edit summary |
||
(15 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
/* | /* | ||
<source lang="css"> | |||
*/ | |||
sup, sub { | |||
line-height: 1em; /* Reduce line-height for <sup> and <sub> */ | |||
} | |||
/******************* | |||
** Minor tweaks | |||
*******************/ | |||
/* redirects in categories, on [[Special:Allpages]], and [[Special:Prefixindex]] */ | |||
.redirect-in-category, .allpagesredirect { | |||
font-style:italic; | |||
color:gray; | |||
} | |||
/* hide unneeded content when printing */ | |||
@media print { | |||
#privacy, #about, #disclaimer { display:none; } | |||
} | |||
/* hide arrows on selected external links */ | |||
.plainlinksneverexpand a { | |||
background:none !important; | |||
padding:0 !important; | |||
} | |||
/*Indent Wii sub-links further in sidebar*/ | |||
#p-Compatibility_List li:nth-child(n+4){ | |||
margin-left:1em !important; | |||
} | |||
#p-Compatibility_List li:nth-child(n+4){ | |||
margin-left:1em !important; | |||
} | |||
#p-Compatibility_List li:nth-child(n+5){ | |||
margin-left:2em !important; | |||
} | |||
#p-Compatibility_List li:nth-child(n+15){ | |||
margin-left:1em !important; | |||
} | |||
/******************* | |||
** Hide selected content (should rarely be used, accessibility issues) | |||
*******************/ | |||
.hiddenStructure { display:none; } | |||
.if { display:none; } | |||
/******************* | |||
** Table formatting | |||
*******************/ | |||
table.wikitable, | |||
table.prettytable { | |||
margin:1em 1em 1em 0; | |||
border:1px solid #AAA; | |||
border-collapse:collapse; | |||
background:#F9F9F9; | |||
} | |||
table.wikitable th, table.wikitable td, | |||
table.prettytable th, table.prettytable td { | |||
padding:0.2em; | |||
border:1px solid #AAA; | |||
} | |||
table.wikitable th, | |||
table.prettytable th { | |||
background:#F2F2F2; | |||
text-align:center; | |||
} | |||
table.wikitable caption, | |||
table.prettytable caption { | |||
margin-left:inherit; | |||
margin-right:inherit; | |||
} | |||
/******************* | |||
** Infoboxes | |||
*******************/ | |||
.infobox { | .infobox { | ||
float:right; | |||
clear:right; | |||
margin-bottom:0.5em; | |||
margin-left:1em; | |||
padding:0.2em; | |||
border:1px solid #AAA; | |||
background:#F9F9F9; | |||
color:black; | |||
} | |||
.infobox td, | |||
.infobox th { | |||
vertical-align:top; | |||
} | |||
.infobox caption { | |||
margin-left:inherit; | |||
font-size:larger; | |||
} | |||
.infobox.bordered { | |||
border-collapse:collapse; | |||
} | |||
.infobox.bordered td, | |||
.infobox.bordered th { | |||
border:1px solid #AAA; | |||
} | |||
.infobox.bordered .borderless td, | |||
.infobox.bordered .borderless th { | |||
border:0; | |||
} | |||
/******************* | |||
** Sister project templates | |||
*******************/ | |||
.infobox.sisterproject { | |||
width:20em; | |||
font-size:90%; | |||
} | |||
.sister-project { | |||
clear:right; | |||
float:right; | |||
width:250px; | |||
margin:0 0 1em 3em; | |||
padding:4px; | |||
border:1px solid #AAA; | |||
background:#F9F9F9; | |||
font-size:0.8em; | |||
text-align:left; | |||
} | |||
/******************* | |||
** {{other languages}} | |||
*******************/ | |||
#otherlangs { | |||
margin:0.5em; | |||
padding:2px; | |||
border:1px solid #CCC; | |||
background:#FAFAFA; | |||
font-size:0.9em; | |||
} | |||
#otherlangs span { | |||
margin:0 2px; | |||
padding-left:2px; | |||
border-left:1px solid gray; | |||
} | |||
#otherlangs span.firstlang { | |||
border:none; | |||
} | |||
/******************* | |||
** Specific pages (keep to a minimum) | |||
*******************/ | |||
/* Spam blacklist */ | |||
body.page-Talk_Spam_blacklist #ca-addsection { display:none; } | |||
/* Spam blacklist/log */ | |||
.logtable pre { | |||
margin:0; | |||
padding:0; | |||
border:0; | |||
} | |||
/******************* | |||
** Bytecounter colours | |||
*******************/ | |||
strong.mw-plusminus-neg { color:#C00; } | |||
span.mw-plusminus-neg { color:#900; } | |||
span.mw-plusminus-pos { color:#060; } | |||
/******************* | |||
** Change external link icon to Adobe icon for PDF files | |||
*******************/ | |||
/* for browsers that support these CSS selectors, like Mozilla and Opera */ | |||
#bodyContent a[href$=".pdf"].external, | |||
#bodyContent a[href*=".pdf?"].external, | |||
#bodyContent a[href*=".pdf#"].external, | |||
#bodyContent a[href$=".PDF"].external, | |||
#bodyContent a[href*=".PDF?"].external, | |||
#bodyContent a[href*=".PDF#"].external { | |||
padding-right:16px; | |||
background:url('http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif') center right no-repeat; | |||
} | |||
/* in {{PDFlink}}, for browsers that don't support the above (IE) */ | |||
span.PDFlink a { | |||
padding-right:17px !important; | |||
background:url('http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif') center right no-repeat !important; | |||
} | |||
/******************* | |||
** Style for horizontal lists (separator following item) | |||
*******************/ | |||
.skin-monobook .hlist dl, | |||
.skin-modern .hlist dl, | |||
.skin-vector .hlist dl { | |||
line-height: 1.5em; | line-height: 1.5em; | ||
} | |||
.hlist dl, | |||
.hlist ol, | |||
.hlist ul { | |||
margin: 0; | |||
} | |||
.hlist dd, | |||
.hlist dt, | |||
.hlist li { | |||
display: inline; | |||
margin: 0; | |||
float: left; | |||
} | |||
/* Display nested lists inline */ | |||
.hlist dl dl, | |||
.hlist ol ol, | |||
.hlist ul ul { | |||
display: inline; | |||
} | |||
/* Generate interpuncts */ | |||
.hlist dt:after { | |||
content: ":"; | |||
} | |||
.hlist dd:after, | |||
.hlist li:after { | |||
content: " ·\00a0"; | |||
font-weight: bold; | |||
white-space: pre; | |||
} | |||
.hlist dd:last-child:after, | |||
.hlist dt:last-child:after, | |||
.hlist li:last-child:after { | |||
content: none; | |||
} | |||
/* for IE 8 */ | |||
.hlist dd.hlist-last-child:after, | |||
.hlist dt.hlist-last-child:after, | |||
.hlist li.hlist-last-child:after { | |||
content: none; | |||
} | |||
/* Add parens around nested lists */ | |||
.hlist dl dl dd:first-child:before, | |||
.hlist ol ol li:first-child:before, | |||
.hlist ul ul li:first-child:before { | |||
content: "("; | |||
} | |||
.hlist dl dl dd:last-child:after, | |||
.hlist ol ol li:last-child:after, | |||
.hlist ul ul li:last-child:after { | |||
content: ")"; | |||
font-weight: normal; | |||
} | |||
/* For IE8 */ | |||
.hlist dl dl dd.hlist-last-child:after, | |||
.hlist ol ol li.hlist-last-child:after, | |||
.hlist ul ul li.hlist-last-child:after { | |||
content: ")"; | |||
font-weight: normal; | |||
} | |||
/* Put numbers in ordered lists */ | |||
.hlist.hnum ol li { | |||
counter-increment: level1; | |||
} | |||
.hlist.hnum ol li:before { | |||
content: counter(level1) " "; | |||
} | |||
.hlist.hnum ol ol li { | |||
counter-increment: level2; | |||
} | |||
.hlist.hnum ol ol li:first-child:before { | |||
content: "(" counter(level2) " "; | |||
} | |||
.hlist.hnum ol ol li:before { | |||
content: counter(level2) " "; | |||
} | |||
/* Unbulleted lists */ | |||
.plainlist ul { | |||
line-height: inherit; | |||
list-style: none none; | |||
margin: 0; | |||
} | |||
.plainlist ul li { | |||
margin-bottom: 0; | |||
} | |||
/******************* | |||
** Collapsible navigation boxes (see [[en:Wikipedia:NavFrame]]) | |||
*******************/ | |||
div.Boxmerge, | |||
div.NavFrame { | |||
margin:0px; | |||
padding:4px; | |||
border:1px solid #AAA; | |||
border-collapse:collapse; | |||
text-align:center; | |||
font-size:95%; | |||
} | |||
div.Boxmerge div.NavFrame { | |||
border-style:none; | |||
border-style:hidden; | |||
} | |||
div.NavFrame + div.NavFrame { | |||
border-top-style:none; | |||
border-top-style:hidden; | |||
} | |||
div.NavPic { | |||
float:left; | |||
margin:0px; | |||
padding:2px; | |||
background:#FFF; | |||
} | |||
div.NavFrame div.NavHead { | |||
position:relative; | |||
height:1.6em; | |||
background:#CCF; | |||
font-weight:bold; | |||
} | |||
div.NavFrame p { | |||
font-size:100%; | |||
} | |||
div.NavFrame div.NavContent { | |||
font-size:100%; | |||
} | |||
div.NavFrame div.NavContent p { | |||
font-size:100%; | |||
} | |||
div.NavEnd { | |||
clear:both; | |||
margin:0px; | |||
padding:0px; | |||
line-height:1px; | |||
} | |||
a.NavToggle { | |||
position:absolute; | |||
top:0px; | |||
right:3px; | |||
font-size:smaller; | |||
font-weight:normal; | |||
} | } | ||
/* | /******************* | ||
. | ** Default style for navigation boxes | ||
*******************/ | |||
.navbox { /* Navbox container style */ | |||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
background-color: # | width: 100%; | ||
padding: | margin: auto; | ||
font-size: | clear: both; | ||
margin- | font-size: 88%; | ||
text-align: center; | |||
padding: 1px; | |||
} | |||
.navbox-inner, | |||
.navbox-subgroup { | |||
width: 100%; | |||
} | |||
.navbox th, | |||
.navbox-title, | |||
.navbox-abovebelow { | |||
text-align: center; /* Title and above/below styles */ | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
} | |||
th.navbox-group { /* Group style */ | |||
white-space: nowrap; | |||
/* @noflip */ | |||
text-align: right; | |||
} | |||
.navbox, | |||
.navbox-subgroup { | |||
background: #fdfdfd; /* Background color */ | |||
} | |||
.navbox-list { | |||
border-color: #fdfdfd; /* Must match background color */ | |||
} | |||
.navbox th, | |||
.navbox-title { | |||
background: #ccccff; /* Level 1 color */ | |||
} | |||
.navbox-abovebelow, | |||
th.navbox-group, | |||
.navbox-subgroup .navbox-title { | |||
background: #ddddff; /* Level 2 color */ | |||
} | |||
.navbox-subgroup .navbox-group, | |||
.navbox-subgroup .navbox-abovebelow { | |||
background: #e6e6ff; /* Level 3 color */ | |||
} | |||
.navbox-even { | |||
background: #f7f7f7; /* Even row striping */ | |||
} | |||
.navbox-odd { | |||
background: transparent; /* Odd row striping */ | |||
} | |||
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ | |||
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ | |||
} | |||
.navbox .hlist td dl, | |||
.navbox .hlist td ol, | |||
.navbox .hlist td ul, | |||
.navbox td.hlist dl, | |||
.navbox td.hlist ol, | |||
.navbox td.hlist ul { | |||
padding: 0.125em 0; /* Adjust hlist padding in navboxes */ | |||
} | |||
.navbox .hlist dd, | |||
.navbox .hlist dt, | |||
.navbox .hlist li { | |||
white-space: nowrap; /* Nowrap list items in navboxes */ | |||
white-space: normal !ie; /* IE < 8 no-wraps entire list, so disable it */ | |||
} | |||
.navbox .hlist dd dl, | |||
.navbox .hlist dt dl, | |||
.navbox .hlist li ol, | |||
.navbox .hlist li ul { | |||
white-space: normal; /* But allow parent list items to be wrapped */ | |||
} | |||
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 navbox */ | |||
.navbox .navbar { | |||
display: block; | |||
font-size: 100%; | |||
} | |||
.navbox-title .navbar { | |||
/* @noflip */ | |||
float: left; | |||
/* @noflip */ | |||
text-align: left; | |||
/* @noflip */ | |||
margin-right: 0.5em; | |||
width: 6em; | |||
} | |||
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript | |||
in [[MediaWiki:Common.js]] are styled here so they can be customised. */ | |||
.collapseButton { | |||
/* @noflip */ | |||
float: right; | |||
font-weight: normal; | |||
/* @noflip */ | |||
margin-left: 0.5em; | |||
/* @noflip */ | |||
text-align: right; | |||
width: auto; | |||
} | |||
/* In navboxes, the show/hide button balances the v·d·e links | |||
from [[Template:Navbar]], so they need to be the same width. */ | |||
.navbox .collapseButton { | |||
width: 6em; | |||
} | |||
/* Styling for JQuery makeCollapsible, matching that of collapseButton */ | |||
.mw-collapsible-toggle { | |||
font-weight: normal; | |||
/* @noflip */ | |||
text-align: right; | |||
} | |||
.navbox .mw-collapsible-toggle { | |||
width: 6em; | |||
} | |||
/******************* | |||
** Messagebox templates | |||
** Imported from [[en:MediaWiki:Common.css]] on 2007-07-13 | |||
*******************/ | |||
.messagebox { | |||
width:80%; | |||
margin:0 auto 1em auto; | |||
padding:0.2em; | |||
border:1px solid #AAA; | |||
background:#F9F9F9; | |||
} | |||
.messagebox.merge { | |||
border:1px solid #C0B8CC; | |||
background:#F0E5FF; | |||
text-align:center; | |||
} | |||
.messagebox.cleanup { | |||
border:1px solid #9F9FFF; | |||
background:#EFEFFF; | |||
text-align:center; | |||
} | |||
.messagebox .standard-talk { | |||
border:1px solid #C0C090; | |||
background:#F8EABA; | |||
} | |||
.messagebox.nested-talk { | |||
width:100%; | |||
margin:2px 4px 2px 4px; | |||
border:1px solid #C0C090; | |||
background:#F8EABA; | |||
} | |||
.messagebox.small { | |||
float:right; | |||
clear:both; | |||
width:238px; | |||
margin:0 0 1em 1em; | |||
font-size:85%; | |||
line-height:1.25em; | |||
} | |||
/******************* | |||
** Template documentation | |||
*******************/ | |||
.template-documentation { | |||
clear:both; | |||
margin:1em 0 0 0; | |||
padding:5px; | |||
border:1px solid #AAA; | |||
background:#ECFCF4; | |||
} | |||
.hidden-redlink a.new { display:none; } | |||
/******************* | |||
** Allow limiting which header levels are shown in a TOC | |||
** ie, <div class="toclimit-3">__TOC__</div> will only show top 3 header levels. | |||
*******************/ | |||
.toclimit-2 .toclevel-2 { display:none; } | |||
.toclimit-3 .toclevel-3 { display:none; } | |||
.toclimit-4 .toclevel-4 { display:none; } | |||
.toclimit-5 .toclevel-5 { display:none; } | |||
.toclimit-6 .toclevel-6 { display:none; } | |||
.toclimit-7 .toclevel-7 { display:none; } | |||
/******************* | |||
** Faciliate RTL translation | |||
*******************/ | |||
.persian, .rtl { | |||
direction:rtl; | |||
font-family:Tahoma; | |||
} | |||
#bodyContent .persian a, #bodyContent .persian a.external, #bodyContent .rtl a, #bodyContent .rtl a.external { | |||
padding-right:0; | |||
background:none; | |||
} | |||
.persian #toctitle, .rtl #toctitle { | |||
direction:ltr; | |||
} | |||
.persian .toclevel-1, .persian .toclevel-2, .persian .toclevel-3, .persian .toclevel-4 { | |||
text-align:right; | |||
} | |||
.rtl .toclevel-1, .rtl .toclevel-2, .rtl .toclevel-3, .rtl .toclevel-4 { | |||
text-align:right; | |||
} | |||
.persian .toclevel-2, .rtl .toclevel-2 { | |||
margin-right:10px; | |||
} | |||
.persian .toclevel-3, .rtl .toclevel-3 { | |||
margin-right:20px; | |||
} | |||
.persian .toclevel-4, .rtl .toclevel-4 { | |||
margin-right:30px; | |||
} | |||
.persian .editsection, .rtl .editsection { | |||
float:left; | |||
} | |||
.persian UL, .rtl UL { | |||
margin-right:16px; | |||
display:table; | |||
} | |||
.persian OL, .rtl OL { | |||
margin-right:16px; | |||
display:table; | |||
} | |||
#bodyContent .arabic a, #bodyContent .rtl a { | |||
padding-right:0; | |||
background:none; | |||
} | |||
/******************* | |||
** Default style for PrettyTextBox and InformationBox class of templates | |||
** ie, {{warning}}, {{info}}, etc | |||
*******************/ | |||
.InformationBox { | |||
width:80%; | |||
clear:both; | |||
margin:0.5em auto; | |||
padding:3px; | |||
border:1px solid #999; | |||
background:#F8F8F8; | |||
color:#000; | |||
} | |||
.PrettyTextBox { | |||
padding:.2em; | |||
border:1px solid #AAA; | |||
background:#F9F9F9; | |||
color:#000; | |||
} | |||
/******************* | |||
** Highlight clicked reference in blue to help navigation | |||
*******************/ | |||
ol.references > li:target { | |||
background:#DEF; | |||
} | |||
sup.reference:target { | |||
background:#DEF; | |||
} | } | ||
/* | /******************* | ||
** 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: 0px; | |||
width: 1px; | |||
} | |||
/* Article message box styles */ | |||
table.ambox { | |||
margin: 0px 10%; /* 10% = Will not overlap with other elements */ | |||
border: 1px solid #aaa; | |||
/* @noflip */ | |||
border-left: 10px solid #1e90ff; /* 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 */ | |||
/* @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 #1e90ff; /* Blue */ | |||
} | |||
table.ambox-speedy { | |||
/* @noflip */ | |||
border-left: 10px solid #b22222; /* Red */ | |||
background: #fee; /* Pink */ | |||
} | |||
table.ambox-delete { | |||
/* @noflip */ | |||
border-left: 10px solid #b22222; /* Red */ | |||
} | |||
table.ambox-content { | |||
/* @noflip */ | |||
border-left: 10px solid #f28500; /* Orange */ | |||
} | |||
table.ambox-style { | |||
/* @noflip */ | |||
border-left: 10px solid #f4c430; /* Yellow */ | |||
} | |||
table.ambox-move { | |||
/* @noflip */ | |||
border-left: 10px solid #9932cc; /* Purple */ | |||
} | |||
table.ambox-protection { | |||
/* @noflip */ | |||
border-left: 10px solid #bba; /* Gray-gold */ | |||
} | |||
/* Image message box styles */ | |||
table.imbox { | |||
margin: 4px 10%; | |||
border-collapse: collapse; | |||
border: 3px solid #1e90ff; /* 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. */ | |||
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 #1e90ff; /* Blue */ | |||
} | |||
table.imbox-speedy { | |||
border: 3px solid #b22222; /* Red */ | |||
background: #fee; /* Pink */ | |||
} | |||
table.imbox-delete { | |||
border: 3px solid #b22222; /* Red */ | |||
} | |||
table.imbox-content { | |||
border: 3px solid #f28500; /* Orange */ | |||
} | |||
table.imbox-style { | |||
border: 3px solid #f4c430; /* Yellow */ | |||
} | |||
table.imbox-move { | |||
border: 3px solid #9932cc; /* Purple */ | |||
} | |||
table.imbox-protection { | |||
border: 3px solid #bba; /* 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 #aaa; | |||
background: #DFE8FF; /* Default "notice" blue */ | |||
} | |||
table.cmbox-notice { | |||
background: #D8E8FF; /* Blue */ | |||
} | |||
table.cmbox-speedy { | |||
margin-top: 4px; | |||
margin-bottom: 4px; | |||
border: 4px solid #b22222; /* 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 #aaa; /* Default "notice" gray */ | |||
background: #f9f9f9; | |||
} | |||
table.ombox-notice { | |||
border: 1px solid #aaa; /* Gray */ | |||
} | |||
table.ombox-speedy { | |||
border: 2px solid #b22222; /* Red */ | |||
background: #fee; /* Pink */ | |||
} | |||
table.ombox-delete { | |||
border: 2px solid #b22222; /* Red */ | |||
} | |||
table.ombox-content { | |||
border: 1px solid #f28500; /* Orange */ | |||
} | |||
table.ombox-style { | |||
border: 1px solid #f4c430; /* Yellow */ | |||
} | |||
table.ombox-move { | |||
border: 1px solid #9932cc; /* Purple */ | |||
} | |||
table.ombox-protection { | |||
border: 2px solid #bba; /* 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" 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 #b22222; /* Red */ | |||
background: #fee; /* Pink */ | |||
} | |||
table.tmbox-delete { | |||
border: 2px solid #b22222; /* Red */ | |||
} | |||
table.tmbox-content { | |||
border: 2px solid #f28500; /* Orange */ | |||
} | |||
table.tmbox-style { | |||
border: 2px solid #f4c430; /* 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; | border-bottom: 1px solid #ccc; | ||
padding-bottom: | background: transparent; | ||
margin-bottom: | } | ||
/* Footer and header message box styles */ | |||
table.fmbox { | |||
clear: both; | |||
margin: 0.2em 0; | |||
width: 100%; | |||
border: 1px solid #aaa; | |||
background: #f9f9f9; /* Default "system" gray */ | |||
} | |||
table.fmbox-system { | |||
background: #f9f9f9; | |||
} | |||
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, | |||
div#mw-protect-cascadeon { | |||
clear: both; | |||
margin: 0.2em 0; | |||
border: 1px solid #bb7070; | |||
background: #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 #aaa; | |||
background: #f9f9f9; | |||
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. */ | |||
/* @noflip */ | |||
clear: right; | |||
/* @noflip */ | |||
float: right; | |||
/* @noflip */ | |||
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. */ | |||
/* @noflip */ | |||
margin: 4px 1em 4px 0; | |||
width: 238px; | |||
border-collapse: collapse; | |||
font-size: 88%; | |||
line-height: 1.25em; | |||
} | |||
/******************* | |||
** Drop-Down List styles | |||
*******************/ | |||
/*Main Line Not Just Link Margin - From left Side*/ | |||
ul#nav { | |||
list-style-type:none; | |||
border:none; | |||
width:auto; | |||
} | |||
/*Drop Menu Line Colors that "flash" to load Menu*/ | |||
ul#nav li ul { | |||
background:#fff; | |||
width:auto; | |||
} | |||
ul#nav li { | |||
position:relative; | |||
width:auto; | |||
list-style-type:none; | |||
background:333; | |||
color:#333; | |||
line-height:150%; | |||
} | |||
/*Main Link Font Color and "loading border" set to fff for invisibility*/ | |||
ul#nav a { | |||
color:#333; | |||
text-decoration:none; | |||
display:block; | |||
} | |||
/*Mouse over option text color*/ | |||
ul#nav a:hover { | |||
border:1px inset #333; | |||
background:#333; | |||
color:#333; | |||
} | |||
/*Color of Text option drop down without mouse on them.*/ | |||
ul#nav li li a { | |||
padding-left:1em; | |||
color:#006AFF; | |||
text-decoration:none; | |||
display:block; | |||
} | |||
ul#nav li li a:hover { | |||
background:#f3f3f3; | |||
} | |||
/* DDM relative dropdown example */ | |||
.hiddenChild { | |||
position: absolute; | |||
left: -999em; | |||
} | |||
.shownChild { | |||
left:-19.5px; | |||
} | |||
/*Parent initial border information white fff set to hide "optional options area"*/ | |||
ul#nav.dhtml { | |||
list-style-image: none; | |||
display: block; | |||
position:relative; | |||
width:auto; | |||
list-style-type:none; | |||
left:-18px; | |||
top:-4px; | |||
} | |||
/*WIDTH IS TOP OPTION WIDTH. (OPTION WIDTH - 1)*/ | |||
ul#nav.dhtml li { | |||
position:relative; | |||
float:left; | |||
width:9em; | |||
border-right:1px solid #333; | |||
border-top:1px solid #333; | |||
border-left:1px solid #333; | |||
border-bottom:1px solid #333; | |||
} | |||
/*Initial background color of options with mouse hovered over main link*/ | |||
ul#nav.dhtml ul { | |||
list-style-image: none; | |||
display: block; | |||
top:14.5px; | |||
position:absolute; | |||
border:1px solid #333; | |||
width:auto; | |||
z-index:999; | |||
} | |||
ul#nav.dhtml li a,ul#nav.dhtml li a:hover { | |||
border:none; | |||
background:#333; | |||
} | |||
ul#nav.dhtml li a { | |||
padding:0.5em; | |||
background:#333; | |||
} | |||
/*Options background color when main category is highlighted with mouse and options not selected WIDTH IS OPTIONS WIDTH*/ | |||
ul#nav.dhtml ul li { | |||
border:none; | |||
width:9em; | |||
background:#fff; | |||
} | |||
/*No Mouse On Main Link Background*/ | |||
ul#nav.dhtml li.isParent { | |||
background:#f3f3f3; | |||
} | |||
/*Yes Mouse On Main Link Background*/ | |||
ul#nav.dhtml li.isActive { | |||
background:#fff; | |||
} | |||
ul#nav.dhtml li.isActive a { | |||
background:f3f3f3; | |||
} | |||
ul#nav.dhtml li.isActive ul a { | |||
padding:0.5em; | |||
} | |||
ul#nav.dhtml a:hover { | |||
background:#333; | |||
} | |||
ul#nav.dhtml li.isParent a:hover { | |||
background:#333; | |||
} | |||
ul#nav.dhtml li.isActive ul a:hover { | |||
background:#333; | |||
} | |||
/*Prevent wrapping under right floated elements*/ | |||
pre{ | |||
overflow:auto; | |||
} | |||
/*Avoid overlong Action Replay codes, while preserving some full length pre's*/ | |||
h3 ~ pre{ | |||
max-height:100px; | |||
} | |||
/*Reduce size of category links, since some pages have three or more rows of them otherwise.*/ | |||
.catlinks{ | |||
font-size:80%; | |||
} | |||
/*Show the last three test results rather than fully collapsed table*/ | |||
.testresults thead tr, .testresults tbody tr:nth-last-of-type(-n+3){ | |||
display:table-row !important; | |||
} | |||
/* Styles used in Template:Revision and Template:Issue */ | |||
.revlink,.issuelink { | |||
font-weight:bold; | |||
font-family:monospace; | |||
} | |||
.revlink{ | |||
color:purple; | |||
} | |||
.issuelink { | |||
color:darkGreen; | |||
} | |||
/* Styles used in Template:VersionCompatibilityVersion and Template:VersionCompatibility */ | |||
.versioncompatibility{ | |||
overflow:auto; | |||
} | |||
.versioncompatibility .heading{ | |||
background:#FFF; | |||
position: relative; | |||
font-size:10px; | |||
font-weight:bold; | |||
} | |||
.versioncompatibility .heading div:first-child{ | |||
float:left; | |||
} | |||
.versioncompatibility .heading div:last-child{ | |||
float:right; | |||
} | |||
.versioncompatibility .ratings{ | |||
line-height:12px; | |||
border:1px solid #000; | |||
height:13px; | |||
background:#000; | |||
overflow:hidden; | |||
position:relative; | |||
clear:left; | |||
} | |||
.versioncompatibilityversion{ | |||
position:absolute; | |||
text-align:right; | |||
height:13px; | |||
border-right:1px solid #000; | |||
margin-right:-1px; | |||
overflow:hidden; | |||
} | |||
.versioncompatibilityversion a{ | |||
padding-right:0 !important; | |||
background:transparent !important; | |||
} | |||
.versioncompatibilityversion a .revlink{ | |||
color: black; | |||
font-family:sans-serif; | |||
} | |||
.versioncompatibilityversion span:first-child{ | |||
font-size:9px; | |||
font-weight:bold; | |||
padding-right:1px; | |||
} | |||
/* Remove padding between logo and sidebar content */ | |||
#mw-panel { | |||
padding-top: 0 !important; | |||
} | |||
.tl_image { | |||
float: left; | |||
} | |||
.tl_image_caption { | |||
text-overflow: ellipsis; | |||
display: inline-block; | |||
white-space: nowrap; | |||
overflow: hidden; | |||
vertical-align: top; | |||
} | |||
.magnify a.internal { | |||
margin: 4px 0px; | |||
} | |||
/* | |||
</source> | |||
*/ | |||
/* Neutral styling for troubleshooting boxes */ | |||
.troubleshooting-section { | |||
background-color: #f8f8f8; | |||
border: 1px solid #ccc; | |||
padding: 1.5em; | |||
margin: 1.5em 0; | |||
border-radius: 8px; | |||
font-family: 'Segoe UI', sans-serif; | |||
} | |||
.troubleshooting-section h3 { | |||
color: #333; | |||
border-bottom: 1px solid #ddd; | |||
padding-bottom: 0.3em; | |||
margin-bottom: 0.8em; | |||
} | } | ||
.troubleshooting-section p, | |||
.troubleshooting-section li { | |||
color: #444; | |||
line-height: 1.6; | line-height: 1.6; | ||
} | } | ||
/* | .troubleshooting-section code { | ||
. | background-color: #eaeaea; | ||
padding: 2px 4px; | |||
border-radius: 4px; | |||
font-size: 0.95em; | |||
color: #222; | |||
} | |||
.scroll-wrapper { | |||
width: 100%; | |||
overflow: hidden; | |||
box-sizing: border-box; | |||
background-color: transparent; /* Remove any background color */ | |||
} | |||
.scroll-text { | |||
display: inline-block; | |||
padding-left: 100%; | |||
animation: scroll-left 15s linear infinite; | |||
white-space: nowrap; | |||
color: #FF6600; | |||
font-size: 120%; | |||
} | } | ||
@keyframes scroll-left { | |||
0% { | |||
transform: translateX(0%); | |||
} | |||
100% { | |||
transform: translateX(-100%); | |||
} | |||
} | } | ||
.fix-card{border:1px solid #e5e7eb;border-radius:12px;padding:14px 16px;margin:14px 0;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04)} | |||
.fix-card__header{display:flex;gap:.5rem;align-items:center;margin-bottom:.25rem} | |||
.fix-card__type{background:#eef6ff;border:1px solid #dbeafe;padding:2px 10px;border-radius:999px;font-size:.85em;white-space:nowrap} | |||
.fix-card__title{font-weight:700;font-size:1.1em;word-break:break-word} | |||
.fix-card__meta{color:#6b7280;font-size:.92em;margin:.4rem 0 .5rem} | |||
.fix-card__meta b{color:#374151} | |||
.fix-card__summary{margin:.4rem 0} | |||
.fix-card__steps{margin-top:.6rem;border-top:1px solid #eee;padding-top:.5rem} | |||
.fix-card__steps-body ol,.fix-card__steps-body ul{margin:.3rem 0 .1rem .9rem} | |||
.fix-card__notes{margin-top:.5rem} | |||
.fix-card__code{margin-top:.6rem} | |||
.fix-card__tags{margin-top:.5rem;font-size:.92em;color:#374151} | |||
.fix-code{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:10px;overflow:auto;font-family:ui-monospace,Consolas,monospace;font-size:.92em} | |||
.fix-card a{word-break:break-word} |
Latest revision as of 16:33, 15 August 2025
/*
<source lang="css">
*/
sup, sub {
line-height: 1em; /* Reduce line-height for <sup> and <sub> */
}
/*******************
** Minor tweaks
*******************/
/* redirects in categories, on [[Special:Allpages]], and [[Special:Prefixindex]] */
.redirect-in-category, .allpagesredirect {
font-style:italic;
color:gray;
}
/* hide unneeded content when printing */
@media print {
#privacy, #about, #disclaimer { display:none; }
}
/* hide arrows on selected external links */
.plainlinksneverexpand a {
background:none !important;
padding:0 !important;
}
/*Indent Wii sub-links further in sidebar*/
#p-Compatibility_List li:nth-child(n+4){
margin-left:1em !important;
}
#p-Compatibility_List li:nth-child(n+4){
margin-left:1em !important;
}
#p-Compatibility_List li:nth-child(n+5){
margin-left:2em !important;
}
#p-Compatibility_List li:nth-child(n+15){
margin-left:1em !important;
}
/*******************
** Hide selected content (should rarely be used, accessibility issues)
*******************/
.hiddenStructure { display:none; }
.if { display:none; }
/*******************
** Table formatting
*******************/
table.wikitable,
table.prettytable {
margin:1em 1em 1em 0;
border:1px solid #AAA;
border-collapse:collapse;
background:#F9F9F9;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
padding:0.2em;
border:1px solid #AAA;
}
table.wikitable th,
table.prettytable th {
background:#F2F2F2;
text-align:center;
}
table.wikitable caption,
table.prettytable caption {
margin-left:inherit;
margin-right:inherit;
}
/*******************
** Infoboxes
*******************/
.infobox {
float:right;
clear:right;
margin-bottom:0.5em;
margin-left:1em;
padding:0.2em;
border:1px solid #AAA;
background:#F9F9F9;
color:black;
}
.infobox td,
.infobox th {
vertical-align:top;
}
.infobox caption {
margin-left:inherit;
font-size:larger;
}
.infobox.bordered {
border-collapse:collapse;
}
.infobox.bordered td,
.infobox.bordered th {
border:1px solid #AAA;
}
.infobox.bordered .borderless td,
.infobox.bordered .borderless th {
border:0;
}
/*******************
** Sister project templates
*******************/
.infobox.sisterproject {
width:20em;
font-size:90%;
}
.sister-project {
clear:right;
float:right;
width:250px;
margin:0 0 1em 3em;
padding:4px;
border:1px solid #AAA;
background:#F9F9F9;
font-size:0.8em;
text-align:left;
}
/*******************
** {{other languages}}
*******************/
#otherlangs {
margin:0.5em;
padding:2px;
border:1px solid #CCC;
background:#FAFAFA;
font-size:0.9em;
}
#otherlangs span {
margin:0 2px;
padding-left:2px;
border-left:1px solid gray;
}
#otherlangs span.firstlang {
border:none;
}
/*******************
** Specific pages (keep to a minimum)
*******************/
/* Spam blacklist */
body.page-Talk_Spam_blacklist #ca-addsection { display:none; }
/* Spam blacklist/log */
.logtable pre {
margin:0;
padding:0;
border:0;
}
/*******************
** Bytecounter colours
*******************/
strong.mw-plusminus-neg { color:#C00; }
span.mw-plusminus-neg { color:#900; }
span.mw-plusminus-pos { color:#060; }
/*******************
** Change external link icon to Adobe icon for PDF files
*******************/
/* for browsers that support these CSS selectors, like Mozilla and Opera */
#bodyContent a[href$=".pdf"].external,
#bodyContent a[href*=".pdf?"].external,
#bodyContent a[href*=".pdf#"].external,
#bodyContent a[href$=".PDF"].external,
#bodyContent a[href*=".PDF?"].external,
#bodyContent a[href*=".PDF#"].external {
padding-right:16px;
background:url('http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif') center right no-repeat;
}
/* in {{PDFlink}}, for browsers that don't support the above (IE) */
span.PDFlink a {
padding-right:17px !important;
background:url('http://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif') center right no-repeat !important;
}
/*******************
** Style for horizontal lists (separator following item)
*******************/
.skin-monobook .hlist dl,
.skin-modern .hlist dl,
.skin-vector .hlist dl {
line-height: 1.5em;
}
.hlist dl,
.hlist ol,
.hlist ul {
margin: 0;
}
.hlist dd,
.hlist dt,
.hlist li {
display: inline;
margin: 0;
float: left;
}
/* Display nested lists inline */
.hlist dl dl,
.hlist ol ol,
.hlist ul ul {
display: inline;
}
/* Generate interpuncts */
.hlist dt:after {
content: ":";
}
.hlist dd:after,
.hlist li:after {
content: " ·\00a0";
font-weight: bold;
white-space: pre;
}
.hlist dd:last-child:after,
.hlist dt:last-child:after,
.hlist li:last-child:after {
content: none;
}
/* for IE 8 */
.hlist dd.hlist-last-child:after,
.hlist dt.hlist-last-child:after,
.hlist li.hlist-last-child:after {
content: none;
}
/* Add parens around nested lists */
.hlist dl dl dd:first-child:before,
.hlist ol ol li:first-child:before,
.hlist ul ul li:first-child:before {
content: "(";
}
.hlist dl dl dd:last-child:after,
.hlist ol ol li:last-child:after,
.hlist ul ul li:last-child:after {
content: ")";
font-weight: normal;
}
/* For IE8 */
.hlist dl dl dd.hlist-last-child:after,
.hlist ol ol li.hlist-last-child:after,
.hlist ul ul li.hlist-last-child:after {
content: ")";
font-weight: normal;
}
/* Put numbers in ordered lists */
.hlist.hnum ol li {
counter-increment: level1;
}
.hlist.hnum ol li:before {
content: counter(level1) " ";
}
.hlist.hnum ol ol li {
counter-increment: level2;
}
.hlist.hnum ol ol li:first-child:before {
content: "(" counter(level2) " ";
}
.hlist.hnum ol ol li:before {
content: counter(level2) " ";
}
/* Unbulleted lists */
.plainlist ul {
line-height: inherit;
list-style: none none;
margin: 0;
}
.plainlist ul li {
margin-bottom: 0;
}
/*******************
** Collapsible navigation boxes (see [[en:Wikipedia:NavFrame]])
*******************/
div.Boxmerge,
div.NavFrame {
margin:0px;
padding:4px;
border:1px solid #AAA;
border-collapse:collapse;
text-align:center;
font-size:95%;
}
div.Boxmerge div.NavFrame {
border-style:none;
border-style:hidden;
}
div.NavFrame + div.NavFrame {
border-top-style:none;
border-top-style:hidden;
}
div.NavPic {
float:left;
margin:0px;
padding:2px;
background:#FFF;
}
div.NavFrame div.NavHead {
position:relative;
height:1.6em;
background:#CCF;
font-weight:bold;
}
div.NavFrame p {
font-size:100%;
}
div.NavFrame div.NavContent {
font-size:100%;
}
div.NavFrame div.NavContent p {
font-size:100%;
}
div.NavEnd {
clear:both;
margin:0px;
padding:0px;
line-height:1px;
}
a.NavToggle {
position:absolute;
top:0px;
right:3px;
font-size:smaller;
font-weight:normal;
}
/*******************
** Default style for navigation boxes
*******************/
.navbox { /* Navbox container style */
border: 1px solid #aaa;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox th,
.navbox-title,
.navbox-abovebelow {
text-align: center; /* Title and above/below styles */
padding-left: 1em;
padding-right: 1em;
}
th.navbox-group { /* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background: #fdfdfd; /* Background color */
}
.navbox-list {
border-color: #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
background: #ccccff; /* Level 1 color */
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
background: #ddddff; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
background: #e6e6ff; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0; /* Adjust hlist padding in navboxes */
}
.navbox .hlist dd,
.navbox .hlist dt,
.navbox .hlist li {
white-space: nowrap; /* Nowrap list items in navboxes */
white-space: normal !ie; /* IE < 8 no-wraps entire list, so disable it */
}
.navbox .hlist dd dl,
.navbox .hlist dt dl,
.navbox .hlist li ol,
.navbox .hlist li ul {
white-space: normal; /* But allow parent list items to be wrapped */
}
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 navbox */
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
width: 6em;
}
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
/* In navboxes, the show/hide button balances the v·d·e links
from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
width: 6em;
}
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
text-align: right;
}
.navbox .mw-collapsible-toggle {
width: 6em;
}
/*******************
** Messagebox templates
** Imported from [[en:MediaWiki:Common.css]] on 2007-07-13
*******************/
.messagebox {
width:80%;
margin:0 auto 1em auto;
padding:0.2em;
border:1px solid #AAA;
background:#F9F9F9;
}
.messagebox.merge {
border:1px solid #C0B8CC;
background:#F0E5FF;
text-align:center;
}
.messagebox.cleanup {
border:1px solid #9F9FFF;
background:#EFEFFF;
text-align:center;
}
.messagebox .standard-talk {
border:1px solid #C0C090;
background:#F8EABA;
}
.messagebox.nested-talk {
width:100%;
margin:2px 4px 2px 4px;
border:1px solid #C0C090;
background:#F8EABA;
}
.messagebox.small {
float:right;
clear:both;
width:238px;
margin:0 0 1em 1em;
font-size:85%;
line-height:1.25em;
}
/*******************
** Template documentation
*******************/
.template-documentation {
clear:both;
margin:1em 0 0 0;
padding:5px;
border:1px solid #AAA;
background:#ECFCF4;
}
.hidden-redlink a.new { display:none; }
/*******************
** Allow limiting which header levels are shown in a TOC
** ie, <div class="toclimit-3">__TOC__</div> will only show top 3 header levels.
*******************/
.toclimit-2 .toclevel-2 { display:none; }
.toclimit-3 .toclevel-3 { display:none; }
.toclimit-4 .toclevel-4 { display:none; }
.toclimit-5 .toclevel-5 { display:none; }
.toclimit-6 .toclevel-6 { display:none; }
.toclimit-7 .toclevel-7 { display:none; }
/*******************
** Faciliate RTL translation
*******************/
.persian, .rtl {
direction:rtl;
font-family:Tahoma;
}
#bodyContent .persian a, #bodyContent .persian a.external, #bodyContent .rtl a, #bodyContent .rtl a.external {
padding-right:0;
background:none;
}
.persian #toctitle, .rtl #toctitle {
direction:ltr;
}
.persian .toclevel-1, .persian .toclevel-2, .persian .toclevel-3, .persian .toclevel-4 {
text-align:right;
}
.rtl .toclevel-1, .rtl .toclevel-2, .rtl .toclevel-3, .rtl .toclevel-4 {
text-align:right;
}
.persian .toclevel-2, .rtl .toclevel-2 {
margin-right:10px;
}
.persian .toclevel-3, .rtl .toclevel-3 {
margin-right:20px;
}
.persian .toclevel-4, .rtl .toclevel-4 {
margin-right:30px;
}
.persian .editsection, .rtl .editsection {
float:left;
}
.persian UL, .rtl UL {
margin-right:16px;
display:table;
}
.persian OL, .rtl OL {
margin-right:16px;
display:table;
}
#bodyContent .arabic a, #bodyContent .rtl a {
padding-right:0;
background:none;
}
/*******************
** Default style for PrettyTextBox and InformationBox class of templates
** ie, {{warning}}, {{info}}, etc
*******************/
.InformationBox {
width:80%;
clear:both;
margin:0.5em auto;
padding:3px;
border:1px solid #999;
background:#F8F8F8;
color:#000;
}
.PrettyTextBox {
padding:.2em;
border:1px solid #AAA;
background:#F9F9F9;
color:#000;
}
/*******************
** Highlight clicked reference in blue to help navigation
*******************/
ol.references > li:target {
background:#DEF;
}
sup.reference:target {
background:#DEF;
}
/*******************
** 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: 0px;
width: 1px;
}
/* Article message box styles */
table.ambox {
margin: 0px 10%; /* 10% = Will not overlap with other elements */
border: 1px solid #aaa;
/* @noflip */
border-left: 10px solid #1e90ff; /* 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 */
/* @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 #1e90ff; /* Blue */
}
table.ambox-speedy {
/* @noflip */
border-left: 10px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.ambox-delete {
/* @noflip */
border-left: 10px solid #b22222; /* Red */
}
table.ambox-content {
/* @noflip */
border-left: 10px solid #f28500; /* Orange */
}
table.ambox-style {
/* @noflip */
border-left: 10px solid #f4c430; /* Yellow */
}
table.ambox-move {
/* @noflip */
border-left: 10px solid #9932cc; /* Purple */
}
table.ambox-protection {
/* @noflip */
border-left: 10px solid #bba; /* Gray-gold */
}
/* Image message box styles */
table.imbox {
margin: 4px 10%;
border-collapse: collapse;
border: 3px solid #1e90ff; /* 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. */
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 #1e90ff; /* Blue */
}
table.imbox-speedy {
border: 3px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.imbox-delete {
border: 3px solid #b22222; /* Red */
}
table.imbox-content {
border: 3px solid #f28500; /* Orange */
}
table.imbox-style {
border: 3px solid #f4c430; /* Yellow */
}
table.imbox-move {
border: 3px solid #9932cc; /* Purple */
}
table.imbox-protection {
border: 3px solid #bba; /* 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 #aaa;
background: #DFE8FF; /* Default "notice" blue */
}
table.cmbox-notice {
background: #D8E8FF; /* Blue */
}
table.cmbox-speedy {
margin-top: 4px;
margin-bottom: 4px;
border: 4px solid #b22222; /* 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 #aaa; /* Default "notice" gray */
background: #f9f9f9;
}
table.ombox-notice {
border: 1px solid #aaa; /* Gray */
}
table.ombox-speedy {
border: 2px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.ombox-delete {
border: 2px solid #b22222; /* Red */
}
table.ombox-content {
border: 1px solid #f28500; /* Orange */
}
table.ombox-style {
border: 1px solid #f4c430; /* Yellow */
}
table.ombox-move {
border: 1px solid #9932cc; /* Purple */
}
table.ombox-protection {
border: 2px solid #bba; /* 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" 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 #b22222; /* Red */
background: #fee; /* Pink */
}
table.tmbox-delete {
border: 2px solid #b22222; /* Red */
}
table.tmbox-content {
border: 2px solid #f28500; /* Orange */
}
table.tmbox-style {
border: 2px solid #f4c430; /* 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: transparent;
}
/* Footer and header message box styles */
table.fmbox {
clear: both;
margin: 0.2em 0;
width: 100%;
border: 1px solid #aaa;
background: #f9f9f9; /* Default "system" gray */
}
table.fmbox-system {
background: #f9f9f9;
}
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,
div#mw-protect-cascadeon {
clear: both;
margin: 0.2em 0;
border: 1px solid #bb7070;
background: #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 #aaa;
background: #f9f9f9;
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. */
/* @noflip */
clear: right;
/* @noflip */
float: right;
/* @noflip */
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. */
/* @noflip */
margin: 4px 1em 4px 0;
width: 238px;
border-collapse: collapse;
font-size: 88%;
line-height: 1.25em;
}
/*******************
** Drop-Down List styles
*******************/
/*Main Line Not Just Link Margin - From left Side*/
ul#nav {
list-style-type:none;
border:none;
width:auto;
}
/*Drop Menu Line Colors that "flash" to load Menu*/
ul#nav li ul {
background:#fff;
width:auto;
}
ul#nav li {
position:relative;
width:auto;
list-style-type:none;
background:333;
color:#333;
line-height:150%;
}
/*Main Link Font Color and "loading border" set to fff for invisibility*/
ul#nav a {
color:#333;
text-decoration:none;
display:block;
}
/*Mouse over option text color*/
ul#nav a:hover {
border:1px inset #333;
background:#333;
color:#333;
}
/*Color of Text option drop down without mouse on them.*/
ul#nav li li a {
padding-left:1em;
color:#006AFF;
text-decoration:none;
display:block;
}
ul#nav li li a:hover {
background:#f3f3f3;
}
/* DDM relative dropdown example */
.hiddenChild {
position: absolute;
left: -999em;
}
.shownChild {
left:-19.5px;
}
/*Parent initial border information white fff set to hide "optional options area"*/
ul#nav.dhtml {
list-style-image: none;
display: block;
position:relative;
width:auto;
list-style-type:none;
left:-18px;
top:-4px;
}
/*WIDTH IS TOP OPTION WIDTH. (OPTION WIDTH - 1)*/
ul#nav.dhtml li {
position:relative;
float:left;
width:9em;
border-right:1px solid #333;
border-top:1px solid #333;
border-left:1px solid #333;
border-bottom:1px solid #333;
}
/*Initial background color of options with mouse hovered over main link*/
ul#nav.dhtml ul {
list-style-image: none;
display: block;
top:14.5px;
position:absolute;
border:1px solid #333;
width:auto;
z-index:999;
}
ul#nav.dhtml li a,ul#nav.dhtml li a:hover {
border:none;
background:#333;
}
ul#nav.dhtml li a {
padding:0.5em;
background:#333;
}
/*Options background color when main category is highlighted with mouse and options not selected WIDTH IS OPTIONS WIDTH*/
ul#nav.dhtml ul li {
border:none;
width:9em;
background:#fff;
}
/*No Mouse On Main Link Background*/
ul#nav.dhtml li.isParent {
background:#f3f3f3;
}
/*Yes Mouse On Main Link Background*/
ul#nav.dhtml li.isActive {
background:#fff;
}
ul#nav.dhtml li.isActive a {
background:f3f3f3;
}
ul#nav.dhtml li.isActive ul a {
padding:0.5em;
}
ul#nav.dhtml a:hover {
background:#333;
}
ul#nav.dhtml li.isParent a:hover {
background:#333;
}
ul#nav.dhtml li.isActive ul a:hover {
background:#333;
}
/*Prevent wrapping under right floated elements*/
pre{
overflow:auto;
}
/*Avoid overlong Action Replay codes, while preserving some full length pre's*/
h3 ~ pre{
max-height:100px;
}
/*Reduce size of category links, since some pages have three or more rows of them otherwise.*/
.catlinks{
font-size:80%;
}
/*Show the last three test results rather than fully collapsed table*/
.testresults thead tr, .testresults tbody tr:nth-last-of-type(-n+3){
display:table-row !important;
}
/* Styles used in Template:Revision and Template:Issue */
.revlink,.issuelink {
font-weight:bold;
font-family:monospace;
}
.revlink{
color:purple;
}
.issuelink {
color:darkGreen;
}
/* Styles used in Template:VersionCompatibilityVersion and Template:VersionCompatibility */
.versioncompatibility{
overflow:auto;
}
.versioncompatibility .heading{
background:#FFF;
position: relative;
font-size:10px;
font-weight:bold;
}
.versioncompatibility .heading div:first-child{
float:left;
}
.versioncompatibility .heading div:last-child{
float:right;
}
.versioncompatibility .ratings{
line-height:12px;
border:1px solid #000;
height:13px;
background:#000;
overflow:hidden;
position:relative;
clear:left;
}
.versioncompatibilityversion{
position:absolute;
text-align:right;
height:13px;
border-right:1px solid #000;
margin-right:-1px;
overflow:hidden;
}
.versioncompatibilityversion a{
padding-right:0 !important;
background:transparent !important;
}
.versioncompatibilityversion a .revlink{
color: black;
font-family:sans-serif;
}
.versioncompatibilityversion span:first-child{
font-size:9px;
font-weight:bold;
padding-right:1px;
}
/* Remove padding between logo and sidebar content */
#mw-panel {
padding-top: 0 !important;
}
.tl_image {
float: left;
}
.tl_image_caption {
text-overflow: ellipsis;
display: inline-block;
white-space: nowrap;
overflow: hidden;
vertical-align: top;
}
.magnify a.internal {
margin: 4px 0px;
}
/*
</source>
*/
/* Neutral styling for troubleshooting boxes */
.troubleshooting-section {
background-color: #f8f8f8;
border: 1px solid #ccc;
padding: 1.5em;
margin: 1.5em 0;
border-radius: 8px;
font-family: 'Segoe UI', sans-serif;
}
.troubleshooting-section h3 {
color: #333;
border-bottom: 1px solid #ddd;
padding-bottom: 0.3em;
margin-bottom: 0.8em;
}
.troubleshooting-section p,
.troubleshooting-section li {
color: #444;
line-height: 1.6;
}
.troubleshooting-section code {
background-color: #eaeaea;
padding: 2px 4px;
border-radius: 4px;
font-size: 0.95em;
color: #222;
}
.scroll-wrapper {
width: 100%;
overflow: hidden;
box-sizing: border-box;
background-color: transparent; /* Remove any background color */
}
.scroll-text {
display: inline-block;
padding-left: 100%;
animation: scroll-left 15s linear infinite;
white-space: nowrap;
color: #FF6600;
font-size: 120%;
}
@keyframes scroll-left {
0% {
transform: translateX(0%);
}
100% {
transform: translateX(-100%);
}
}
.fix-card{border:1px solid #e5e7eb;border-radius:12px;padding:14px 16px;margin:14px 0;background:#fff;box-shadow:0 1px 2px rgba(0,0,0,.04)}
.fix-card__header{display:flex;gap:.5rem;align-items:center;margin-bottom:.25rem}
.fix-card__type{background:#eef6ff;border:1px solid #dbeafe;padding:2px 10px;border-radius:999px;font-size:.85em;white-space:nowrap}
.fix-card__title{font-weight:700;font-size:1.1em;word-break:break-word}
.fix-card__meta{color:#6b7280;font-size:.92em;margin:.4rem 0 .5rem}
.fix-card__meta b{color:#374151}
.fix-card__summary{margin:.4rem 0}
.fix-card__steps{margin-top:.6rem;border-top:1px solid #eee;padding-top:.5rem}
.fix-card__steps-body ol,.fix-card__steps-body ul{margin:.3rem 0 .1rem .9rem}
.fix-card__notes{margin-top:.5rem}
.fix-card__code{margin-top:.6rem}
.fix-card__tags{margin-top:.5rem;font-size:.92em;color:#374151}
.fix-code{background:#f8fafc;border:1px solid #e5e7eb;border-radius:8px;padding:10px;overflow:auto;font-family:ui-monospace,Consolas,monospace;font-size:.92em}
.fix-card a{word-break:break-word}