MediaWiki:Common.css

Version vom 23. August 2026, 19:37 Uhr von Bookpediaadmin (Diskussion | Beiträge) (Die Seite wurde neu angelegt: „Das folgende CSS wird für alle Benutzeroberflächen geladen.: /* Bookpedia: gemeinsames CSS aller Skins. Zitate: leicht grau abgesetzt, nicht nur ein…“)
(Unterschied) ← Nächstältere Version | Aktuelle Version (Unterschied) | Nächstjüngere Version → (Unterschied)

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
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */

/* Bookpedia: gemeinsames CSS aller Skins.
   Zitate: leicht grau abgesetzt, nicht nur eingerückt wie in der Wikipedia.
   Lesespalte und Artikelkopf: etwas größerer Satz, begrenzte Zeilenlänge,
   Infobox rechts, Vorspann als erster Absatz betont. */

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

/* --- Lesespalte --- */

@media screen and (min-width: 1000px) {
	#content {
		max-width: 56em;
	}
}

.mw-body-content,
#bodyContent {
	font-size: 1.06em;
	line-height: 1.65;
}

.mw-parser-output p,
.mw-parser-output li,
.mw-parser-output dd {
	max-width: 40em;
}

.mw-parser-output p {
	margin: 0.9em 0;
}

.mw-parser-output > p:first-of-type {
	font-size: 1.12em;
	line-height: 1.55;
	margin-top: 0.2em;
	margin-bottom: 1.4em;
}

#firstHeading,
.mw-body h1.firstHeading {
	border-bottom: 0;
	padding-bottom: 0;
	margin-bottom: 0.2em;
	line-height: 1.2;
	font-weight: 700;
}

.mw-parser-output h2 {
	font-size: 1.28em;
	font-weight: 600;
	border-bottom: 1px solid #ddd;
	margin-top: 1.75em;
	margin-bottom: 0.65em;
	padding-bottom: 0.2em;
}

.mw-parser-output h3 {
	font-size: 1.1em;
	font-weight: 600;
	margin-top: 1.35em;
}

/* --- Artikelkopf der Werkseiten --- */

.bookpedia-kopf {
	max-width: 40em;
	font-size: 0.95em;
	line-height: 1.4;
	color: #444;
	border-bottom: 1px solid #e0e0e0;
	padding-bottom: 0.65em;
	margin: 0 0 1.15em 0;
}

.bookpedia-kasten {
	float: right;
	clear: right;
	width: 16.5em;
	margin: 0 0 1.25em 1.6em;
}

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

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

.bookpedia-kasten-tabelle tr:last-child td,
.bookpedia-kasten-tabelle tr:last-child th {
	border-bottom: 0;
}

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

.bookpedia-kasten-kopf {
	background: #eee;
	font-weight: 600;
	font-size: 0.95em;
	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%;
	}

	.mw-parser-output p,
	.mw-parser-output li,
	.mw-parser-output dd {
		max-width: none;
	}
}