MediaWiki:Common.css

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
  • Edge: Strg+F5 drücken oder Strg drücken und gleichzeitig Aktualisieren anklicken
/* Bookpedia: gemeinsames CSS aller Skins.
   Zitate: leicht grau abgesetzt, nicht nur eingerückt wie in der Wikipedia.
   Infobox und Artikelkopf ruhiger; Zeilenlänge nicht künstlich begrenzen,
   sonst entstehen Cover links, Kasten rechts und eine Lücke dazwischen. */

.Vorlage_Zitat {
	margin: 1.1em 0;
	padding: 0.7em 1em 0.75em 1em;
	background: #f3f3f3;
	border-left: 3px solid #c4c4c4;
}
.Vorlage_Zitat blockquote {
	margin: 0;
	padding: 0;
	border: 0;
	color: #444;
}
.Vorlage_Zitat .cite {
	margin: 0.5em 0 0 0;
	font-size: 90%;
	color: #666;
}

.mw-body-content,
#bodyContent {
	line-height: 1.6;
}

/* Große Schirme: die ganze Seite als eine Spalte, nicht nur #content.
   Sonst bleiben Lesen/Suche am rechten Bildschirmrand, Artikel und Kasten links. */
@media screen and (min-width: 1360px) {
	html {
		background: #f6f6f6;
	}
	body {
		max-width: 78em;
		margin: 0 auto;
		position: relative;
	}
}

#firstHeading,
.mw-body h1.firstHeading {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0.25em;
	line-height: 1.25;
}

.mw-parser-output h2 {
	border-bottom: 1px solid #ddd;
	margin-top: 1.6em;
	padding-bottom: 0.15em;
}

.bookpedia-kopf {
	font-size: 95%;
	line-height: 1.4;
	color: #444;
	border-bottom: 1px solid #e0e0e0;
	padding-bottom: 0.5em;
	margin: 0 0 1em 0;
}

.bookpedia-kasten {
	float: right;
	clear: right;
	width: 17em;
	margin: 0 0 1.2em 1.4em;
}

.bookpedia-kasten-tabelle {
	width: 17em;
	border-collapse: collapse;
	border: 1px solid #ddd;
	background: #fafafa;
	font-size: 92%;
	line-height: 1.4;
}

.bookpedia-kasten-tabelle th,
.bookpedia-kasten-tabelle td {
	border: 0;
	border-bottom: 1px solid #ececec;
	padding: 0.35em 0.6em;
	vertical-align: top;
	text-align: left;
}

.bookpedia-kasten-tabelle td:first-child {
	color: #555;
	width: 42%;
}

.bookpedia-kasten-kopf {
	background: #eee;
	font-weight: bold;
	color: #333;
}

@media screen and (max-width: 720px) {
	.bookpedia-kasten {
		float: none;
		width: auto;
		max-width: 20em;
		margin: 0 0 1.2em 0;
	}

	.bookpedia-kasten-tabelle {
		width: 100%;
	}
}

/* Hauptseite */
.page-Hauptseite .firstHeading,
.page-Hauptseite #firstHeading,
.page-Hauptseite #contentSub,
.page-Hauptseite #siteSub,
.page-Hauptseite .mw-page-subtitle,
.page-Hauptseite .mw-indicators {
	display: none !important;
}

.page-Hauptseite .mw-parser-output h2 {
	font-size: 1.05em;
	font-weight: 600;
	border-bottom: 0;
	margin: 2em 0 0.55em 0;
	padding: 0;
}

.bookpedia-start {
	margin: 0.2em 0 1.4em 0;
}

.bookpedia-start-nav {
	font-size: 95%;
	color: #666;
	margin: 0 0 1.3em 0;
}

.bookpedia-start-satz {
	font-size: 1.35em;
	line-height: 1.4;
	color: #222;
	margin: 0 0 1.1em 0;
	max-width: 22em;
}

.bookpedia-start-suche {
	max-width: 32em;
	border: 1px solid #bbb;
	background: #fff;
	padding: 0.7em 0.9em;
	margin: 0 0 0.5em 0;
}

.bookpedia-start-suche a {
	color: #555;
	text-decoration: none;
}

.bookpedia-start-suche a:hover {
	color: #111;
}

.bookpedia-suche-form {
	display: flex;
	border: 0;
	background: transparent;
}

.bookpedia-suche-form input[type=search] {
	flex: 1;
	border: 0;
	padding: 0.55em 0.7em;
	font-size: 1em;
	background: transparent;
}

.bookpedia-suche-form button {
	border: 0;
	border-left: 1px solid #ddd;
	background: #f4f4f4;
	padding: 0.55em 0.9em;
	cursor: pointer;
}

.bookpedia-start-beispiele {
	font-size: 90%;
	color: #777;
	margin: 0 0 0.2em 0;
}

.bookpedia-drei {
	display: flex;
	gap: 2em;
	margin: 1.8em 0 0.4em 0;
	padding-top: 1.4em;
	border-top: 1px solid #e2e2e2;
}

.bookpedia-drei-spalte {
	flex: 1;
	min-width: 0;
}

.bookpedia-drei-art {
	font-size: 80%;
	color: #888;
	margin-bottom: 0.3em;
}

.bookpedia-drei-titel {
	font-size: 1.12em;
	line-height: 1.3;
}

.bookpedia-drei-dazu {
	font-size: 90%;
	color: #666;
	margin-top: 0.25em;
}

.bookpedia-start-fuss {
	margin: 2.4em 0 0.4em 0;
	padding-top: 1em;
	border-top: 1px solid #e2e2e2;
	font-size: 95%;
	color: #666;
}

@media screen and (max-width: 720px) {
	.bookpedia-drei {
		display: block;
	}

	.bookpedia-drei-spalte {
		margin-bottom: 1.2em;
	}
}