MediaWiki:Common.css

Aus WiiDatabase Wiki
Zur Navigation springenZur Suche springen

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. */

.box {
width: 100%;
margin-bottom: 14px;
border-spacing: 2px;
}

.box td {
padding: 8px 12px;
}

.box .box-title a {
color: yellow !important;
}
/*
 * Farbdefinitionen für Rahmen und Hintergründe von [[Wikipedia:Textbausteine|Textbausteinen]].
 * Anpassungen für andere Skins sind optional.
 * (Die Angaben der Rahmenstärke dienen der Bequemlichkeit, so dass man
 * für dünne Rahmen nur noch "border-style" angeben muss.)
 */
.rahmenfarbe1 { /* Wie Inhaltsverzeichnis */
	border: 1px #aaa;
}
.rahmenfarbe2 { /* Unauffällig, geringer Kontrast */
	border: 1px #e9e9e9;
}
.rahmenfarbe3 { /* "Rot", auffällig */
	border: 1px #c00000;
}
.rahmenfarbe4 { /* Neutrale Farbe, deutlich */
	border: 1px #88a;
}
.rahmenfarbe5 { /* "Schwarz", hoher Kontrast */
	border: 1px #000;
}

table > * > tr.hintergrundfarbe1 > th,
table > * > tr > th.hintergrundfarbe1,
table.hintergrundfarbe1,
.hintergrundfarbe1 { /* Wie Inhaltsverzeichnis */
	background-color: #f9f9f9;
}
table > * > tr.hintergrundfarbe2 > th,
table > * > tr > th.hintergrundfarbe2,
table.hintergrundfarbe2,
.hintergrundfarbe2 { /* "Weiß", für Nicht-Artikel-Seiten, neutral */
	background-color: #fff;
}
table > * > tr.hintergrundfarbe3 > th,
table > * > tr > th.hintergrundfarbe3,
table.hintergrundfarbe3,
.hintergrundfarbe3 { /* "Gelb", auffällig */
	background-color: #ffff40;
}
table > * > tr.hintergrundfarbe4 > th,
table > * > tr > th.hintergrundfarbe4,
table.hintergrundfarbe4,
.hintergrundfarbe4 { /* Sehr auffällig */
	background-color: #fa0;
}
table > * > tr.hintergrundfarbe5 > th,
table > * > tr > th.hintergrundfarbe5,
table.hintergrundfarbe5,
.hintergrundfarbe5 { /* Neutral, abgesetzt */
	background-color: #e0e0e0;
}
table > * > tr.hintergrundfarbe6 > th,
table > * > tr > th.hintergrundfarbe6,
table.hintergrundfarbe6,
.hintergrundfarbe6 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
	background-color: #b3b7ff;
}
table > * > tr.hintergrundfarbe7 > th,
table > * > tr > th.hintergrundfarbe7,
table.hintergrundfarbe7,
.hintergrundfarbe7 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
	background-color: #ffcbcb;
}
table > * > tr.hintergrundfarbe8 > th,
table > * > tr > th.hintergrundfarbe8,
table.hintergrundfarbe8,
.hintergrundfarbe8 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
	background-color: #ffebad;
}
table > * > tr.hintergrundfarbe9 > th,
table > * > tr > th.hintergrundfarbe9,
table.hintergrundfarbe9,
.hintergrundfarbe9 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
	background-color: #b9ffc5;
}

/* Rollback-Knopf auf Beobachtungsliste ausblenden, da es dort nur von sehr beschränktem Nutzen
   ist und zu sehr vielen Reverts aus Versehen führt */
.mw-special-Watchlist .mw-rollback-link {
	display: none;
}

/* wikitable/prettytable class for skinning normal tables */
table.wikitable {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}
table.wikitable th, table.wikitable td {
  border: 1px #aaaaaa solid;
  padding: 0.2em;
}
table.wikitable th {
  background: #f2f2f2;
  text-align: center;
}
table.wikitable caption {
  margin-left: inherit;
  margin-right: inherit;
}
 
/* apptable class for application lists */
table.apptable {
  width: 100%;
  background: #f9f9f9;
  border: 1px #aaaaaa solid;
  border-collapse: collapse;
}
table.apptable th, table.apptable td {
  border: 1px #aaaaaa solid;
  text-align: left;
  padding: 0.2em 0.4em 0.2em 0.4em;
}
table.apptable th {
  background: #f2f2f2;
  text-align: left;
  padding: 0.2em 0.4em 0.2em 0.4em;
}
table.apptable caption {
  margin-left: inherit;
  margin-right: inherit;
}
 
