MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 109: | Zeile 109: | ||
.bookpedia-kasten-tabelle { | .bookpedia-kasten-tabelle { | ||
width: 100%; | width: 100%; | ||
} | |||
} | |||
/* Hauptseite: Einstieg statt Wiki-Titel */ | |||
body.page-Hauptseite .firstHeading, | |||
body.page-Hauptseite #firstHeading { | |||
display: none; | |||
} | |||
body.page-Hauptseite #contentSub, | |||
body.page-Hauptseite .mw-page-subtitle { | |||
display: none; | |||
} | |||
body.page-Hauptseite .mw-parser-output h2 { | |||
margin-top: 1.8em; | |||
} | |||
@media screen and (max-width: 720px) { | |||
body.page-Hauptseite .mw-parser-output table, | |||
body.page-Hauptseite .mw-parser-output table tbody, | |||
body.page-Hauptseite .mw-parser-output table tr, | |||
body.page-Hauptseite .mw-parser-output table td { | |||
display: block; | |||
width: auto !important; | |||
padding-right: 0 !important; | |||
} | } | ||
} | } | ||
Version vom 23. August 2026, 20:17 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;
}
/* 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: Einstieg statt Wiki-Titel */
body.page-Hauptseite .firstHeading,
body.page-Hauptseite #firstHeading {
display: none;
}
body.page-Hauptseite #contentSub,
body.page-Hauptseite .mw-page-subtitle {
display: none;
}
body.page-Hauptseite .mw-parser-output h2 {
margin-top: 1.8em;
}
@media screen and (max-width: 720px) {
body.page-Hauptseite .mw-parser-output table,
body.page-Hauptseite .mw-parser-output table tbody,
body.page-Hauptseite .mw-parser-output table tr,
body.page-Hauptseite .mw-parser-output table td {
display: block;
width: auto !important;
padding-right: 0 !important;
}
}