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

/* Vorlage:Groupcolors.css */
@import url("/index.php?curid=185032&action=raw&ctype=text/css");

/* jquery Tipso */
@import url("/index.php?title=MediaWiki:Tipso.css&action=raw&ctype=text/css");

/* Splide */
@import url("/index.php?title=MediaWiki:Splide.css&action=raw&ctype=text/css");

/* Typen-Icons usw. */
@import url("/index.php?title=MediaWiki:IC.css&action=raw&ctype=text/css");

/* Extra-Fonts */
@font-face {
	font-family: 'Icognito';
	font-style: normal;
	font-weight: 400;
	font-display: swap;
	src: url('/images/ori_font.woff2') format('woff2');
}
.font-icognito {
	font-family: 'Icognito', sans-serif;
}

/* Ausblendung des Seitentitels auf der [[Hauptseite]] */
.page-Hauptseite #firstHeading { display: none; }

/* Design von [[MediaWiki:Noarticletext]] (wird auf der Systemseite nicht angezeigt) */
.noarticletext { padding: 5px !important; background-color: #f6f6f6 !important; }

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

/******* prettytable *******/
.prettytable  {
	margin: 1em 1em 1em 0;
	background: #f9f9f9;
	border: 1px #AAA solid;
	border-collapse: collapse;
	empty-cells: show;
}

.prettytable th, .prettytable td  {
	border: 1px #AAA solid;
	padding: 0.2em 0.3em;
}

caption {
	margin: 0;
	font-size: 110%;
	text-align: center;
	font-weight: bold;
}

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

/* roundtable */
.roundtable {
	border: 2px solid #ccc;
	border-radius: 0.5em;
	background: #fff;
	padding: 0.05em;
	margin: 0 0.5em 0.5em 0;
}
.roundtable th {
	padding: 0.1em 0.5em;
}
.roundtable td {
	border: 0;
	border-bottom: 1px dashed #bcbcbc;
	padding-right: 0.5em;
}
.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; }

/* pre style */
pre {
	padding: 1em;
	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;
}

.round,
.round[typeof="mw:File"] img,
.mw-warning-with-logexcerpt {
	border-radius: 0.5em;
}
.round-left,
.round-left[typeof="mw:File"] img {
	border-top-left-radius: 0.5em;
	border-bottom-left-radius: 0.5em;
}

.round-top,
.round-top[typeof="mw:File"] img {
	border-top-right-radius: 0.5em;
	border-top-left-radius: 0.5em;
}

.round-right,
.round-right[typeof="mw:File"] img {
	border-top-right-radius: 0.5em;
	border-bottom-right-radius: 0.5em;
}

.round-bottom,
.round-bottom[typeof="mw:File"] img {
	border-bottom-left-radius:0.5em;
	border-bottom-right-radius:0.5em;
}

.round-topleft,
.round-topleft[typeof="mw:File"] img,
table.innerround tr:not([style*="display:none"]):first-child td:not([style*="display:none"]):first-child,
table.innerround tr:not([style*="display:none"]):first-child th:not([style*="display:none"]):first-child {
	border-top-left-radius: 0.5em;
}

.round-topright,
.round-topright[typeof="mw:File"] img,
table.innerround tr:not([style*="display:none"]):first-child td:not([style*="display:none"]):last-child,
table.innerround tr:not([style*="display:none"]):first-child th:not([style*="display:none"]):last-child {
	border-top-right-radius: 0.5em;
}

.round-bottomleft,
.round-bottomleft[typeof="mw:File"] img,
table.innerround tr:not([style*="display:none"]):last-child td:not([style*="display:none"]):first-child,
table.innerround tr:not([style*="display:none"]):last-child th:not([style*="display:none"]):first-child {
	border-bottom-left-radius: 0.5em;
}

