MediaWiki:Common.css
Piezīme: Lai redzētu izmaiņas, pēc publicēšanas var nākties iztīrīt sava pārlūka kešatmiņu.
- Firefox / Safari: Pieturi Shift un klikšķini uz Pārlādēt vai nospied Ctrl-F5 vai Ctrl-R (⌘-R uz Mac)
- Google Chrome: Nospied Ctrl-Shift-R (⌘-Shift-R uz Mac)
- Internet Explorer / Edge: Pieturi Ctrl un klikšķini uz Pārlādēt vai nospied Ctrl-F5
- Opera: Nospied Ctrl-F5.
/*<nowiki> Common CSS for all skins - copy to your user CSS to change */
/*******************************/
/* wikitable/prettytable class */
/*******************************/
/* wikitable/prettytable class for skinning normal tables */
table.wikitable,
table.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #aaaaaa solid;
border-collapse: collapse;
}
table.wikitable th, table.wikitable td,
table.prettytable th, table.prettytable td {
border: 1px #aaaaaa solid;
padding: 0.2em;
}
table.wikitable th,
table.prettytable th {
background: #ccccff;
text-align: center;
}
table.wikitable caption,
table.prettytable caption {
margin-left: inherit;
margin-right: inherit;
}
/************************/
/* CommonsTicker styles */
/************************/
/* links */
.tickerDiffLink { } /* diff links in ticker */
.tickerMiscLink { } /* misc links in ticker */
/* remove list bullets */
.tickerList ul, .tickerList ul li { list-style: none; text-indent:-2em; margin-left:2em; text-align:left; }
.tickerList ul ul, .tickerList ul ul li { list-style: none; text-indent:0; margin-left:1.5em; text-align:left; }
/* per-type styles */
.tickerEntry_deleted { } /* entry for image deletion */
.tickerEntry_restored { } /* entry for restored image */
.tickerEntry_replaced { } /* entry for image replacement */
.tickerEntry_tagged { } /* entry for adding/removing problem tags */
.tickerEntry_redir { } /* entry for critical redirection (fot tag redirects) */
.tickerEntry_recat { } /* entry for critical re-categorization (for tag categories) */
.tickerEntry_notify { } /* entry for global notifications */
.tickerEntry_changed { } /* entry for generic change */
/* per-status styles */
.tickerStatus_done { text-decoration:line-through; } /* strike through when entry has been handeled */
/* per-action styles */
.tickerAction_deleted:before { content:" GONE "; color: #FF0000; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_restored:before { content:" BACK "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_deletedRev:before { content:" -OLD "; color: #DDAAAA; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_replaced:before { content:" REPL "; color: #CC88FF; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_replacedOwn:before { content:" UPDT "; color: #EEAAFF; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_addedBad:before { content:" +VfD "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_removedBad:before { content:" -VfD "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_addedGood:before { content:" +OK "; color: #00BB00; font-family:monospace; font-weight:bold; font-size:100%; }
.tickerAction_removedGood:before { content:" -OK "; color: #FF8800; font-family:monospace; font-weight:bold; font-size:100%; }
/* ticker usage list */
.tickerUsage { font-size:80%; }
/* entry applies to a template used by multiple images */
.tickerTemplateEntry { font-weight: bold; }
/* entry applies to sub-entries, i.e. images that use a specific template */
.tickerSubEntry { }
/* minor entry styles */
.tickerMinorEntry { color:#666; } /* minor entry */
.tickerMinorEntry a,
.tickerMinorEntry a:link,
.tickerMinorEntry a:visited { color:#669; }
#bodyContent .tickerMinorEntry a.extiw,
#bodyContent .tickerMinorEntry a.extiw:link,
#bodyContent .tickerMinorEntry a.extiw:visited { color:#669; }
/*****************/
/* miscellaneous */
/*****************/
/* hiddenStructure class from Monobook - allows selective hiding of markup in templates */
.hiddenStructure {
display: none;
speak: none;
}
/* audiolink class for links with loudspeaker icon next to them - like in {{Audio}} template */
.audiolink a {
background: url("//upload.wikimedia.org/wikipedia/commons/f/f7/Loudspeaker.png") center left no-repeat !important;
padding-left: 16px !important;
padding-right: 0 !important;
}
/* make redirects appear as italic on [[Special:Allpages]] */
.allpagesredirect {
font-style: italic
}
/* Default style for PrettyTextBox and InformationBox class of templates */
/* Default style for Template:Warning, Template:Info, and the like */
.InformationBox {
width: 80%;
border: solid #999999 1px;
background: #F8F8F8;
margin: 0.5em auto;
clear: both;
color: #000000;
padding: 3px;
}
.PrettyTextBox {
background-color: #F9F9F9;
color: #000000;
border: 1px solid #AAAAAA;
padding: .2em;
}
/* Infobox template style */
.infobox {
border: 1px solid #aaaaaa;
background-color: #f9f9f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: left;
}
.infobox td,
.infobox th {
vertical-align: middle;
}
.infoxbox th {
text-align:center;
background:#f0f0ff;
}
.archive-box {
border: 1px solid #aaaaff;
background-color: #f2f2f9;
color: black;
margin-bottom: 0.5em;
margin-left: 1em;
padding: 0.2em;
float: right;
clear: right;
text-align: center;
}
/* DynamicNavigation aka box hiding from .de. */
div.Boxmerge,
div.NavFrame {
margin: 0px;
border: 1px solid #aaaaaa;
border-collapse: collapse;
text-align: center;
font-size: 95%;
clear:both;
}
div.Boxmerge:hover, .NavFrame:hover {
border:1px solid #ccccff;
}
div.Boxmerge div.NavFrame {
border: 0px;
}
div.NavFrame + div.NavFrame {
border-top: 0px;
}
div.NavPic {
margin: 0px;
padding: 2px;
float: left;
}
div.NavFrame div.NavHead {
padding:0.2em;
font-weight: bold;
font-size: 95%;
background-color: #ccccff;
position:relative;
}
div.NavFrame div.NavHead:hover {
background-color: #aaaaff;
}
div.NavFrame div.NavHead .navigation {
position:absolute;
right:3px;
font-weight:normal;
font-size:smaller;
cursor:pointer;
}
div.NavFrame p,
div.NavFrame div.NavHead a,
div.NavFrame div.NavContent,
div.NavFrame div.NavContent p
{
font-size: 100%;
}
/* Remove padding from external links displayed without icon */
.plainlinks .urlexpansion {display: none !important;}
.plainlinks a {background:none !important; padding:0px !important;}
.plainlinks a.external.text:after {display: none !important;}
.plainlinks a.external.autonumber:after {display: none !important;}
/*****
** Bytecounter colours
*****/
strong.mw-plusminus-neg { color: #c00; }
span.mw-plusminus-neg { color: #900; }
span.mw-plusminus-pos { color: #060; }
/*
* Navigation Tabs
*/
.navtabs .tabs li { list-style:none; }
.navtabs .tabs a {
text-decoration:none;
text-transform:uppercase;
outline-width:0px;
font-size:x-small;
font-weight:bold;
color:black;
}
.navtabs .tabs .inactive { background:#bbb; padding:1ex; }
.navtabs .tabs .selected { background:#999; padding:1.1ex; }
.navtabs .tabs .inactive:hover { background:#f75; }
.navtabs .contents { padding:1ex; border:3px solid #999; }
.DPLFlat li {
display: inline;
padding-right: 0.5em;
margin-right: 0.5em;
border-right: 1px solid #AAA;
}
.DPLFlat > ul > li {
padding-right:0px;
margin-right:0px;
border-right:0px;
}
.DPLFlat li+li {
padding-left: 0.5em;
margin-left: 0.5em;
border-left:1px solid #aaa;
}
/* show or hide certain elements of a book when printing */
@media print {
.editlink, .noprint, .metadata, .dablink, .toc, .infobox, .catlinks, .subpages,
.navigation, #privacy, #about, #disclaimer {
display: none !important;
}
div.expand-print { display: block !important; }
span.expand-print { display: inline !important; }
}
@media screen, projection {
.printonly { display: none !important; }
}
body.page-Main_Page h1.firstHeading, .page-Main_Page #siteSub { display: none; }
.page-Main_Page h2 { font-size:16pt; margin:0; padding: 0; border-bottom:0; font-weight: bold; }
/* Put a checker background at the image description page only visible if the image has transparent background */
#file img {background: url("//upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat;}
/* End of Common CSS skin </nowiki>*/