/* link navigation bar */
table.linkbar { 
  border-collapse: collapse;
}
table.linkbar td { 
  border: 1px solid #94c0d4;
  color: #000000;
  text-align: left;
  background: #c8dce5;
  white-space: nowrap;
}
table.linkbar td.sel { 
  background: #a4cddf;
  font-weight: bold;
  padding: 5px 15px 5px 15px;
}
table.linkbar td:hover { 
  background: #a4cddf; 
  cursor: pointer; 
}
table.linkbar a { 
  text-decoration: none; 
  color: #000000; 
  padding: 5px 15px 5px 15px; 
  display: block;
}
table.linkbarsub { 
  border-collapse: collapse; 
}
table.linkbarsub td { 
  border-right: 1px solid #c7c7c7; 
  border-left: 1px solid #c7c7c7; 
  border-bottom: 1px solid #c7c7c7; 
  color: #000000; 
  text-align: left; 
  background: #f0f0f0; 
  font-size: 12px;
  white-space: nowrap;
}
table.linkbarsub td.sel { 
  background: #dddddd; 
  font-weight: bold;
  padding: 5px 15px 5px 15px;
}
table.linkbarsub td:hover { 
  background: #dddddd; 
  cursor: pointer; 
}
table.linkbarsub a { 
  text-decoration: none; 
  color: #000000; 
  padding: 5px 15px 5px 15px;
  display: block; 
}
 
/* Makes redirects appear in italics in categories and on [[Special:Allpages]] */
.redirect-in-category, .allpagesredirect {
    font-style: italic;
}
 
/* Prevents line breaks in links */
.nowraplinks a {
    white-space: nowrap;
}
 
/* Increase the height of the image upload box */
#wpUploadDescription {
    height: 13em;
}
 
/* Reduce line-height for <sup> and <sub> */
sup, sub {
    line-height: 1em;
}
 
/* Coloured watchlist numbers */
.mw-plusminus-pos {
    color: #006400; /* darkgreen */
}
 
/* .mw-plusminus-null currently at developer default */
 
.mw-plusminus-neg {
    color: #8B0000; /* darkred */
}
 
/* Style for "notices" */
.notice {
    margin: 1em;
    padding: 0.2em;
}
 
/* Allow limiting of which header levels are shown in a TOC;
   <div class="toclimit-3">, for instance, will limit to
   showing ==headings== and ===headings=== but no further
   (as long as there are no =headings= on the page, which
   there shouldn't be according to the MoS).
 */
.toclimit-2 .toclevel-1 ul,
.toclimit-3 .toclevel-2 ul,
.toclimit-4 .toclevel-3 ul,
.toclimit-5 .toclevel-4 ul,
.toclimit-6 .toclevel-5 ul,
.toclimit-7 .toclevel-6 ul { display: none; }
.table#toc td, table.toc td {
    padding-right: 10px !important;
}

 
/* For template documentation */
.template-documentation {
    clear: both;
    margin: 1em 0 0 0;
    border: 1px solid #aaa; 
    background-color: #ecfcf4; 
    padding: 5px;
}

/* Rollback-Knopf auf Beobachtungsliste ausblenden, da es dort nur von sehr beschränktem Nutzen
   ist und zu sehr vielen Reverts aus Versehen führt */
.mw-special-Watchlist .mw-rollback-link {
	display: none;
}
 
.topicon {
	display: none;
}
 
/* Copied from english Wikipedia */
/* Make the list of references smaller */
ol.references,
div.reflist,
div.refbegin {
    font-size: 90%;            /* Default font-size */
    margin-bottom: 0.5em;
}
div.refbegin-100 {
    font-size: 100%;           /* Option for normal fontsize in {{refbegin}} */
}
div.reflist ol.references {
    font-size: 100%;           /* Reset font-size when nested in div.reflist */
    list-style-type: inherit;  /* Enable custom list style types */
}
 
/* Highlight clicked reference in blue to help navigation */
ol.references li:target,
sup.reference:target,
span.citation:target {
    background-color: #DEF;
}
 
/* Ensure refs in table headers and the like aren't bold or italic */
sup.reference {
    font-weight: normal;
    font-style: normal;
}
 
/* Allow hidden ref errors to be shown by user CSS */
span.brokenref {
    display: none;
}
 
/* Styling for citations (CSS3). Breaks long urls, etc., rather than overflowing box */
.citation {
    word-wrap: break-word;
}