.round-bottomright,
.round-bottomright[typeof="mw:File"] img,
table.innerround tr:not([style*="display:none"]):last-child td:not([style*="display:none"]):last-child,
table.innerround tr:not([style*="display:none"]):last-child th:not([style*="display:none"]):last-child {
	border-bottom-right-radius: 0.5em;
}

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

/* Markierung von Redirects in [[Special:Allpages]], [[Special:Watchlist]], Kategorien */
.allpagesredirect, .watchlistredir, .redirect-in-category {
	font-style: italic;
}

/* Textausrichtungsklassen */
.l { text-align: left; }
.c { text-align: center; }
.r { text-align: right; }

/* classes für die Element-Ausrichtung */
.left, .links { float: left }
.right, .rechts { float: right }
.center, .zentriert, .centered { margin-right: auto; margin-left: auto; }

#toc, .toc {
    border-radius: 0.5em;
    border: 1px solid #78adf2 !important;
}

/* Ausblendung der Löschen, Freigeben und Verschieben-Reiter auf der Hauptseite */
body.page-Hauptseite #ca-delete, body.page-Hauptseite #ca-move, .page-Hauptseite #catlinks {
	display: none !important;
}

/* Externer-Link-Pfeil bei Links zu Filb.de und bei internen URL-Links ausblenden, Klasse "plainlinks" entfällt. */
#bodyContent a.external[href^="//www.filb.de"],
#bodyContent a.external[href^="//filb.de"],
#bodyContent a.external[href^="//www.pokewiki.de"],
#bodyContent a.external[href^="//pokewiki.de"],
#bodyContent a.external[href^="//www.pokéwiki.de"],
#bodyContent a.external[href^="//pokéwiki.de"],
#bodyContent a.external[href^="//www.xn--pokwiki-dya.de"],
#bodyContent a.external[href^="//xn--pokwiki-dya.de"],
#bodyContent a.external[href^="//test.pokewiki.de"],
#bodyContent a.external[href^="http://www.filb.de"],
#bodyContent a.external[href^="http://filb.de"],
#bodyContent a.external[href^="http://www.pokewiki.de"],
#bodyContent a.external[href^="http://pokewiki.de"],
#bodyContent a.external[href^="http://www.pokéwiki.de"],
#bodyContent a.external[href^="http://pokéwiki.de"],
#bodyContent a.external[href^="http://www.xn--pokwiki-dya.de"],
#bodyContent a.external[href^="http://xn--pokwiki-dya.de"],
#bodyContent a.external[href^="https://www.filb.de"],
#bodyContent a.external[href^="https://filb.de"],
#bodyContent a.external[href^="https://www.pokewiki.de"],
#bodyContent a.external[href^="https://pokewiki.de"],
#bodyContent a.external[href^="https://www.pokéwiki.de"],
#bodyContent a.external[href^="https://pokéwiki.de"],
#bodyContent a.external[href^="https://www.xn--pokwiki-dya.de"],
#bodyContent a.external[href^="https://xn--pokwiki-dya.de"],
#bodyContent a.external[href^="https://discord.gg"] {
	background: none !important;
	padding-right: 0 !important;
}

.page-Spezial_Letzte_Änderungen #content li:hover {
	background: #BFEFFF;
}
/* Rahmenfarbe des fieldsets passend zu der des MediaWiki:Recentchangestext machen */
.page-Spezial_Letzte_Änderungen #content fieldset {
    border: 2px solid #e8f1fb;
    margin: 1em 0.5em;
    background: #FAFCFF;
}

