MediaWiki:Common.css

Aus ConanWiki
Zur Navigation springen Zur 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
/* +++++ 1.  Wikitable für schöne Tabellen +++++ */

.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;
 }
 
 .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; }
 .toptextcells td { vertical-align: top; }


/* +++++ 2. Neue Tabellen +++++ */

.mw-statistics-table {
  border-collapse:separate !important;
}
.roundtable,.mw-statistics-table {
  border:2px solid #ccc;
  -moz-border-radius:0.5em;
  border-radius:0.5em;
  background:#fff;
}
.roundtable th,.mw-statistics-table th {
  padding:0.1em 0.5em;
}
.mw-statistics-table th {
  border-radius:0.5em;
  -moz-border-radius:0.5em;
}
.mw-statistics-table td {
  border:0 !important;
  border-bottom: 1px dashed #66cc66 !important;
}
.roundtable th, .roundtable td {
  border-radius:0.5em;
  -moz-border-radius:0.5em;
}
.roundtable td, .mw-statistics-table td {
  background-color:#ffffff;
  border: 0;
}
.roundtable.land th {
  background: #66cc66;
}
.roundtable.land, .roundtable.land td {
  border-color: rgb(172, 230, 172);
}
.roundtable.hoehle th {
  background: #cc9966;
}
.roundtable.hoehle,.roundtable.hoehle td {
  border-color: rgb(230, 201, 172);
}
.roundtable.wasser th {
  background: #6699CC;
}
.roundtable.wasser,.roundtable.wasser td {
  border-color: #ACC9E6
}
.roundtable.wüste th {
  background: #CDAD00;
}
.roundtable.wüste,.roundtable.wüste td {
  border-color: #EEC900
}
.roundtable.wiki th {
  background: #E6EEFF;
}
.roundtable.wiki,.roundtable.wiki td {
  border-color: #ACC9E6
}
.roundtable tr.highlight td {
  background-color:rgb(234,234,234);
}
.roundtable tr.filler td {
  background-color:rgb(227,255,185);
}
.roundtable.manga tr.highlight td {
  background-color:rgb(252,255,198);
}
.roundtable.anime {
  background-color:rgb(235,244,250);
  border-color:rgb(100,176,217);
}
.roundtable.anime th {
  background-color:rgb(184,219,237);
}

.roundtable.filler {
  background-color:rgb(244,255,240);
  border-color:rgb(148,252,103);
}
.roundtable.filler th {
  background-color:rgb(217,254,201);
}

.roundtable.stories {
  background-color:rgb(238,238,238);
  border-color:rgb(140,140,140);
}
.roundtable.stories th {
  background-color:rgb(209,209,209);
}

.roundtable.film, tr.film td {
 background-color:rgb(254,230,203);
}

.roundtable.film {
 border-color:rgb(253,151,38);
}

.roundtable.film th {
  background-color:rgb(254,200,139);
}

.roundtable.manga {
  background-color:rgb(237,224,209);
  border-color:rgb(180,131,71);
}
.roundtable.manga th {
  background-color:rgb(205,171,128);
}
.roundtable.kid {
  background-color:rgb(249,233,227);
  border-color:rgb(214,120,88);
}
.roundtable.kid th, tr.kid td {
  background-color:rgb(233,181,163);
}
.roundtable.grau {
 background-color:rgb(220,220,220);
}
.roundtable.grau th {
 background-color:rgb(220,220,220);
}
.roundtable.grau td {
 background-color:rgb(220,220,220);
}
.roundtable.grau tr {
 background-color:rgb(220,220,220);
}
.roundtable tr.grau td {
 background-color:rgb(220,220,220);
}

.roundtable.charakter {
  background-color:rgb(255,247,230);
  border-color:rgb(255,197,74);
}
.roundtable.charakter th {
  background-color:rgb(255,233,185);
}

.roundtable.wiki {
  background-color:rgb(242,247,255);
}

.round {
  border-radius:0.5em;
  -moz-border-radius:0.5em;
}
.round-left, .round-top, .round-topleft {
  border-radius-topleft:0.5em;
  -moz-border-radius-topleft:0.5em;
}
.round-right, .round-top, .round-topright {
  border-radius-topright:0.5em;
  -moz-border-radius-topright:0.5em;
}
.round-left, .round-bottom, .round-bottomleft {
  border-radius-bottomleft:0.5em;
  -moz-border-radius-bottomleft:0.5em;
}
.round-right, .round-bottom, .round-bottomright {
  border-radius-bottomright:0.5em;
  -moz-border-radius-bottomright:0.5em;
}

.noround {
  border-radius:0em !important; 
  -moz-border-radius:0em !important;
}
.noround-left, .noround-top, .noround-topleft {
  border-radius-topleft:0em !important;
  -moz-border-radius-topleft:0em !important;
}
.noround-right, .noround-top, .noround-topright {
  border-radius-topright:0em !important;
  -moz-border-radius-topright:0em !important;
}
.noround-left, .noround-bottom, .noround-bottomleft {
  border-radius-bottomleft:0em !important;
  -moz-border-radius-bottomleft:0em !important;
}
.noround-right, .noround-bottom, .noround-bottomright {
  border-radius-bottomright:0em !important;
  -moz-border-radius-bottomright:0em !important;
}

