MediaWiki:Common.css: erinevus redaktsioonide vahel
Allikas: Kabeliit
Resümee puudub |
Resümee puudub |
||
1. rida: | 1. rida: | ||
/* Main page fixes */ | /* Main page fixes */ | ||
#interwiki-completelist { | #interwiki-completelist { | ||
font-weight: bold; | font-weight: bold; | ||
} | } | ||
body.page- | |||
/* Pealkirja ja muu peitmine esilehel */ | |||
body.page-Esileht #deleteconfirm, | |||
body.page-Esileht #t-cite, | |||
body.page-Esileht #ca-delete | |||
body.page-Esileht #lastmod, | |||
body.page-Esileht #siteSub, | |||
body.page-Esileht h1.firstHeading { | |||
display: none !important; | display: none !important; | ||
} | } | ||
/* BEGIN LIGHT BLUE SECTION | |||
Make content area light blue in all namespaces except articles (main namespace). | |||
This is done by setting the background color for all #content areas | |||
to light blue, and then overriding it back to white for any #content | |||
enclosed in a .ns-0 (main namespace). We do the same for the "tab" | |||
backgrounds and some other objects. */ | |||
#content, | |||
#p-cactions li a:hover, #p-cactions li.selected a, | |||
#content div.thumb { /* "Margin" for thumbs, padding for galleries */ | |||
background-color: #F8FCFF; /* Light blue */ | |||
} | } | ||
#p-cactions li a { | |||
background-color: #F7F9FB; /* Light blue-gray inactive tabs */ | |||
# | |||
} | } | ||
.ns-0 #content, | |||
.ns-0 #p-cactions li a:hover, .ns-0 #p-cactions li.selected a, | |||
.ns-0 #content div.thumb { | |||
div. | background-color: white; /* Set back to white for articles */ | ||
} | } | ||
.ns-0 #p-cactions li a { | |||
background-color: #FBFBFB; /* Light gray inactive tabs in articles */ | |||
} | } | ||
@media print { | |||
#content { background: white; } /* White background on print */ | |||
background | |||
} | } | ||
/* | /* Category lists and diffs transparent instead of white. */ | ||
#mw-subcategories table, #mw-pages table, | |||
table.diff, td.diff-otitle, td.diff-ntitle { | |||
background-color: transparent; | |||
. | |||
. | |||
} | } | ||
/* | /* END LIGHT BLUE SECTION */ | ||
/* | /* Default skin for navigation boxes */ | ||
table.navbox { /* Navbox container style */ | |||
table. | border: 1px solid #aaa; | ||
width: 100%; | |||
margin: auto; | |||
clear: both; | |||
border: 1px # | font-size: 88%; | ||
text-align: center; | text-align: center; | ||
padding: 1px; | |||
} | } | ||
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ | table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */ | ||
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ | |||
} | } | ||
.navbox-title, | .navbox-title, | ||
.navbox-abovebelow { | .navbox-abovebelow, | ||
table.navbox th { | |||
text-align: center; /* Title and above/below styles */ | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
} | } | ||
.navbox-group { /* Group style */ | |||
white-space: nowrap; | |||
text-align: right; | |||
font-weight: bold; | |||
padding-left: 1em; | |||
padding-right: 1em; | |||
} | } | ||
.navbox, | .navbox, .navbox-subgroup { | ||
.navbox-subgroup { | background: #fdfdfd; /* Background color */ | ||
} | } | ||
.navbox-list { | .navbox-list { | ||
border-color: #fdfdfd; /* Must match background color */ | |||
} | } | ||
.navbox | .navbox-title, | ||
.navbox | table.navbox th { | ||
background: #ccccff; /* Level 1 color */ | |||
} | } | ||
.navbox-abovebelow, | .navbox-abovebelow, | ||
.navbox-group, | |||
.navbox-subgroup .navbox-title { | .navbox-subgroup .navbox-title { | ||
background: #ddddff; /* Level 2 color */ | |||
} | } | ||
.navbox-subgroup .navbox-group, | .navbox-subgroup .navbox-group, .navbox-subgroup .navbox-abovebelow { | ||
.navbox-subgroup .navbox-abovebelow { | background: #e6e6ff; /* Level 3 color */ | ||
} | } | ||
.navbox-even { | .navbox-even { | ||
background: #f7f7f7; /* Even row striping */ | |||
} | } | ||
.navbox-odd { | .navbox-odd { | ||
background: transparent; /* Odd row striping */ | |||
} | } | ||
. | .collapseButton { /* 'show'/'hide' buttons created dynamically */ | ||
float: right; /* by the CollapsibleTables javascript in */ | |||
font-weight: normal; /* [[MediaWiki:Common.js]]are styled here */ | |||
text-align: right; /* so they can be customised. */ | |||
font-weight: normal; | |||
/* | |||
/* | |||
width: auto; | width: auto; | ||
} | } | ||
/* In navboxes, the show/hide button balances the | .navbox .collapseButton { /* In navboxes, the show/hide button balances */ | ||
width: 6em; /* the vde links from [[Template:Tnavbar]], */ | |||
} /* so they need to be the same width. */ | |||
/* Infobox template style */ | /* Infobox template style */ | ||
330. rida: | 122. rida: | ||
margin: 0.5em 0 0.5em 1em; | margin: 0.5em 0 0.5em 1em; | ||
padding: 0.2em; | padding: 0.2em; | ||
float: right; | float: right; | ||
clear: right; | clear: right; | ||
} | } | ||
.infobox td, | .infobox td, | ||
.infobox th { | .infobox th { | ||
vertical-align: top; | vertical-align: top; | ||
} | |||
.infobox caption { | |||
font-size: larger; | |||
} | } | ||
.infobox.bordered { | .infobox.bordered { | ||
357. rida: | 143. rida: | ||
border: 0; | border: 0; | ||
} | } | ||
.infobox.sisterproject { | .infobox.sisterproject { | ||
width: 20em; | width: 20em; | ||
font-size: 90%; | font-size: 90%; | ||
} | } | ||
.infobox.standard-talk { | .infobox.standard-talk { | ||
border: 1px solid #c0c090; | border: 1px solid #c0c090; | ||
371. rida: | 157. rida: | ||
border: 1px solid #c0c090; | border: 1px solid #c0c090; | ||
} | } | ||
/* styles for bordered infobox with merged rows */ | /* styles for bordered infobox with merged rows */ | ||
.infobox.bordered .mergedtoprow td, | .infobox.bordered .mergedtoprow td, | ||
379. rida: | 165. rida: | ||
border-right: 1px solid #aaa; | border-right: 1px solid #aaa; | ||
} | } | ||
.infobox.bordered .mergedrow td, | .infobox.bordered .mergedrow td, | ||
.infobox.bordered .mergedrow th { | .infobox.bordered .mergedrow th { | ||
385. rida: | 171. rida: | ||
border-right: 1px solid #aaa; | border-right: 1px solid #aaa; | ||
} | } | ||
/* Styles for geography infoboxes, eg countries, | /* Styles for geography infoboxes, eg countries, | ||
country subdivisions, cities, etc. */ | country subdivisions, cities, etc. */ | ||
.infobox.geography { | .infobox.geography { | ||
text-align: left; | text-align: left; | ||
border-collapse: collapse; | border-collapse: collapse; | ||
395. rida: | 180. rida: | ||
font-size: 90%; | font-size: 90%; | ||
} | } | ||
.infobox.geography td, | .infobox.geography td, | ||
.infobox.geography th { | .infobox.geography th { | ||
border-top: 1px | border-top: solid 1px #aaa; | ||
padding: 0.4em 0.6em 0.4em 0.6em; | padding: 0.4em 0.6em 0.4em 0.6em; | ||
} | } | ||
.infobox.geography .mergedtoprow td, | .infobox.geography .mergedtoprow td, | ||
.infobox.geography .mergedtoprow th { | .infobox.geography .mergedtoprow th { | ||
border-top: 1px | border-top: solid 1px #aaa; | ||
padding: 0.4em 0.6em 0.2em 0.6em; | padding: 0.4em 0.6em 0.2em 0.6em; | ||
} | } | ||
.infobox.geography .mergedrow td, | .infobox.geography .mergedrow td, | ||
.infobox.geography .mergedrow th { | .infobox.geography .mergedrow th { | ||
412. rida: | 197. rida: | ||
padding: 0 0.6em 0.2em 0.6em; | padding: 0 0.6em 0.2em 0.6em; | ||
} | } | ||
.infobox.geography .mergedbottomrow td, | .infobox.geography .mergedbottomrow td, | ||
.infobox.geography .mergedbottomrow th { | .infobox.geography .mergedbottomrow th { | ||
border-top: 0; | border-top: 0; | ||
border-bottom: 1px | border-bottom: solid 1px #aaa; | ||
padding: 0 0.6em 0.4em 0.6em; | padding: 0 0.6em 0.4em 0.6em; | ||
} | } | ||
.infobox.geography .maptable td, | .infobox.geography .maptable td, | ||
.infobox.geography .maptable th { | .infobox.geography .maptable th { | ||
426. rida: | 211. rida: | ||
} | } | ||
/* | |||
. | /* .hiddenstructure -class for cases where different skin than default is used */ | ||
font- | .hiddenStructure { | ||
display: none; | |||
speak: none; | |||
} | |||
#p-cactions .hiddenStructure { | |||
display: none; | |||
} | |||
/* make the list of references look smaller */ | |||
ol.references { font-size: 100%; } | |||
.references-small { font-size: 90%; } | |||
/* Tõstab siniselt esile klikitud viite, et lihtsustada navigeerimist */ | |||
ol.references > li:target, | |||
sup.reference:target, | |||
cite:target { | |||
background-color: #DEF; | |||
} | } | ||
/* | /* Stylesheet-Ergänzung zu Standard-[[Wikipedia:Navigationsleisten|Navigationsleisten]] */ | ||
div.NavFrame { | |||
margin: 0; | |||
border: 1px solid #aaa; | |||
clear: both; | |||
padding: 2px; | |||
text-align: center; | |||
font-size: 95%; | |||
} | } | ||
/* | /* Automatisches Verschmelzen, funktioniert nicht im IE 6 */ | ||
div. | div.NavFrame + div.NavFrame { | ||
margin-top: -1px; | |||
} | } | ||
div. | div.NavPic { | ||
margin: 0; | |||
padding: 2px; | |||
float: left; | |||
} | } | ||
div. | div.NavHead { | ||
font-weight: bold; | |||
background-color: #efefef; | |||
} | } | ||
/* | /* Redundant zu .visualClear in shared.css und IE60Fixes.css */ | ||
div.NavEnd { | |||
margin: 0; | |||
padding: 0; | |||
line-height: 1px; | |||
clear: both; | |||
div | |||
} | } | ||
/* | /* Stylesheet fuer den 'Ausklappen'-Button an Navileisten, der in [[MediaWiki:Common.js]] implementiert wird */ | ||
.NavToggle { | |||
font-size: x-small; | |||
float: right; | |||
} | } | ||
/* | /* Workaround für Internet Explorer 6 */ | ||
div. | div.NavFrame, | ||
div.NavPic, | |||
.NavToggle { | |||
position: relative; | |||
div. | |||
} | } | ||
564. rida: | 316. rida: | ||
width: 238px; | width: 238px; | ||
font-size: 85%; | font-size: 85%; | ||
float: right; | float: right; | ||
clear: both; | clear: both; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
line-height: 1.25em; | line-height: 1.25em; | ||
574. rida: | 324. rida: | ||
width: 238px; | width: 238px; | ||
font-size: 85%; | font-size: 85%; | ||
float: right; | float: right; | ||
clear: both; | clear: both; | ||
margin: 0 0 1em 1em; | margin: 0 0 1em 1em; | ||
line-height: 1.25em; | line-height: 1.25em; | ||
584. rida: | 332. rida: | ||
/* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ | /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ | ||
th.mbox-text, td.mbox-text { | th.mbox-text, td.mbox-text { /* The message body cell(s) */ | ||
border: none; | border: none; | ||
padding: 0.25em 0.9em; /* 0.9em left/right */ | |||
padding: 0.25em 0.9em; | width: 100%; /* Make all mboxes the same width regardless of text length */ | ||
width: 100%; | |||
} | } | ||
td.mbox-image { | td.mbox-image { /* The left image cell */ | ||
border: none; | border: none; | ||
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ | |||
padding: 2px 0 2px 0.9em; | |||
text-align: center; | text-align: center; | ||
} | } | ||
td.mbox-imageright { | td.mbox-imageright { /* The right image cell */ | ||
border: none; | border: none; | ||
padding: 2px 0.9em 2px 0; /* 0px left, 0.9em right */ | |||
padding: 2px 0.9em 2px 0; | |||
text-align: center; | text-align: center; | ||
} | } | ||
td.mbox-empty-cell { | td.mbox-empty-cell { /* An empty narrow cell */ | ||
border: none; | border: none; | ||
padding: 0px; | padding: 0px; | ||
608. rida: | 353. rida: | ||
} | } | ||
/* Article message box styles */ | /* Article message box template styles */ | ||
table.ambox { | table.ambox { | ||
margin: | margin: 0 10%; /* Will not overlap with other elements */ | ||
border-collapse: collapse; | |||
background: #fbfbfb; | |||
border: 1px solid #aaa; | border: 1px solid #aaa; | ||
border-left: 10px solid #1e90ff; /* Default "notice" blue */ | |||
border-left: 10px solid #1e90ff; | |||
} | } | ||
table.ambox | table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */ | ||
padding: 0.25em 0.5em; /* 0.5em left/right */ | |||
width: 100%; /* Make all templates the same width regardless of text size */ | |||
} | } | ||
.ambox | table.ambox td.ambox-image { /* The left image cell */ | ||
.ambox | padding: 2px 0px 2px 0.5em; /* 0.5em left, 0px right */ | ||
padding: | text-align: center; | ||
} | } | ||
.ambox td. | table.ambox td.ambox-imageright { /* The right image cell */ | ||
padding: 2px 4px 2px 0px; /* 0px left, 4px right */ | |||
padding: 2px | text-align: center; | ||
} | } | ||
table.ambox-notice { | table.ambox-notice { | ||
/* | border-left: 10px solid #1e90ff; /* Blue */ | ||
/* border-right: 10px solid #1e90ff; */ /* If you want two blue bars */ | |||
} | } | ||
table.ambox- | table.ambox-delete, | ||
table.ambox-serious { | |||
border-left: 10px solid #b22222; /* Red */ | |||
table.ambox- | |||
border-left: 10px solid #b22222; | |||
} | } | ||
table.ambox-content { | table.ambox-content { | ||
border-left: 10px solid #f28500; /* Orange */ | |||
border-left: 10px solid #f28500; | |||
} | } | ||
table.ambox-style { | table.ambox-style { | ||
border-left: 10px solid #f4c430; /* Yellow */ | |||
border-left: 10px solid #f4c430; | |||
} | } | ||
table.ambox- | table.ambox-merge { | ||
border-left: 10px solid #9932cc; /* Purple */ | |||
border-left: 10px solid #9932cc; | |||
} | } | ||
table.ambox-protection { | table.ambox-protection { | ||
border-left: 10px solid #bba; /* Gray */ | |||
border-left: 10px solid #bba; | |||
} | } | ||
table.ambox.ambox-mini { /* Small floating box variant */ | |||
float: right; | |||
clear: right; | |||
margin: 0 0 0 1em; | |||
width: 25%; | |||
} | |||
@media print { /* Do not print article message box */ | |||
.ambox { | |||
display: none; | |||
} | |||
} | |||
/* Image message box styles */ | /* Image message box styles */ | ||
table.imbox { | table.imbox { | ||
669. rida: | 412. rida: | ||
background: #fbfbfb; | background: #fbfbfb; | ||
} | } | ||
.imbox .mbox-text .imbox { | .imbox .mbox-text .imbox { /* For imboxes inside imbox-text cells. */ | ||
margin: 0 -0.5em; | margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */ | ||
} | } | ||
.mbox-inside .imbox { | .mbox-inside .imbox { /* For imboxes inside other templates. */ | ||
margin: 4px; | margin: 4px; | ||
} | } | ||
table.imbox-notice { | table.imbox-notice { | ||
border: 3px solid #1e90ff; /* Blue */ | border: 3px solid #1e90ff; /* Blue */ | ||
706. rida: | 448. rida: | ||
border: 3px solid #cba135; /* Brown-gold */ | border: 3px solid #cba135; /* Brown-gold */ | ||
} | } | ||
/* Category message box styles */ | /* Category message box styles */ | ||
table.cmbox { | table.cmbox { | ||
714. rida: | 456. rida: | ||
background: #DFE8FF; /* Default "notice" blue */ | background: #DFE8FF; /* Default "notice" blue */ | ||
} | } | ||
table.cmbox-notice { | table.cmbox-notice { | ||
background: #D8E8FF; /* Blue */ | background: #D8E8FF; /* Blue */ | ||
739. rida: | 481. rida: | ||
background: #EFEFE1; /* Gray-gold */ | background: #EFEFE1; /* Gray-gold */ | ||
} | } | ||
/* Other pages message box styles */ | /* Other pages message box styles */ | ||
table.ombox { | table.ombox { | ||
747. rida: | 489. rida: | ||
background: #f9f9f9; | background: #f9f9f9; | ||
} | } | ||
table.ombox-notice { | table.ombox-notice { | ||
border: 1px solid #aaa; /* Gray */ | border: 1px solid #aaa; /* Gray */ | ||
778. rida: | 520. rida: | ||
background: #f8eaba; | background: #f8eaba; | ||
} | } | ||
.mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" | .mediawiki .mbox-inside .tmbox { /* For tmboxes inside other templates. The "mediawiki" */ | ||
margin: 2px 0; /* this declaration overrides other | margin: 2px 0; /* class ensures that this declaration overrides other */ | ||
width: 100%; | width: 100%; /* For Safari and Opera */ /* styles (including mbox-small above) */ | ||
} | } | ||
.mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ | .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ | ||
786. rida: | 528. rida: | ||
font-size: 100%; /* set in "mbox-small" above. */ | font-size: 100%; /* set in "mbox-small" above. */ | ||
} | } | ||
table.tmbox-speedy { | table.tmbox-speedy { | ||
border: 2px solid #b22222; /* Red */ | border: 2px solid #b22222; /* Red */ | ||
807. rida: | 549. rida: | ||
border: 1px solid #c0c090; /* Gray-brown */ | border: 1px solid #c0c090; /* Gray-brown */ | ||
} | } | ||
/* Disambig and set index box styles */ | /* Disambig and set index box styles */ | ||
table.dmbox { | table.dmbox { | ||
846. rida: | 588. rida: | ||
padding: 0.25em 0.9em; | padding: 0.25em 0.9em; | ||
} | } | ||
/* Div based "system" style fmbox messages. | /* Div based "system" style fmbox messages. Used in | ||
[[MediaWiki:Noarticletext]] and [[MediaWiki:Readonly lag]]. */ | |||
div.mw-lag-warn-normal, | div.mw-lag-warn-normal, | ||
div.noarticletext, | |||
div.fmbox-system { | div.fmbox-system { | ||
clear: both; | clear: both; | ||
856. rida: | 599. rida: | ||
padding: 0.25em 0.9em; | padding: 0.25em 0.9em; | ||
} | } | ||
/* These mbox-small classes must be placed after all other | /* These mbox-small classes must be placed after all other | ||
ambox/tmbox/ombox etc classes. "body.mediawiki" is so | ambox/tmbox/ombox etc classes. "body.mediawiki" is so | ||
they override "table.ambox + table.ambox" above. */ | they override "table.ambox + table.ambox" above. */ | ||
body.mediawiki table.mbox-small { /* For the "small=yes" option. */ | body.mediawiki table.mbox-small { /* For the "small=yes" option. */ | ||
clear: right; | clear: right; | ||
float: right; | float: right; | ||
margin: 4px 0 4px 1em; | margin: 4px 0 4px 1em; | ||
width: 238px; | width: 238px; | ||
872. rida: | 612. rida: | ||
} | } | ||
body.mediawiki table.mbox-small-left { /* For the "small=left" option. */ | body.mediawiki table.mbox-small-left { /* For the "small=left" option. */ | ||
margin: 4px 1em 4px 0; | margin: 4px 1em 4px 0; | ||
width: 238px; | width: 238px; | ||
880. rida: | 619. rida: | ||
} | } | ||
/* | /* 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; | |||
background: | |||
} | } | ||
/* | /* For template documentation */ | ||
.template-documentation { | |||
clear: both; | clear: both; | ||
margin: 1em 0 0 0; | |||
border: 1px solid #aaa; | |||
background-color: #ecfcf4; | |||
padding: 5px; | |||
} | } | ||
.thumbinner { | |||
min-width:100px; | |||
. | |||
} | } | ||
/* | /* 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; | |||
margin: .3em 0 0; | |||
padding: 0; | |||
} | |||
.nonumtoc #toc ul ul, | |||
.nonumtoc .toc ul ul { | |||
margin: 0 0 0 2em; | |||
} | |||
/*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. | |||
*/ | |||
.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; | |||
} | |||
/* Geographical coordinates defaults. See [[Template:Coord/link]] | /* Geographical coordinates defaults. See [[Template:Coord/link]] | ||
for how these are used. The classes "geo", "longitude", and | for how these are used. The classes "geo", "longitude", and | ||
991. rida: | 683. rida: | ||
*/ | */ | ||
.geo-default, .geo-dms, .geo-dec { display: inline; } | .geo-default, .geo-dms, .geo-dec { display: inline; } | ||
.geo-nondefault, .geo-multi-punct { display: none; } | #coordinates, .geo-nondefault, .geo-multi-punct { display: none; } | ||
.longitude, .latitude { white-space: nowrap; } | .longitude, .latitude { white-space: nowrap; } | ||
/* | /* Do not expand coordinate URLs for printing */ | ||
. | #content span.coordinates a.external.text:after, #content span.coordinates a.external.autonumber:after { content: ""; } | ||
#content div.coordinates a.external.text:after, #content div.coordinates a.external.autonumber:after { content: ""; } | |||
. | |||
} | |||
. | |||
. | |||
} | |||
/* | /* 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! | |||
*/ | */ | ||
. | .plainlinksneverexpand a.external.text:after { | ||
. | display: none !important; | ||
} | |||
.plainlinksneverexpand a.external.autonumber:after { | |||
. | display: none !important; | ||
. | } | ||
display: none; | |||
} | |||
/* | /* Makes redirects appear in italics in categories and on [[Special:Allpages]] */ | ||
.redirect-in-category, .allpagesredirect { | |||
font-style: italic; | |||
font- | |||
} | } | ||
/* | /* ära kuva «geo-microformat» märgendeid */ | ||
.geo {display:none;} | |||
} | |||
/* Prevent line breaks in silly places: | /* Prevent line breaks in silly places: | ||
1 | 1) Links when we don't want them to | ||
2) Bold "links" to the page itself | |||
2) HTML formulae | |||
3) Ref tags with group names <ref group="Note"> --> "[Note 1]" | |||
*/ | */ | ||
.nowraplinks a, | .nowraplinks a, | ||
.nowraplinks .selflink, | .nowraplinks .selflink, | ||
1064. rida: | 726. rida: | ||
} | } | ||
/* | /* deprecated prettytable class; should match wikitable class [[rev:48842]] (v.a kirja suurus) */ | ||
. | table.wikitable, | ||
table.prettytable { | |||
margin: 1em 1em 1em 0; | |||
border: 1px | background: #f9f9f9; | ||
border: 1px #aaa solid; | |||
border-collapse: collapse; | |||
font-size:95%; | |||
} | } | ||
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: #e9e9e9; | |||
. | |||
. | |||
background: # | |||
} | } |
Redaktsioon: 19. detsember 2011, kell 22:23
/* Main page fixes */ #interwiki-completelist { font-weight: bold; } /* Pealkirja ja muu peitmine esilehel */ body.page-Esileht #deleteconfirm, body.page-Esileht #t-cite, body.page-Esileht #ca-delete body.page-Esileht #lastmod, body.page-Esileht #siteSub, body.page-Esileht h1.firstHeading { display: none !important; } /* BEGIN LIGHT BLUE SECTION Make content area light blue in all namespaces except articles (main namespace). This is done by setting the background color for all #content areas to light blue, and then overriding it back to white for any #content enclosed in a .ns-0 (main namespace). We do the same for the "tab" backgrounds and some other objects. */ #content, #p-cactions li a:hover, #p-cactions li.selected a, #content div.thumb { /* "Margin" for thumbs, padding for galleries */ background-color: #F8FCFF; /* Light blue */ } #p-cactions li a { background-color: #F7F9FB; /* Light blue-gray inactive tabs */ } .ns-0 #content, .ns-0 #p-cactions li a:hover, .ns-0 #p-cactions li.selected a, .ns-0 #content div.thumb { background-color: white; /* Set back to white for articles */ } .ns-0 #p-cactions li a { background-color: #FBFBFB; /* Light gray inactive tabs in articles */ } @media print { #content { background: white; } /* White background on print */ } /* Category lists and diffs transparent instead of white. */ #mw-subcategories table, #mw-pages table, table.diff, td.diff-otitle, td.diff-ntitle { background-color: transparent; } /* END LIGHT BLUE SECTION */ /* Default skin for navigation boxes */ 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 */ margin-top: -1px; /* (doesn't work for IE6, but that's okay) */ } .navbox-title, .navbox-abovebelow, table.navbox th { text-align: center; /* Title and above/below styles */ padding-left: 1em; padding-right: 1em; } .navbox-group { /* Group style */ white-space: nowrap; text-align: right; font-weight: bold; padding-left: 1em; padding-right: 1em; } .navbox, .navbox-subgroup { background: #fdfdfd; /* Background color */ } .navbox-list { border-color: #fdfdfd; /* Must match background color */ } .navbox-title, table.navbox th { background: #ccccff; /* Level 1 color */ } .navbox-abovebelow, .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 */ } .collapseButton { /* 'show'/'hide' buttons created dynamically */ float: right; /* by the CollapsibleTables javascript in */ font-weight: normal; /* [[MediaWiki:Common.js]]are styled here */ text-align: right; /* so they can be customised. */ width: auto; } .navbox .collapseButton { /* In navboxes, the show/hide button balances */ width: 6em; /* the vde links from [[Template:Tnavbar]], */ } /* so they need to be the same width. */ /* Infobox template style */ .infobox { border: 1px solid #aaa; background-color: #f9f9f9; color: black; margin: 0.5em 0 0.5em 1em; padding: 0.2em; float: right; clear: right; } .infobox td, .infobox th { vertical-align: top; } .infobox caption { 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; } .infobox.sisterproject { width: 20em; font-size: 90%; } .infobox.standard-talk { border: 1px solid #c0c090; background-color: #f8eaba; } .infobox.standard-talk.bordered td, .infobox.standard-talk.bordered th { border: 1px solid #c0c090; } /* styles for bordered infobox with merged rows */ .infobox.bordered .mergedtoprow td, .infobox.bordered .mergedtoprow th { border: 0; border-top: 1px solid #aaa; border-right: 1px solid #aaa; } .infobox.bordered .mergedrow td, .infobox.bordered .mergedrow th { border: 0; border-right: 1px solid #aaa; } /* Styles for geography infoboxes, eg countries, country subdivisions, cities, etc. */ .infobox.geography { text-align: left; border-collapse: collapse; line-height: 1.2em; font-size: 90%; } .infobox.geography td, .infobox.geography th { border-top: solid 1px #aaa; padding: 0.4em 0.6em 0.4em 0.6em; } .infobox.geography .mergedtoprow td, .infobox.geography .mergedtoprow th { border-top: solid 1px #aaa; padding: 0.4em 0.6em 0.2em 0.6em; } .infobox.geography .mergedrow td, .infobox.geography .mergedrow th { border: 0; padding: 0 0.6em 0.2em 0.6em; } .infobox.geography .mergedbottomrow td, .infobox.geography .mergedbottomrow th { border-top: 0; border-bottom: solid 1px #aaa; padding: 0 0.6em 0.4em 0.6em; } .infobox.geography .maptable td, .infobox.geography .maptable th { border: 0; padding: 0; } /* .hiddenstructure -class for cases where different skin than default is used */ .hiddenStructure { display: none; speak: none; } #p-cactions .hiddenStructure { display: none; } /* make the list of references look smaller */ ol.references { font-size: 100%; } .references-small { font-size: 90%; } /* Tõstab siniselt esile klikitud viite, et lihtsustada navigeerimist */ ol.references > li:target, sup.reference:target, cite:target { background-color: #DEF; } /* Stylesheet-Ergänzung zu Standard-[[Wikipedia:Navigationsleisten|Navigationsleisten]] */ div.NavFrame { margin: 0; border: 1px solid #aaa; clear: both; padding: 2px; text-align: center; font-size: 95%; } /* Automatisches Verschmelzen, funktioniert nicht im IE 6 */ div.NavFrame + div.NavFrame { margin-top: -1px; } div.NavPic { margin: 0; padding: 2px; float: left; } div.NavHead { font-weight: bold; background-color: #efefef; } /* Redundant zu .visualClear in shared.css und IE60Fixes.css */ div.NavEnd { margin: 0; padding: 0; line-height: 1px; clear: both; } /* Stylesheet fuer den 'Ausklappen'-Button an Navileisten, der in [[MediaWiki:Common.js]] implementiert wird */ .NavToggle { font-size: x-small; float: right; } /* Workaround für Internet Explorer 6 */ div.NavFrame, div.NavPic, .NavToggle { position: relative; } /* Messagebox templates */ .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; margin: 4px auto; } /* For old WikiProject banners inside banner shells. */ .mbox-inside .standard-talk, .messagebox.nested-talk { border: 1px solid #c0c090; background-color: #f8eaba; width: 100%; margin: 2px 0; padding: 2px; } .messagebox.small { width: 238px; font-size: 85%; float: right; clear: both; margin: 0 0 1em 1em; line-height: 1.25em; } .messagebox.small-talk { width: 238px; font-size: 85%; float: right; clear: both; margin: 0 0 1em 1em; line-height: 1.25em; background: #F8EABA; } /* Cell sizes for ambox/tmbox/imbox/cmbox/ombox/fmbox/dmbox message boxes */ th.mbox-text, td.mbox-text { /* The message body cell(s) */ border: none; padding: 0.25em 0.9em; /* 0.9em left/right */ width: 100%; /* Make all mboxes the same width regardless of text length */ } td.mbox-image { /* The left image cell */ border: none; padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */ text-align: center; } td.mbox-imageright { /* The right image cell */ border: none; 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 template styles */ table.ambox { margin: 0 10%; /* Will not overlap with other elements */ border-collapse: collapse; background: #fbfbfb; border: 1px solid #aaa; border-left: 10px solid #1e90ff; /* Default "notice" blue */ } table.ambox th.ambox-text, table.ambox td.ambox-text { /* The message body cell(s) */ padding: 0.25em 0.5em; /* 0.5em left/right */ width: 100%; /* Make all templates the same width regardless of text size */ } table.ambox td.ambox-image { /* The left image cell */ padding: 2px 0px 2px 0.5em; /* 0.5em left, 0px right */ text-align: center; } table.ambox td.ambox-imageright { /* The right image cell */ padding: 2px 4px 2px 0px; /* 0px left, 4px right */ text-align: center; } table.ambox-notice { border-left: 10px solid #1e90ff; /* Blue */ /* border-right: 10px solid #1e90ff; */ /* If you want two blue bars */ } table.ambox-delete, table.ambox-serious { border-left: 10px solid #b22222; /* Red */ } table.ambox-content { border-left: 10px solid #f28500; /* Orange */ } table.ambox-style { border-left: 10px solid #f4c430; /* Yellow */ } table.ambox-merge { border-left: 10px solid #9932cc; /* Purple */ } table.ambox-protection { border-left: 10px solid #bba; /* Gray */ } table.ambox.ambox-mini { /* Small floating box variant */ float: right; clear: right; margin: 0 0 0 1em; width: 25%; } @media print { /* Do not print article message box */ .ambox { display: none; } } /* 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. */ } .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" */ margin: 2px 0; /* class ensures that this declaration overrides other */ width: 100%; /* For Safari and Opera */ /* styles (including mbox-small above) */ } .mbox-inside .tmbox.mbox-small { /* "small" tmboxes should not be small when */ line-height: 1.5em; /* also "nested", so reset styles that are */ font-size: 100%; /* set in "mbox-small" above. */ } table.tmbox-speedy { border: 2px solid #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:Noarticletext]] and [[MediaWiki:Readonly lag]]. */ div.mw-lag-warn-normal, div.noarticletext, 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. */ clear: right; float: right; margin: 4px 0 4px 1em; width: 238px; font-size: 88%; line-height: 1.25em; } body.mediawiki table.mbox-small-left { /* For the "small=left" option. */ margin: 4px 1em 4px 0; width: 238px; border-collapse: collapse; font-size: 88%; line-height: 1.25em; } /* 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; } /* For template documentation */ .template-documentation { clear: both; margin: 1em 0 0 0; border: 1px solid #aaa; background-color: #ecfcf4; padding: 5px; } .thumbinner { min-width:100px; } /* 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; margin: .3em 0 0; padding: 0; } .nonumtoc #toc ul ul, .nonumtoc .toc ul ul { margin: 0 0 0 2em; } /*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. */ .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; } /* Geographical coordinates defaults. See [[Template:Coord/link]] for how these are used. The classes "geo", "longitude", and "latitude" are used by the [[Geo microformat]]. */ .geo-default, .geo-dms, .geo-dec { display: inline; } #coordinates, .geo-nondefault, .geo-multi-punct { display: none; } .longitude, .latitude { white-space: nowrap; } /* Do not expand coordinate URLs for printing */ #content span.coordinates a.external.text:after, #content span.coordinates a.external.autonumber:after { content: ""; } #content div.coordinates a.external.text:after, #content div.coordinates a.external.autonumber:after { content: ""; } /* 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! */ .plainlinksneverexpand a.external.text:after { display: none !important; } .plainlinksneverexpand a.external.autonumber:after { display: none !important; } /* Makes redirects appear in italics in categories and on [[Special:Allpages]] */ .redirect-in-category, .allpagesredirect { font-style: italic; } /* ära kuva «geo-microformat» märgendeid */ .geo {display:none;} /* Prevent line breaks in silly places: 1) Links when we don't want them to 2) Bold "links" to the page itself 2) HTML formulae 3) Ref tags with group names <ref group="Note"> --> "[Note 1]" */ .nowraplinks a, .nowraplinks .selflink, span.texhtml, sup.reference a { white-space: nowrap; } /* deprecated prettytable class; should match wikitable class [[rev:48842]] (v.a kirja suurus) */ table.wikitable, table.prettytable { margin: 1em 1em 1em 0; background: #f9f9f9; border: 1px #aaa solid; border-collapse: collapse; font-size:95%; } 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: #e9e9e9; }