/* PokéWiki-Farben */
.pwc1 { background: #e2edf9; }
.pwc2 { background: #d3e2f5; }
.pwc3 { background: #cbddf3; }
.pwc4 { background: #c6d9f2; }
.pwc5 { background: #c0d6f0; }
.pwc6 { background: #b8d1ee; }
.pwc7 { background: #b1cdec; }
.pwc8 { background: #5c82ae; }

.pwb1 { border: 2px solid#e2edf9; }
.pwb2 { border: 2px solid#d3e2f5; }
.pwb3 { border: 2px solid#cbddf3; }
.pwb4 { border: 2px solid#c6d9f2; }
.pwb5 { border: 2px solid#c0d6f0; }
.pwb6 { border: 2px solid#b8d1ee; }
.pwb7 { border: 2px solid#b1cdec; }
.pwb8 { border: 2px solid#5c82ae; }

.stab_ja { font-weight: bold }
.stab_vllt { font-style: italic }

/* Farbliche Markierung neu erstellter Seiten */
.newpage {
    color: green;
}

/* Farbliche Markierung kleiner Änderungen */
.minor, .minoredit {
    color: gray;
}

/*Tabellen*/
table.lastisroundtable td {
	background: #fff;
}

table.lastisroundtable tr:not([style*="display:none"]):last-child td:first-child,
table.lastisroundtable tr:not([style*="display:none"]):last-child th:first-child {
	border-bottom-left-radius: 0.5em;
	background: #fff;
}

table.lastisroundtable tr:not([style*="display:none"]):last-child td:last-child,
table.lastisroundtable tr:not([style*="display:none"]):last-child th:last-child {
	border-bottom-right-radius: 0.5em;
	background: #fff;
}

table.lastisroundtable tr:not([style*="display:none"]):last-child td:first-child.noround,
table.lastisroundtable tr:not([style*="display:none"]):last-child th:first-child.noround {
	border-bottom-left-radius: 0 !important;
	background: #fff;
}

table.lastisroundtable tr:not([style*="display:none"]):last-child td:last-child.noround,
table.lastisroundtable tr:not([style*="display:none"]):last-child th:last-child.noround {
	border-bottom-right-radius: 0 !important;
	background: #fff;
}

table.firstisroundtable td {
	background: #fff;
}

table.firstisroundtable tr:not([style*="display:none"]):first-child td:first-child,
table.firstisroundtable tr:not([style*="display:none"]):first-child th:first-child {
	border-top-left-radius: 0.5em;
	background: #fff;
}

table.firstisroundtable tr:not([style*="display:none"]):first-child td:last-child,
table.firstisroundtable tr:not([style*="display:none"]):first-child th:last-child {
	border-top-right-radius: 0.5em;
	background: #fff;
}

table.firstisroundtable tr:not([style*="display:none"]):first-child td:first-child.noround,
table.firstisroundtable tr:not([style*="display:none"]):first-child th:first-child.noround {
	border-top-left-radius: 0 !important;
	background: #fff;
}

table.firstisroundtable tr:not([style*="display:none"]):first-child td:last-child.noround,
table.firstisroundtable tr:not([style*="display:none"]):first-child th:last-child.noround {
	border-top-right-radius: 0 !important;
	background: #fff;
}

/* Kursiver Text bei Seiten auf [[Spezial:Spezialseiten]], deren Inhalte gecacht werden */
.mw-specialpagecached { font-style: italic; }

/* Schwarze und weiße Färbung bei Links */
.blink a:not(.new), a .blink:not(.new), a .blink:visited:not(.new), .blink a:visited:not(.new), a.blacklinks:not(.new), .blacklinks a:not(.new), a.blacklinks:visited:not(.new), .blacklinks a:visited:not(.new) { color: #000000; }
.wlink a:not(.new), a .wlink:not(.new), a .wlink:visited:not(.new), .wlink a:visited:not(.new), a.whitelinks:not(.new), .whitelinks a:not(.new), a.whitelinks:visited:not(.new), .whitelinks a:visited:not(.new) { color: #ffffff; }

.hauptseitecontent {
	background: white;
	border: 2px solid #5c82ae;
	border-top: 0;
	padding: 6px;
	font-size: 9pt;
}

.hauptseitecontent p:first-of-type {
	margin-top: 0 !important;
}

.hauptseitecontent p:last-of-type {
	margin-bottom: 0 !important;
}

.hauptseitecontent ul {
	margin-top: 0 !important;
	margin-left: 1.3em !important;
}

.hauptseitecontent table tr td {
	margin: 0;
	padding: 0;
}

.hauptseitekasten {
	background: #5c82ae;
	margin-top: 8px;
	width: 100%;
}

.hauptseitetitel {
	font-size: 20px;
	color: white;
	padding: 5px;
}

.hauptseitebuttonbar {
	background: #5c82ae;
	padding: 5px;
	padding-top: 0;
	font-size: 95%;
}

.hauptseitebuttonbar a {
	display: block;
	width: 100%;
}

.hauptseitebuttonbar div:hover {
	background-color: #B1CDEC !important;
}

/*Vorlage:AtkTable*/
tr.atkrow { background: white; }
tr.atkrow td:first-child, tr.atkrow td:nth-child(2), tr.atkrow td:nth-child(5), tr.atkrow td:nth-child(6), tr.atkrow td:nth-child(7), tr.atkrow td:nth-child(8), tr.atkrow td:nth-child(9) { padding: 0 3px 0 3px; }
tr.atkrow td:nth-child(2), tr.atkrow td:nth-child(8), tr.atkrow td:nth-child(9) { text-align: left; }
tr.atkrow td:nth-child(5), tr.atkrow td:nth-child(6), tr.atkrow td:nth-child(7) { text-align: right; }

.page-Spezial_Letzte_Änderungen #content .mw-changeslist-legend {
	border: 2px solid #E8F1FB;
	background: #FFFFFF;
}

/* Übersichtlichkeit in Team-Boxen: Sprite-Bereich soll immer gleich hoch sein */
.tplTeamZeileSprite {
	height: 130px;
}
.tplTeamZeileSprite img {
	max-height: 120px;
	width: auto;
}

/* Checkboxen in [[Vorlage:Willkommen]] ausblenden */
#Welcome .mw-ui-checkbox ~ br, #Welcome .mw-ui-checkbox { display: none !important; }

/** Tabellendesign 'pwtable1' **/
table.pwtable1 {
	border-top-left-radius: 0.6em;
	border-top-right-radius: 0.6em;
	border-collapse: collapse;
	margin-top: 1em;
	margin-bottom: 1em;
	background: white;
	color: black;
	box-shadow: 0 0 5px #d8d8d8;
	border-spacing: 0;
	text-align: center;
	border-bottom: 5px solid #e4e4e4;
}
table.pwtable1 tr:nth-child(even) {
	background: #f6f6f6;
}
table.pwtable1 tr:hover td {
	background: #ececec;
}
table.pwtable1 tr:hover td, table.pwtable1 tr td {
	transition: background linear 75ms;
}
table.pwtable1 tr th {
	background-color: #e4e4e4;
	border-right: 1px solid #d0d0d0;
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	font-weight: bold;
}
table.pwtable1 tr:not(:first-child) th.subtitlerow {
	background-color: #f2f2f2;
	padding-top: 0.3em;
	padding-bottom: 0.3em;
	border-top: 1px solid #e4e4e4;
	border-bottom: 1px solid #e4e4e4;
	font-weight: bold;
}
table.pwtable1 tr:first-child th:first-child {
	border-top-left-radius: 0.6em;
}
table.pwtable1 tr:first-child th:last-child {
	border-top-right-radius: 0.6em;
}
table.pwtable1 td {
	border-right: 1px solid #e4e4e4;
	padding: 0.3em;
}
table.pwtable1 td:last-child,
table.pwtable1 th:last-child {
	border-right: 0 !important;
}
table.pwtable1 hr {
	border: none;
	border-top: 1px solid #d0d0d0;
	height: 1px;
}
table.pwtable1 td[rowspan$="0"],
table.pwtable1 td[rowspan$="2"],
table.pwtable1 td[rowspan$="4"],
table.pwtable1 td[rowspan$="6"],
table.pwtable1 td[rowspan$="8"] {
	border-bottom: 1px solid #e4e4e4;
}

/* ClickToggle-Elemente als Pointer */
.clicktoggle {
	cursor: pointer;
}

/* Mini-Portal auf der [[Hauptseite]] */
#miniportal #portalnav {
	width: 100%;
	text-align: center;
	border-spacing: 0;
	margin: 0;
	padding: 0.2em 0;
	background-color: #B1CDEC;
	border-bottom: 2px solid #5C82AE;
}

#miniportal #portalnav td {
	padding: 0.2em;
	width: 33%;
}

#miniportal .clicktoggle {
	background-color: #7aa5d6;
	padding: 0.2em;
	border-radius: 0.5em;
	border: 1px solid #5C82AE;
	color: white;
	font-family: Droid Sans, sans-serif;
	height: 22px;
	line-height: 22px;
	transition: background-color linear 75ms;
}

#miniportal .clicktoggle:hover {
	background-color: #6394cc;
}

#miniportal .clicktoggle-active:hover,
#miniportal .clicktoggle-active {
	background-color: #3c73aa;
}

#miniportal a.toggler-link:hover { text-decoration: none; }

/* Banner-Slideshow auf der [[Hauptseite]] */
div.slideshow-banner {
    transition: opacity ease 1s;
    position: absolute;
    opacity: 0;
}

#pw-welcome p:first-of-type {
	margin-top: 0;
}

/* Runde Thumbnails und Galerien */
li.gallerybox div.thumb, .thumbimage, .thumbinner {
	border-radius: 5px;
}

/* WIO über die LÄ und nicht dahinter */
.page-Spezial_Letzte_Änderungen #recentchanges-whosonline-table {
	z-index: 2;
}

/* Maximalgröße skalierter Pokémon-Icons */
.pokemon_icon.scaled img {
	max-height: 30px;
	width: auto !important;
}

rt {
	font-size: 80%;
}

.oo-ui-windowManager-modal .oo-ui-window-active {
	z-index: 100;
}

/* Ausblendung bestimmter Überschriftsebenen ab der angegebenen Ebene (exklusive) */
.toclimit-2 .toclevel-1 li,
.toclimit-3 .toclevel-2 li,
.toclimit-4 .toclevel-3 li,
.toclimit-5 .toclevel-4 li,
.toclimit-6 .toclevel-5 li,
.toclimit-7 .toclevel-6 li {
	display: none;
}

/* Ausblendung des zweiten Listenpunktes, wenn ein Benutzer gesperrt ist und versucht, eine geschützte Seite
zu bearbeiten, damit dies nicht in Konflikt mit [[MediaWiki:Blockedtext]] kommt, da dieser bei uns mit einer
Tabelle beginnt und nicht mit einem Text */
.permissions-errors li:nth-child(2) {
	list-style-image: url(/images/thumb/6/65/Platzhalter.png/1px-Platzhalter.png) !important;
}

/* Tabelle auf [[Spezial:Statistik]] */
.mw-statistics-table {
	border-collapse: separate !important;
	border: 2px solid #ccc;
	border-radius: 0.5em;
	background: #fff;
	padding: 0.05em;
	margin: 0 0.5em 0.5em 0;
	border-color: #EFEFEF !important;
}

.mw-statistics-table th {
	border-radius: 0.5em;
	padding: 0.1em 0.5em !important;
	background: #DEDEDE;
}

.mw-statistics-table td {
	border: 0 !important;
	border-bottom: 1px dashed #bcbcbc !important;
	padding-right: 0.5em;
	border-color: #DEDEDE !important;
}

/* Überlange Kommentare in den Letzten Änderungen umbrechen, um Overflow zu verhindern */
.comment {
	word-break: break-word;
}