/* +++++ 3. Hauptseitendesign (aus der Wikipedia kopiert) +++++ */

 /* Hintergrund weiß */
 body.page-Wikipedia_Hauptseite #content {
       background-color: white;
 }
 #hauptseite h2 {
       background-color: #E6EEFF;
       border: 1px solid #8898bf;
       font-size: 1em;
       font-weight: bold;
       margin-top: 0;
       margin-bottom: 0;
       padding-top: 0.1em;
       padding-bottom: 0.1em;
 }
 #hauptseite .inhalt {
       background-color: #ffffff;
       border: 1px solid #8898bf;
       border-top: 0px solid white;
       padding: 0.3em 0.8em 0.4em 0.8em;
 }
 #hauptseite .inhalt hr {
       background-color: #8898bf;
       color: #8898bf;
       height: 1px;
       margin:0.5em 0;
       padding: 0;
 }
 #hauptseite .inhalt .mehr {
       clear: both;
       font-size: 95%;
       margin-top: 0.8em;
       text-align: right;
 }

 #hauptseite table {
       background-color: transparent;
 }

 .hauptseite-oben,
 .hauptseite-links,
 .hauptseite-rechts {
       margin-bottom: 1em;
 }
 .hauptseite-links {
       margin-right: 0.5em;
 }
 .hauptseite-rechts {
       margin-left: 0.5em;
 }
 .hauptseite-oben h2,
 .hauptseite-unten h2 {
       text-align: center;
 }
 .hauptseite-oben .inhalt .portale {
       font-weight: bold;
       margin-top: 0.2em;
       margin-bottom: 0.2em;
 }
 .hauptseite-oben .inhalt .intern {
       font-size: 90%;
       text-align: center;
 }
 .hauptseite-links h2,
 .hauptseite-rechts h2 {
       text-indent: 0.8em;
 }
 #hauptseite-schwesterprojekte .inhalt a {
       font-weight: bold;
 }

/* Stylesheet-Ergänzung zu Standard-[[Wikipedia:Navigationsleisten|Navigationsleisten]] */
 
 div.BoxenVerschmelzen,
 div.NavFrame {
    margin: 0px;
    padding: 3px 2px;
    border: 1px solid #aaaaaa;
    text-align: center;
    border-collapse: collapse;
    font-size: 95%;
        clear:both;
 }
 div.BoxenVerschmelzen div.NavFrame {
    border-style: none;
    border-style: hidden;
 }
 div.NavFrame + div.NavFrame {
    border-top-style: none;
    border-top-style: hidden;
 }
 div.NavPic {
    margin: 0px;
    padding: 0 2px 2px 2px;
    float: left;
 }
 div.NavFrame div.NavHead {
    height: 1.6em;
    font-weight: bold;
    font-size: 100%;
    background-color: #efefef;
 }
 div.NavHeadIndented div.NavHead {
    margin: 0 2em;
 }
 div.NavFrame p {
    font-size: 100%;
 }
 div.NavFrame div.NavContent {
    font-size: 100%;
 }
 div.NavFrame div.NavContent p {
    font-size: 100%;
 }
 div.NavEnd {
    margin: 0px;
    padding: 0px;
    line-height: 1px;
    clear: both;
 }
 
/* Stylesheet fuer den 'Ausklappen'-Button an Navileisten, der in [[MediaWiki:Common.js]] implementiert wird */
.NavToggle {
       font-size: x-small;
       float:right;
}
div.NavHeadIndented .NavToggle {
  margin: 0 3em 0 0;
}
 
 /* Abstand vor Navigationsleisten */
 
 div.BoxenVerschmelzen,
 div.NavFrame {
   margin-top: 1.5em;
 }
 div.BoxenVerschmelzen div.NavFrame {
   margin-top: 0;
 }
 div.NavFrame + div.NavFrame {
   margin-top: 0;
 }

/* Skinabhängige absolute Positionierungen ausblenden */
#artikelstadium,
#commons-icon,
#coordinates,
#editcount,
#issnlink,
#shortcut,
#spoken-icon,
.topicon {
	display: none;
}

/* Hintergrund- und Rahmenfarben */

.nogrid, .nogrid th, .nogrid td { border: none !important; background: none !important;}
.float-left { float: left; clear: left;}
.float-right { float: right; clear: right; margin: 1em 0 1em 1em;}
.centered { margin-left: auto; margin-right: auto;}

.rahmenfarbe1 { /* Wie Inhaltsverzeichnis */
    border-color: #aaaaaa;
    border-width: 1px;
}
.rahmenfarbe2 { /* Unauffällig, geringer Kontrast */
    border-color: #e9e9e9;
    border-width: 1px;
}
.rahmenfarbe3 { /* "Rot", auffällig */
    border-color: #c00000;
    border-width: 1px;
}
.rahmenfarbe4 { /* Neutrale Farbe, deutlich */
    border-color: #8888aa;
    border-width: 1px;
}
.rahmenfarbe5 { /* "Schwarz", hoher Kontrast */
    border-color: #000000;
    border-width: 1px;
}
 
.hintergrundfarbe1 { /* Wie Inhaltsverzeichnis */
    background-color: #f9f9f9;
}
.hintergrundfarbe3 { /* "Gelb", auffällig */
    background-color: #ffff40;
}
.hintergrundfarbe4 { /* Sehr auffällig */
    background-color: #ffaa00;
}
.hintergrundfarbe5 { /* Neutral, abgesetzt */
    background-color: #e0e0e0;
}
.hintergrundfarbe6 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
    background-color: #b3b7ff;
}
.hintergrundfarbe7 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
    background-color: #ffcbcb;
}
.hintergrundfarbe8 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
    background-color: #ffebad;
}
.hintergrundfarbe9 { /* Allgemein „bunt“, für Hervorhebungen und Unterscheidungen */
    background-color: #b9ffc5;
}

/* +++++ 4. Referenzen hervorheben +++++ */

ol.references > li:target, sup.reference:target, span.citation:target, cite:target {
background-color:#DDEEFF;
}

/* +++++ Vector Skin Tweaks (Version 1.22.3) +++++ */
#p-logo { top: -140px; }
div#mw-panel { top: 140px; }