MediaWiki:Common.css: Unterschied zwischen den Versionen

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…“
 
Rebrush 2026
 
(6 dazwischenliegende Versionen von einem anderen Benutzer werden nicht angezeigt)
Zeile 1: Zeile 1:
/* Das folgende CSS wird für alle Benutzeroberflächen geladen. */
/* Bookpedia: gemeinsames CSS aller Skins.
/* Bookpedia: gemeinsames CSS aller Skins.
   Zitate: leicht grau abgesetzt, nicht nur eingerückt wie in der Wikipedia.
   Zitate: leicht grau abgesetzt, nicht nur eingerückt wie in der Wikipedia.
   Lesespalte und Artikelkopf: etwas größerer Satz, begrenzte Zeilenlänge,
   Infobox und Artikelkopf ruhiger; Zeilenlänge nicht künstlich begrenzen,
   Infobox rechts, Vorspann als erster Absatz betont. */
   sonst entstehen Cover links, Kasten rechts und eine Lücke dazwischen. */


.Vorlage_Zitat {
.Vorlage_Zitat {
Zeile 22: Zeile 20:
font-size: 90%;
font-size: 90%;
color: #666;
color: #666;
}
/* --- Lesespalte --- */
@media screen and (min-width: 1000px) {
#content {
max-width: 56em;
}
}
}


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


.mw-parser-output p,
/* Nur Vector: auf großen Schirmen die Seite einengen.
.mw-parser-output li,
  Der Skin Bookpedia setzt Breite und Hintergrund selbst. */
.mw-parser-output dd {
@media screen and (min-width: 1360px) {
max-width: 40em;
body.skin-vector,
}
body.skin-vector-2022,
 
body.skin-vector-legacy {
.mw-parser-output p {
max-width: 78em;
margin: 0.9em 0;
margin: 0 auto;
}
position: relative;
 
}
.mw-parser-output > p:first-of-type {
font-size: 1.12em;
line-height: 1.55;
margin-top: 0.2em;
margin-bottom: 1.4em;
}
}


Zeile 59: Zeile 43:
border-bottom: 0;
border-bottom: 0;
padding-bottom: 0;
padding-bottom: 0;
margin-bottom: 0.2em;
margin-bottom: 0.25em;
line-height: 1.2;
line-height: 1.25;
font-weight: 700;
}
}


.mw-parser-output h2 {
.mw-parser-output h2 {
font-size: 1.28em;
font-weight: 600;
border-bottom: 1px solid #ddd;
border-bottom: 1px solid #ddd;
margin-top: 1.75em;
margin-top: 1.6em;
margin-bottom: 0.65em;
padding-bottom: 0.15em;
padding-bottom: 0.2em;
}
}
.mw-parser-output h3 {
font-size: 1.1em;
font-weight: 600;
margin-top: 1.35em;
}
/* --- Artikelkopf der Werkseiten --- */


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


Zeile 94: Zeile 65:
float: right;
float: right;
clear: right;
clear: right;
width: 16.5em;
width: 17em;
margin: 0 0 1.25em 1.6em;
margin: 0 0 1.2em 1.4em;
}
}


.bookpedia-kasten-tabelle {
.bookpedia-kasten-tabelle {
width: 16.5em;
width: 17em;
border-collapse: collapse;
border-collapse: collapse;
border: 1px solid #ddd;
border: 1px solid #ddd;
background: #fafafa;
background: #fafafa;
font-size: 0.92em;
font-size: 92%;
line-height: 1.4;
line-height: 1.4;
}
}
Zeile 111: Zeile 82:
border: 0;
border: 0;
border-bottom: 1px solid #ececec;
border-bottom: 1px solid #ececec;
padding: 0.4em 0.65em;
padding: 0.35em 0.6em;
vertical-align: top;
vertical-align: top;
text-align: left;
text-align: left;
}
.bookpedia-kasten-tabelle tr:last-child td,
.bookpedia-kasten-tabelle tr:last-child th {
border-bottom: 0;
}
}


Zeile 128: Zeile 94:
.bookpedia-kasten-kopf {
.bookpedia-kasten-kopf {
background: #eee;
background: #eee;
font-weight: 600;
font-weight: bold;
font-size: 0.95em;
color: #333;
color: #333;
}
}
Zeile 144: Zeile 109:
width: 100%;
width: 100%;
}
}
}


.mw-parser-output p,
/* Hauptseite: gleiche Schrift und Links wie die Artikel */
.mw-parser-output li,
.page-Hauptseite #firstHeading,
.mw-parser-output dd {
.page-Hauptseite .firstHeading {
max-width: none;
display: none;
}
}
}

Aktuelle Version vom 24. August 2026, 23:18 Uhr

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

/* Nur Vector: auf großen Schirmen die Seite einengen.
   Der Skin Bookpedia setzt Breite und Hintergrund selbst. */
@media screen and (min-width: 1360px) {
	body.skin-vector,
	body.skin-vector-2022,
	body.skin-vector-legacy {
		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: gleiche Schrift und Links wie die Artikel */
.page-Hauptseite #firstHeading,
.page-Hauptseite .firstHeading {
	display: none;
}