MediaWiki:Common.css
Let op! Nadat u de veranderingen heeft opgeslagen, moet u de cache van uw browser nog legen om ze daadwerkelijk te zien.
Mozilla (incl. Firefox) | Ctrl+Shift+R |
Internet Explorer | Ctrl+F5 |
Opera | F5 |
Safari | Cmd+R |
Konqueror | F5 |
/** CSS placed here will be applied to all skins */
/*
==Redirects==
redirects groen en cursief in Speciaal:Allpages en Speciaal:Prefixindex
<syntaxhighlight lang=css>*/
.allpagesredirect a {
font-style: italic;
color: green;
}
.allpagesredirect a:visited {
color: #008000;
}
/*</syntaxhighlight>
==Prettytable en wikitable==
Maakt een tabel met grijze achtergrond en lijnen, met een donkergrijze kop. Eventueel overschrijven in bijvoorbeeld [[MediaWiki:Monobook.css|Monobook.css]], [[MediaWiki:Cologneblue.css|Cologneblue.css]].
<pre>*/
.prettytable, .prettytable table, .wikitable, .wikitable table
{
border: 1px solid #aaa;
border-collapse: collapse;
font-size: 95%;
margin: 1em 0;
background: #f9f9f9;
}
.prettytable table, .wikitable table
{
margin: 0;
}
.prettytable td, table.prettytable th, .wikitable td, table.wikitable th
{
border: 1px solid #aaa;
padding: 4px;
}
.prettytable th, .wikitable th
{
background-color: #ddd;
}
/*</pre> */
/* verschil in recente wijzigingen in rood en groen
<syntaxhighlight lang=css>*/
.mw-plusminus-pos {
color:green;
}
.mw-plusminus-neg {
color: #8B0000;
}
/*</syntaxhighlight>
== PDF icons ==
Dit is gekopieerd vanaf commons.css op de Engelstalige Wikipedia.
<syntaxhighlight lang=css>*/
/* 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(//upload.wikimedia.org/wikipedia/commons/8/83/15x18-fileicon-pdf.png) center right no-repeat;
padding-right: 16px;
}
/* Change the external link icon to an Adobe icon anywhere the PDFlink class */
/* is used (notably Template:PDFlink). This works in IE, unlike the above. */
span.PDFlink a {
background: url(//upload.wikimedia.org/wikipedia/commons/8/83/15x18-fileicon-pdf.png) center right no-repeat !important;
padding-right: 17px !important;
}
/*</syntaxhighlight>
==Hoofdpagina als titel uitzetten (is lelijk)==
<syntaxhighlight lang=css>*/
body.page-Hoofdpagina h1.firstHeading { display: none; }
/*</syntaxhighlight>*/
/* Babel-extensie */
.mw-babel-footer { display: none; }
div.mw-babel-box table th {
font-family: Arial;
}
div.mw-babel-box-1, div.mw-babel-box-2, div.mw-babel-box-3 {
border-color: #99B3FF;
}
div.mw-babel-box-1 table th, div.mw-babel-box-2 table th, div.mw-babel-box-3 table th {
background-color: #99B3FF;
}
div.mw-babel-box-1 table td, div.mw-babel-box-2 table td, div.mw-babel-box-3 table td {
background-color: #E0E8FF;
}
div.mw-babel-box-5 {
border-color: #6ef7a7;
}
div.mw-babel-box-5 table th {
background-color: #6ef7a7;
}
div.mw-babel-box-5 table td {
background-color: #c5fcdc;
}
div.mw-babel-box-4 {
border-color: #77E0E8;
}
div.mw-babel-box-4 table th {
background-color: #77E0E8;
}
div.mw-babel-box-4 table td {
background-color: #D0F8FF;
}
div.mw-babel-box-0 {
border-color: #ffb3b3;
}
div.mw-babel-box-0 table th {
background-color: #ffb3b3;
}
div.mw-babel-box-0 table td {
background-color: #ffe0e8;
}