MediaWiki:Common.css
Aus Simpsonspedia
Hinweis: Leere nach dem Veröffentlichen den Browser-Cache, um die Änderungen sehen zu können.
- Firefox/Safari: Umschalttaste drücken und gleichzeitig Aktualisieren anklicken oder entweder Strg+F5 oder Strg+R (⌘+R auf dem Mac) drücken
- Google Chrome: Umschalttaste+Strg+R (⌘+Umschalttaste+R auf dem Mac) drücken
- Internet Explorer/Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
- Opera: Strg+F5
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Hintergrund */
body {
background: #ffc url( skins/MonoBook/resources/images/headbg.jpg ) 0 0 repeat-x;
color: black;
margin: 0;
padding: 0;
direction: ltr; /* Needed for RTL flipping */
unicode-bidi: embed;
}
/* Navigationen */
.navi {
padding:2px;
font-weight:normal;
font-size:90%;
border:1px solid #000;
}
.navi a {
color:#333;
}
.navi a.new {
color: #cc2200;
}
.navi a:visited {
color: green;
}
.navi a:hover {
background-color: #333;
color: #fff;
text-decoration: none;
}
.navi a:active {
background-color: #333;
color: #ffc;
text-decoration: none;
}
.navi a:focus {
background-color: #333;
color: #fff;
text-decoration: none;
}
.navi-e {
background-color:#fbcb14;
}
.navi-e a {
color: #000;
}
.navi-e a:visited {
color: #000;
}
.navi-e a:hover {
color: #000;
text-decoration: underline;
}
.navi-e a:active {
color: #000;
text-decoration: underline;
}
.navi-e a:focus {
color: #000;
text-decoration: underline;
}
.navi-h {
background-color:#933;
}
.navi-h a {
color:#fff;
}
.navi-h a:visited {
color: #fff;
}
.navi-h a:hover {
color: #ffc;
text-decoration: underline;
}
.navi-h a:active {
color: #fff;
text-decoration: underline;
}
.navi-h a:focus {
color: #ffc;
text-decoration: underline;
}
/* Namensräume */
.ns-0 #content,
.ns-0 #content div.thumb,
.ns-0 #mytabs li.selected a,
.ns-0 #p-cactions li.selected a {
background-color: white;
}
.ns-1 #content,
.ns-1 #content div.thumb,
.ns-1 #mytabs li.selected a,
.ns-1 #p-cactions li.selected a {
background-color: #f2f2f2;
}
.ns-2 #content,
.ns-2 #content div.thumb,
.ns-2 #mytabs li.selected a,
.ns-2 #p-cactions li.selected a,
.ns-4 #content,
.ns-4 #content div.thumb,
.ns-4 #mytabs li.selected a,
.ns-4 #p-cactions li.selected a,
.ns-6 #content,
.ns-6 #content div.thumb,
.ns-6 #mytabs li.selected a,
.ns-6 #p-cactions li.selected a,
.ns-8 #content,
.ns-8 #content div.thumb,
.ns-8 #mytabs li.selected a,
.ns-8 #p-cactions li.selected a,
.ns-10 #content,
.ns-10 #content div.thumb,
.ns-10 #mytabs li.selected a,
.ns-10 #p-cactions li.selected a,
.ns-12 #content,
.ns-12 #content div.thumb,
.ns-12 #mytabs li.selected a,
.ns-12 #p-cactions li.selected a,
.ns-14 #content,
.ns-14 #content div.thumb,
.ns-14 #mytabs li.selected a,
.ns-14 #p-cactions li.selected a {
background-color: #ffffe6;
}
.ns-3 #content,
.ns-3 #content div.thumb,
.ns-3 #mytabs li.selected a,
.ns-3 #p-cactions li.selected a,
.ns-5 #content,
.ns-5 #content div.thumb,
.ns-5 #mytabs li.selected a,
.ns-5 #p-cactions li.selected a,
.ns-7 #content,
.ns-7 #content div.thumb,
.ns-7 #mytabs li.selected a,
.ns-7 #p-cactions li.selected a,
.ns-9 #content,
.ns-9 #content div.thumb,
.ns-9 #mytabs li.selected a,
.ns-9 #p-cactions li.selected a,
.ns-11 #content,
.ns-11 #content div.thumb,
.ns-11 #mytabs li.selected a,
.ns-11 #p-cactions li.selected a,
.ns-13 #content,
.ns-13 #content div.thumb,
.ns-13 #mytabs li.selected a,
.ns-13 #p-cactions li.selected a,
.ns-15 #content,
.ns-15 #content div.thumb,
.ns-15 #mytabs li.selected a,
.ns-15 #p-cactions li.selected a {
background-color: #ffc;
}
#ca-nstab-special a{
background-color: white !important;
}
/* Graustufen für Bilder */
.graustufe25 img {filter: grayscale(25%);}
.graustufe50 img {filter: grayscale(50%);}
.graustufe75 img {filter: grayscale(75%);}
/* Extension:AmazonSearch */
div.amazonsearch {
display: inline-block;
width: 360px;
min-height: 160px;
margin: 2px 4px 2px 0;
padding: 2px;
border: 1px solid #111;
overflow: hidden;
}
div.amazonsearch .amazonsearchimg {
float: left;
margin: 0.1em 1em 0.1em 0.1em;
}
div.amazonsearch .amazonsearchname {
margin: 0;
font-size: 90%;
text-indent: 0;
}
div.amazonsearch p.amazonsearchauthor::before {
background-color: #bbb;
border-radius: 10%;
color: #fff;
padding: 0 2px 0 2px;
margin-right: 2px;
content: "Werbung";
}
div.amazonsearch p.amazonsearchauthor {
margin: 0;
font-size: 80%;
text-indent: 0;
}
div.amazonsearch ul {
margin: 0;
}
div.amazonsearch ul li {
display: inline-block;
text-align: center;
list-style: none;
font-size: 90%;
width: 12em;
margin: 2px;
padding: 0 2px 0 2px;
border-radius: 0.5em;
white-space: nowrap;
}
div.amazonsearch ul li a {
color: #fff;
}
div.amazonsearch ul .shoplinkamazon {
background-color: #f90;
}