MediaWiki:Common.css

Aus Watch-Wiki
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.
/* CSS an dieser Stelle wirkt sich auf alle Skins aus */

/* -------------------------- */
/* Hauptseiten                */
/* -------------------------- */

/* Ausblendungen auf der deutschen Hauptseite */

body.page-Hauptseite_de #catlinks,
body.page-Hauptseite_de #contentSub,
body.page-Hauptseite_de h1.firstHeading {
  display: none;
}
body.page-Hauptseite_en #catlinks,
body.page-Hauptseite_en #contentSub,
body.page-Hauptseite_en h1.firstHeading {
  display: none;
}
body.page-Hauptseite_nl #catlinks,
body.page-Hauptseite_nl #contentSub,
body.page-Hauptseite_nl h1.firstHeading {
  display: none;
}
body.page-Hauptseite_pt #catlinks,
body.page-Hauptseite_pt #contentSub,
body.page-Hauptseite_pt h1.firstHeading {
  display: none;
}
body.page-Hauptseite_ru #catlinks,
body.page-Hauptseite_ru #contentSub,
body.page-Hauptseite_ru h1.firstHeading {
  display: none;
}

/* --------------- */
/* Fileinfo        */
/* --------------- */
 
table.fileinfo {
    border-collapse: separate;
    border-spacing: 1px;
    margin-top: 0;
    margin-left: 1.5em;
    margin-right: 1.5em;
    width: 95%;
}
table.fileinfo .filetitel {
    background: #ffffcc;
    text-align: right;
    vertical-align: middle;
    font-weight: bold;
    padding: 0.5em;
    border: 0;
}
table.fileinfo .fileeintrag {
    font-weight: normal;
    padding: 0.5em;
    border: 0;
    width: 85%;
}

/* --------------- */
/* Infobox         */
/* --------------- */
table.infobox {
    margin: 1em 1em 1em 0;
    background: whitesmoke;
    border: 1px darkgray solid;
    border-collapse: collapse;
    text-indent:2px;
    empty-cells:show;
}
.infobox th, .infobox td {
    border: 1px darkgray solid;
    padding: 0.2em;
}
.infobox th {
    background: gainsboro;
    text-align: center;
}
.infobox caption {
    font-weight: bold;
}
table.infobox .paramerror {
    text-align: center;
    color: darkred;
    font-weight: bold;
    background: none;
    margin: 0 0;
    padding: 0.5em;
    border: 1px darkred solid;
}


/* --------------- */
/* Wikitable       */
/* --------------- */
table.wikitable,
table.wikisubtable,
table.wikifoldtable {
    background: whitesmoke;
    border-collapse: collapse;
    empty-cells:show;
}
 
table.wikitable {
    margin: 1em 1em 1em 0;
    border: 1px darkgray solid;
    /* text-indent: 2px; */
}
.wikitable th, .wikitable td {
    border: 1px darkgray solid;
    padding: 0.25em;
}
.wikitable th,
.wikisubtable th,
.wikifoldtable th {
    background: gainsboro;
    text-align: center;
}
.wikitable caption,
.wikisubtable caption,
.wikifoldtable caption {
    font-weight: bold;
}
 
table.float-left {
  float: left;
  clear: left;
}
table.float-right {
  float: right;
  clear: right;
  margin: 1em 0 1em 1em;
}
table.centered {
  margin-left: auto;
  margin-right: auto;
  margin-top:1.95em;
}
table.texttop td {
  vertical-align:top;
}
 
table.wikifoldtable {
  margin: 0;
  border: 1px darkgray hidden;
  text-indent: 1px;
}
.wikifoldtable th, .wikifoldtable td {
  border: 1px darkgray solid;
  padding: 0;
  vertical-align:top;
  font-size: 100%;
}
 
table.wikisubtable {
  margin: 0;
  border: 1px darkgray hidden;
  text-indent: 1px;
  width:100%
}
.wikisubtable th, .wikisubtable td {
  border: 1px darkgray solid;
  padding: 0;
  vertical-align:top;
  font-size: 75%;
}

/* -------------------------- */
/* Contribs                   */
/* -------------------------- */
table.sp-contributions-footer {
  clear: both;
  border: 1px solid darkgray;
  background: whitesmoke;
  width: 100%; 
  margin: .2em auto;
  font-size: 84%;
  padding: 0px;
}