|
|
( not shown.) |
Vrstica 1: |
Vrstica 1: |
- | /** CSS placed here will be applied to all skins */ | + | /* |
- | /*********************** ADDITIONAL STYLES ****************/ | + | <pre> |
| + | */ |
| + | |
| + | /***** |
| + | ** 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; |
| + | } |
| + | |
| + | |
| + | /***** |
| + | ** Hide selected content |
| + | *****/ |
| + | .hiddenStructure {display: none} |
| + | |
| + | .if {display: none} |
| + | |
| + | |
| + | /***** |
| + | ** Table formatting |
| + | *****/ |
| + | 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; |
| + | } |
| + | |
| + | |
| + | /***** |
| + | ** box formatting |
| + | *****/ |
| + | .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 { |
| + | font-size:larger; |
| + | margin-left:inherit; |
| + | } |
| + | |
| + | .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; |
| + | } |
| + | |
| + | .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; |
| + | spacing:0px; |
| + | text-align:left; |
| + | } |
| + | .infobox1 { |
| + | float:right; |
| + | clear:right; |
| + | margin-bottom:0.5em; |
| + | margin-left:1em; |
| + | padding:0.2em; |
| + | border:1px solid #AAA; |
| + | background:#F9F9F9; |
| + | color:black; |
| + | |
| + | } |
| + | |
| + | .infobox1 td, |
| + | .infobox1 th { |
| + | vertical-align:top; |
| + | } |
| + | .infobox1 caption { |
| + | font-size:larger; |
| + | margin-left:inherit; |
| + | } |
| + | |
| + | .infobox1.bordered { |
| + | border-collapse:collapse; |
| + | } |
| + | |
| + | .infobox1.bordered td, |
| + | .infobox1.bordered th { |
| + | border:1px solid #AAA; |
| + | } |
| + | |
| + | .infobox1.bordered .borderless td, |
| + | .infobox1.bordered .borderless th { |
| + | border:0; |
| + | } |
| + | |
| + | .infobox1.sisterproject { |
| + | width:20em; |
| + | font-size:90%; |
| + | } |
| | | |
- | /* Infobox template style */ | + | /* [[template:other languages]] */ |
- | | + | #otherlangs { |
- | .infobox { | + | margin:0.5em; |
- | border: 0px solid #aaaaaa;
| + | padding:2px; |
- | background-color:#ffffff;
| + | border:1px solid #CCC; |
- | width:100px; | + | background:#FAFAFA; |
- | color: black; | + | font-size:0.9em; |
- | margin-bottom: 0.5em; | + | } |
- | | + | #otherlangs span { |
- | padding: 0.2em; | + | margin:0 2px; |
- | float: right; | + | padding-left:2px; |
- | clear: right; | + | 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 the external link icon to an Adobe icon for all PDF files */ |
| + | /* (in 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 { |
| + | background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat; |
| + | padding-right: 16px; |
| } | | } |
- | .infobox td, | + | |
- | .infobox th { | + | /* Change the external link icon to an Adobe icon anywhere the PDFlink class */ |
- | vertical-align: top;
| + | /* is used (notably Template:PDFlink). This works in IE, unlike the above. */ |
- | background-color:#f1f1f1;
| + | span.PDFlink a { |
| + | background: url(https://upload.wikimedia.org/wikipedia/commons/thumb/2/23/Icons-mini-file_acrobat.gif/15px-Icons-mini-file_acrobat.gif) center right no-repeat !important; |
| + | padding-right: 17px !important; |
| } | | } |
- | .infobox caption { | + | |
- | font-size: larger;
| + | /* Standard Navigationsleisten, aka box hiding thingy from .de. Documentation at [[Wikipedia:NavFrame]]. */ |
- | margin-left: inherit;
| + | |
- | background-color:#f1f1f1;
| + | div.Boxmerge, |
| + | div.NavFrame { |
| + | margin: 0px; |
| + | padding: 4px; |
| + | border: 1px solid #aaa; |
| + | text-align: center; |
| + | border-collapse: collapse; |
| + | font-size: 95%; |
| } | | } |
- | .infobox.bordered { | + | div.Boxmerge div.NavFrame { |
- | border-collapse: collapse;
| + | border-style: none; |
- | background-color:#ffffff;
| + | border-style: hidden; |
| } | | } |
- | .infobox.bordered td, | + | div.NavFrame + div.NavFrame { |
- | .infobox.bordered th {
| + | border-top-style: none; |
- | border: 1px solid #aaaaaa;
| + | border-top-style: hidden; |
- | background-color:#ffffff;
| + | |
| } | | } |
- | .infobox.bordered .borderless td, | + | div.NavPic { |
- | .infobox.bordered .borderless th {
| + | background-color: #fff; |
- | background-color:#f1f1f1; | + | margin: 0px; |
- | border: 0;
| + | padding: 2px; |
| + | float: left; |
| } | | } |
- | | + | div.NavFrame div.NavHead { |
- | /* styles for bordered infobox with merged rows */
| + | height: 1.6em; |
- | .infobox.bordered .mergedtoprow td,
| + | font-weight: bold; |
- | .infobox.bordered .mergedtoprow th {
| + | background-color: #ccccff; |
- | border: 0;
| + | position:relative; |
- | border-top: 1px solid #aaaaaa;
| + | |
- | border-right: 1px solid #aaaaaa;
| + | |
- | background-color:#f1f1f1;
| + | |
| } | | } |
- | | + | div.NavFrame p { |
- | .infobox.bordered .mergedrow td, | + | font-size: 100%; |
- | .infobox.bordered .mergedrow th {
| + | |
- | border: 0;
| + | |
- | border-right: 1px solid #aaaaaa;
| + | |
- | background-color:#f1f1f1;
| + | |
| } | | } |
- | | + | div.NavFrame div.NavContent { |
- | /* styles for geography infoboxes, e.g. countries, country subdivisions, cities, etc. */
| + | font-size: 100%; |
- |
| + | |
- | .infobox.software {
| + | |
- | text-align: left;
| + | |
- | border-collapse: collapse;
| + | |
- | line-height: 1.2em;
| + | |
- | font-size: 90%;
| + | |
- | background-color:#f1f1f1;
| + | |
| } | | } |
- |
| + | div.NavFrame div.NavContent p { |
- | .infobox.software td, | + | font-size: 100%; |
- | .infobox.software th {
| + | |
- | border-top: solid 1px #aaa;
| + | |
- | padding: 0.2em 0.6em 0.2em 0.6em;
| + | |
- | background-color:#f1f1f1;
| + | |
| } | | } |
- | .infobox.software .mergedtoprow td, | + | div.NavEnd { |
- | .infobox.software .mergedtoprow th {
| + | margin: 0px; |
- | border-top: solid 1px #aaa;
| + | padding: 0px; |
- | padding: 0.4em 0.2em 0.2em 0.2em;
| + | line-height: 1px; |
- | background-color:#f1f1f1;
| + | clear: both; |
| } | | } |
- |
| + | a.NavToggle { |
- | .infobox.software .mergedrow td,
| + | position:absolute; |
- | .infobox.software .mergedrow th {
| + | top:0px; |
- | border: 0;
| + | right:3px; |
- | padding: 0 0.2em 0.2em 0.2em;
| + | font-weight:normal; |
- | background-color:#f1f1f1;
| + | font-size:smaller; |
| } | | } |
| | | |
- | .infobox.software .mergedbottomrow td, | + | /* |
- | .infobox.software .mergedbottomrow th { | + | * Messagebox templates |
- | border-top: 0; | + | * Imported from [[en:MediaWiki:Common.css]] on 2007-07-13 |
- | border-bottom: solid 1px #aaa; | + | */ |
- | padding: 0 0.2em 0.4em 0.2em; | + | .messagebox { |
- | background-color:#f1f1f1;
| + | border: 1px solid #aaa; |
| + | background-color: #f9f9f9; |
| + | width: 80%; |
| + | margin: 0 auto 1em auto; |
| + | padding: .2em; |
| } | | } |
- |
| + | .messagebox.merge { |
- | .infobox.software .maptable td,
| + | border: 1px solid #c0b8cc; |
- | .infobox.software .maptable th {
| + | background-color: #f0e5ff; |
- | border: 0;
| + | text-align: center; |
- | background-color:#f1f1f1; | + | |
- | padding: 0;
| + | |
| } | | } |
- | | + | .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; |
| + | } |
| + | .messagebox.small { |
| + | width: 238px; |
| + | font-size: 85%; |
| + | float: right; |
| + | clear: both; |
| + | margin: 0 0 1em 1em; |
| + | line-height: 1.25em; |
| + | } |
| + | /* For template documentation */ |
| + | .template-documentation { |
| + | clear: both; |
| + | margin: 1em 0 0 0; |
| + | border: 1px solid #aaa; |
| + | background-color: #ecfcf4; |
| + | padding: 5px; |
| + | } |
| + | |
| + | .hidden-redlink a.new { 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). |
| + | Thanks to w:en:User:Ais523 for that code.*/ |
| + | .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;} |
| + | |
| + | /* |
| + | </pre> |
| + | */ |
| /*** Place in MediaWiki:Common.css ***/ | | /*** Place in MediaWiki:Common.css ***/ |
| | | |