MediaWiki:Common.css
Zur Navigation springen
Zur Suche springen
Hinweis: Leere nach dem Speichern 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: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
- Opera: Gehe zu Menü → Einstellungen (Opera → Einstellungen auf dem Mac) und dann auf Datenschutz & Sicherheit → Browserdaten löschen → Gespeicherte Bilder und Dateien.
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
p {
text-align : justify;
}
.noautonum .tocnumber { display: none; }
/* atm used for displying icons above the headline-line (for instance page protection or otrs); on wikipedia in vector included? (no) */
div.topicon {
display: block !important;
margin-right: -10px;
position: absolute;
top: -2em;m
}
.wikitable,
.prettytable {
margin: 1em 1em 1em 0;
background: #f9f9f9;
border: 1px #AAA solid;
border-collapse: collapse;
empty-cells:show;
}
.wikitable th, .wikitable td,
.prettytable th, .prettytable td {
border: 1px #AAA solid;
padding: 0.3em;
}
.wikitable caption,
.prettytable caption {
margin-left: inherit;
margin-right: inherit;
font-weight: bold;
}
/* even and odd in tables */
.row-even {background-color:#FFF;}
.row-odd {background-color:#CDE6EA;}
.nogrid th, .nogrid td {border: none;}
.float-left { float: left; clear: left; }
.float-right { float: right; clear: right; margin: 1em 0 1em 1em; }
.centered { margin-left: auto; margin-right: auto; }
/* simulated headlines */
.h2simulated {
margin-bottom: 0.6em;
font-size: 150%;
background: none repeat scroll 0 0 transparent;
border-bottom: 1px solid #AAAAAA;
color: black;
font-weight: normal;
margin: 0;
overflow: hidden;
padding-bottom: 0.17em;
padding-top: 0.5em;
margin-bottom: 0.7em;
}
/* * Infobox template style */
.infobox {
border: 1px solid #aaa;
background-color: #f9f9f9;
color: black;
/* @noflip */
margin: 0.5em 0 0.5em 1em;
padding: 0.2em;
/* @noflip */
float: right;
/* @noflip */
clear: right;
/* @noflip */
text-align: left;
font-size: 88%;
line-height: 1.5em;
width: 300px;
}
.infobox span.objtitle {
font-size: 120%;
font-weight: bold;
}
.infobox tr,
.infobox th {
vertical-align: top;
margin: 0 0.2em 0 0.2em;
}
.infobox tr.separator {
padding: 0.05em;
}
.infobox th {
font-weight: bold;
}
.infobox td.titletext {
text-align: center;
font-size: 120%;
font-weight: bold;
font-variant: small-caps;
}
.infobox th.headertext {
text-align: center;
font-weight: bold;
font-variant: small-caps;
background-color: #cccccc;
}
.infobox .typ_plain {
background-color:#999;
}
/* * Messagebox classes */
/* Cell sizes for mbox message boxes */
th.mbox-text, td.mbox-text { /* The message body cell(s) */
border: none;
/* @noflip */
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;
/* @noflip */
padding: 2px 0 2px 0.9em; /* 0.9em left, 0px right */
text-align: center;
}
td.mbox-imageright { /* The right image cell */
border: none;
/* @noflip */
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;
}
/* message box styles */
table.mbox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #1e90ff; /* Default "notice" blue */
background: #fbfbfb;
}
.mbox .mbox-text .mbox { /* For mboxes inside mbox-text cells. */
margin: 0 -0.5em; /* 0.9 - 0.5 = 0.4em left/right. */
display: block; /* Fix for webkit to force 100% width. */
}
.mbox-inside .mbox { /* For mboxes inside other templates. */
margin: 4px;
}
table.mbox {
margin: 4px 10%;
border-collapse: collapse;
border: 1px solid #aaa; /* Default "notice" blue */
border-left: 10px solid #1e90ff;
background: #fbfbfb;
}
.mbox-inside .mbox { /* For mboxes inside other templates. */
margin: 4px;
}
table.mbox-subpage {
border-left: 10px solid #7ed09d; /* Turquoise a0d7b5 */
}
table.mbox-notice {
border-left: 10px solid #1e90ff; /* Blue */
}
table.mbox-fatalerror {
border-left: 10px solid #b22222; /* Red */
background: #fee; /* Pink */
}
table.mbox-error {
border-left: 10px solid #b22222; /* Red */
}
table.mbox-warning {
border-left: 10px solid #f28500; /* Orange */
}
table.mbox-style {
border-left: 10px solid #f4c430; /* Yellow */
}
table.mbox-protection {
border-left: 10px solid #bba; /* Gray-gold */
}
table.mbox-license {
border-left: 10px solid #88a; /* Dark gray */
background: #f7f8ff; /* Light gray */
}
table.mbox-featured {
border-left: 10px solid #cba135; /* Brown-gold */
}
/* Remove bullets when there are multiple edit page warnings */
ul.permissions-errors > li {
list-style: none none;
}
ul.permissions-errors {
margin: 0;
}
#mw-protectedpagetext { /* defines the box around text for protection notice */
margin: 0px;
padding: 20px;
background-attachment: scroll;
background-clip: border-box;
background-color: #F9F9F9;
background-image: none;
background-origin: padding-box;
background-position: 0% 0%;
background-repeat: repeat;
background-size: auto auto;
border-bottom-color: #AAA;
border-bottom-style: none;
border-bottom-width: 0px;
border-image-outset: 0 0 0 0;
border-image-repeat: stretch stretch;
border-image-slice: 100% 100% 100% 100%;
border-image-source: none;
border-image-width: 1 1 1 1;
border-left-color: #AAA;
border-left-style: none;
border-left-width: 0px;
border-right-color: #AAA;
border-right-style: none;
border-right-width: 0px;
border-top-color: #AAA;
border-top-style: none;
border-top-width: 0px;
clear: both;
}
/* * Template Documentation */
.template-documentation {
clear: both;
margin: 1em 0 0 0;
border: 1px solid #aaa;
background-color: #ecfcf4;
padding: 1em;
}
/* Hatnotes and disambiguation notices */
.rellink,
.dablink {
font-style: italic;
/* @noflip */
padding-left: 1.6em;
margin-bottom: 1.5em;
}
.rellink i,
.dablink i {
font-style: normal;
}
/* collapsing elements */
.collapseToggler {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
margin-right: 0.2em;
/* @noflip */
text-align: right;
width: auto;
font-variant: small-caps;
cursor:pointer;
}
.js_param {
display:none;
}
/* *********************************** */
/* check, whether in use or depricated */
/* aus Vorlage zur Entlastung, skinabhängigen Darstellung und Kombinierbarkeit hierher ausgelagert */
/* Navbox template style */
/* Default style for navigation boxes */
.navbox { /* Navbox container style */
border: 1px solid #aaa;
width: 100%;
margin: auto;
clear: both;
font-size: 88%;
text-align: center;
padding: 1px;
}
.navbox-inner,
.navbox-subgroup {
width: 100%;
}
.navbox-group,
.navbox-title,
.navbox-abovebelow {
padding: 0.25em 1em; /* Title, group and above/below styles */
line-height: 1.5em;
text-align: center;
font-weight: bold;
font-variant: small-caps;
}
th.navbox-group { /* Group style */
white-space: nowrap;
/* @noflip */
text-align: right;
}
.navbox,
.navbox-subgroup {
background: #fdfdfd; /* Background color */
}
.navbox-list {
line-height: 1.8em;
border-color: #fdfdfd; /* Must match background color */
}
.navbox th,
.navbox-title {
/* background: #ccccff; /* Level 1 color */
background: #999;
}
.navbox-abovebelow,
th.navbox-group,
.navbox-subgroup .navbox-title {
/* background: #ddddff; /* Level 2 color */
background: #ccc; /* Level 2 color */
}
.navbox-subgroup .navbox-group,
.navbox-subgroup .navbox-abovebelow {
/* background: #e6e6ff; /* Level 3 color */
background: #eee; /* Level 3 color */
}
.navbox-even {
background: #f7f7f7; /* Even row striping */
}
.navbox-odd {
background: transparent; /* Odd row striping */
}
table.navbox + table.navbox { /* Single pixel border between adjacent navboxes */
margin-top: -1px; /* (doesn't work for IE6, but that's okay) */
}
.navbox .hlist td dl,
.navbox .hlist td ol,
.navbox .hlist td ul,
.navbox td.hlist dl,
.navbox td.hlist ol,
.navbox td.hlist ul {
padding: 0.125em 0; /* Adjust hlist padding in navboxes */
}
ol + table.navbox,
ul + table.navbox {
margin-top: 0.5em; /* Prevent lists from clinging to navboxes */
}
/* Default styling for Navbar template */
.navbar {
display: inline;
font-size: 88%;
font-weight: normal;
}
.navbar ul {
display: inline;
white-space: nowrap;
}
.navbar li {
word-spacing: -0.125em;
}
.navbar.mini li span {
font-variant: small-caps;
}
/* Navbar styling when nested in infobox and navbox */
.infobox .navbar {
font-size: 100%;
}
.navbox .navbar {
display: block;
font-size: 100%;
}
.navbox-title .navbar {
/* @noflip */
float: left;
/* @noflip */
text-align: left;
/* @noflip */
margin-right: 0.5em;
width: 6em;
}
/* 'show'/'hide' buttons created dynamically by the CollapsibleTables javascript
in [[MediaWiki:Common.js]] are styled here so they can be customised. */
.collapseButton {
/* @noflip */
float: right;
font-weight: normal;
/* @noflip */
margin-left: 0.5em;
/* @noflip */
text-align: right;
width: auto;
}
/* TO test to blacken the toggle-Button */
.collapseButton a {
color: black;
}
/* In navboxes, the show/hide button balances the v·d·e links
from [[Template:Navbar]], so they need to be the same width. */
.navbox .collapseButton {
width: 6em;
}
/* Styling for JQuery makeCollapsible, matching that of collapseButton */
.mw-collapsible-toggle {
font-weight: normal;
/* @noflip */
text-align: right;
}
.navbox .mw-collapsible-toggle {
width: 6em;
}
/**
* Styling for links generated by [[MediaWiki:Edittools]]
* @source www.mediawiki.org/wiki/Extension:CharInsert#Styling
* @updated 2012-02-29
*/
.mw-charinsert-buttons {
margin-top: 10px;
border: 1px solid #aaaaaa;
padding: 1px;
text-align: center;
font-size: 110%;
}
.mw-charinsert-buttons a {
color: black;
background-color: #cde !important;
font-weight: bold;
font-size: .9em;
text-decoration: none;
border: thin #069 outset;
padding: 0 .1em .1em;
}
.mw-charinsert-buttons a:hover,
.mw-charinsert-buttons a:active {
background-color: #bcd;
border-style: inset;
}
.client-js .mw-edittools-section {
display: inline;
}
.client-js .mw-edittools-section input[type="button"] {
font-size: 0.9em;
padding-left: 1px;
padding-right: 1px;
margin-left: 1px;
}