MediaWiki:Common.css

Aus Poké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: Extras → Internetspuren löschen … → Individuelle Auswahl → Den kompletten Cache löschen
  • Konqueror: Aktualisieren anklicken oder F5 drücken
/** CSS an dieser Stelle wirkt sich auf alle Skins aus */



/* define style of spoiler button */
.spoilerButton {
  border: 1px solid #999;
  border-top-color: #ddd;
  border-left-color: #ddd;
  background: #eee;
  padding: 3px 6px;
}
.spoilerButton:hover {
  border: 1px solid #ddd;
  border-top-color: #aaa;
  border-left-color: #aaa;
}
.spoilerHidden {
  display:none;
}

div.pwBar {
  background-color: #F9F9F9;
  padding: 1px !important;
  border: 1px solid #000;
  font-size: 12px;
  height: 14px;
  overflow: hidden;
}

#file img { background: url("http://upload.wikimedia.org/wikipedia/commons/5/5d/Checker-16x16.png") repeat; }

#mw-upload-deleted-warn { margin-bottom: 1em; padding: 0.5em; border: 1px solid #ddd; }

/* 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 {
    background-color: #ffffff;
    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;
 }

/* CSS für Vorlage:Typen, verkleinert den Code dort dramatisch... :-) */

.TypBox td { text-align:center; }
.TypBox .red { background: #ff3817}
.TypBox .green { background: #05a627}
.TypBox .gray { background: #ddd}
.TypBox .active, .TypBox .active td { background: #d3d3d3; }
.TypBox .active .red, .TypBox .active.red { background: #bb2911}
.TypBox .active .green, .TypBox .active.green { background: #04771c}
.TypBox .active .gray, .TypBox .active.gray { background: #ccc}


/* basic styles. funktionieren nur gut mit hellen/weißen hintergründen im hauptinhalt */
/* <pre> */

.noarticletext { padding: 5px !important; background-color: #f6f6f6 !important; }

.flashbenoetigt {
  background-image: url("http://www.pokewiki.de/images/6/60/Flash_benoetigt.png");
  background-repeat: no-repeat;
  background-position: center center;
}

.babelitem {
  margin: 0.2em 0;
  color: #000;
}

.babelitem th {
  width: 2.7em;
  height: 2.7em;
  font-size: 14pt;
  padding: 0 0.2em;
}

.babelitem td {
  line-height: 1.25em;
  font-size: 8pt;
  padding: 4pt;
}

.inhaltBg { background-color: #FFF; }

div.thumb {
    border: none;
}

/******* Styles der Hauptseite *******/
.mainpage_1 {
  padding: 0.5em 1.0em;
  background: #f8f8f8;
  border: 1px solid #999;
}

.mainpage_2a {
  border: 1px solid #88a;
  background: #e6e9ff;
  padding: 0.5em;
  text-align: left;
}
.page-Hauptseite .mainpage_2a {
  padding: 0.35em;
}
.page-Hauptseite h2 {
  padding-top:0.2em;
}
.page-Hauptseite div#bodyContent h1 {
  margin-bottom:0.8em
}
.mainpage_2b {
  border:1px solid #AAAAAA;background-color:#FCFCFC;
  padding: 0.5em;
}

.mainpage_3 {
  text-align: left;
  padding: 0.5em 1.0em;
  border: 1px solid #999;
}

.mainpage_4 {
  text-align: center;
  padding: 0.5em 1.0em;
  margin: 0 0.25em 0 0;
  background: #cfc;
  border: 1px solid #8a8;
}

/******* Kleinschreibung nicht erzwingen *******/
.portlet h5,
.portlet h6,
#p-personal ul,
#p-cactions li a {
	text-transform: none;
}

caption {
  font-weight:bold;
}
/******* prettytable *******/

.prettytable, .tabelle-grau,.learnset_table,.pokemoninfobox,.prettytable2,.prettytable-eng  {
  margin: 1em 1em 1em 0;
  background: #f9f9f9;
  border: 1px #AAA solid;
  border-collapse: collapse;
  empty-cells:show;
}
.learnset_table {
  margin: 1em 0.1em 1em 0;
}
.pokemoninfobox {
  margin: 0;
}
 
.prettytable th, .prettytable td, .prettytable2 th, .prettytable2 td, .prettytable-eng td, .prettytable-eng th,.tabelle-grau td, .tabelle-grau th,.learnset_table td, .learnset_table th,.pokemoninfobox td, .pokemoninfobox th {
  border: 1px #AAA solid;
  padding: 0.2em 0.3em;
}
.learnset_table td, .learnset_table {
  padding: 0.1em 0.3em;
}
.prettytable-eng td, .prettytable-eng th {
  padding: 0.1em 0.25em;
}

.pokemoninfobox td,.pokemoninfobox th{
  padding: 0.1em 0.4em;
}
.learnset_table th {
  background: #e0e0e0;
}
 
caption {
  margin:0;
  font-size:110%;
  text-align:center;
  font-weight: bold;
}
 
.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;
}

/* neuer tabellen-style, rund */
.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;
  padding:0.05em;
  margin: 0 0.5em 0.5em 0;
}
.roundtable th,.mw-statistics-table th {
  padding:0.1em 0.5em;
}
.mw-statistics-table th {
  border-radius:0.5em;
  -moz-border-radius:0.5em;
  padding:0.1em 0.5em !important;
}
.mw-statistics-table td {
  border:0 !important;
  border-bottom: 1px dashed #66cc66 !important;
  padding-right:0.5em;
}
.roundtable td, .mw-statistics-table td {
  border:0;
  border-bottom: 1px dashed #66cc66;
  padding-right:0.5em;
}
.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.straße th,.mw-statistics-table th {
  background: #d4d4d4;
}
.roundtable.straße, .mw-statistics-table {
  border-color: #e0e0e0 !important;
}
.roundtable.straße td,.mw-statistics-table td {
  border-color: #cccccc !important;
}


.lightBg1 { background: #F9F9F9; }
.darkBg1 { background: #EFEFEF; }
.darkBg2, tr.darkBg2 td { background: #BCBCBC; }

.lightBorder1 { border: 1px solid #ccc; }
.darkBorder1 { border: 1px solid #aaa; }

.lightBorder1-left { border-left: 1px solid #ccc; }
.darkBorder1-left { border-left: 1px solid #aaa; }

.lightBorder1-right { border-right: 1px solid #ccc; }
.darkBorder1-right { border-right: 1px solid #aaa; }

.lightBorder1-top { border-top: 1px solid #ccc; }
.darkBorder1-top { border-top: 1px solid #aaa; }

.lightBorder1-bottom { border-bottom: 1px solid #ccc; }
.darkBorder1-bottom { border-bottom: 1px solid #aaa; }


.allpagesredirect a { font-style: italic; color: gray !important; }

.pokemon_move_method { background:#ddd; padding: 4px; font-size: 90%; margin-top: 5px;}
.pokemon_move_box { margin-top: 3px; width: 140px; text-align:center; border: 1px #999 solid; line-height:1.0;}
.pokemon_stats_table { border-collapse: collapse; }
.pokemon_stats_table td, .pokemon_stats_table th { border-bottom: 1px solid #999; padding: 4px 15px 4px 0; text-align:left;} 

/* hack to have more than one image floated left */
.floatImagesLeft div.tleft {
  clear:none;
  border-width:0.5em 0.1em 0.8em 0;
}

/* pre style */
pre {
  padding: 1em;
  line-height:1.2;
  border: 1px dashed #2f6fab;
  border-width: 1px 0;
  color: black;
  background-color: #f9f9f9;
  line-height: 1.1em;
  overflow-x:auto;
  font-size:90%;
  font-family: Consolas, Courier New, sans-serif;
}

.poke_items ul {
  list-style:none;
  margin:0.3em 0 0 0.1em;
}

/* leichte runde ecken bei navigationsleisten, testweise */
.navigationsleiste {
  clear:both;
}
.navigationsleiste, .navigationsleiste th, .NavFrame, .NavFrame th, .NavHead, .BoxenVerschmelzen {
  -moz-border-radius:0.5em;
  border-radius:0.5em;
}

.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;
}

/* Unterbindet gepunkteten Rand um aktive Links  */

.noactiveoutline:active,
.noactiveoutline a:active
{
  outline: none;
}

/* Inhalts-Switcher über Tabs */

.ContentTabs {
  margin: 1em auto;
  border: 1px solid #ccc;
}
.Tabs {
  overflow:hidden;
  border-bottom:1px solid #ccc;
  background:#fafafa;
}
.Tabs div, .Tabs a {
  float:left;
  border-right:1px solid #ccc;
  padding: 0.1em 0.5em;
  font-size:95%;
}
.Tabs a.active {
  background: #eaeaea;
}
.Contents {
  padding:0.5em;
}
.Contents div {

}
/* </pre> */