MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
Keine Bearbeitungszusammenfassung |
||
| Zeile 37: | Zeile 37: | ||
margin: 0 auto; | margin: 0 auto; | ||
position: relative; | position: relative; | ||
} | |||
html:has(body.page-Hauptseite) { | |||
background: #f3f0e8; | |||
} | |||
body.page-Hauptseite { | |||
max-width: none; | |||
background: #f3f0e8; | |||
} | } | ||
} | } | ||
| Zeile 112: | Zeile 119: | ||
} | } | ||
/* Hauptseite */ | /* Hauptseite: eigene Ansicht, kein Wiki-Artikel */ | ||
.page-Hauptseite .firstHeading, | body.page-Hauptseite { | ||
.page-Hauptseite | max-width: none; | ||
.page-Hauptseite #contentSub, | background: #f3f0e8; | ||
.page-Hauptseite #siteSub, | } | ||
.page-Hauptseite .mw-page-subtitle, | |||
.page-Hauptseite .mw-indicators { | .skin-vector.page-Hauptseite, | ||
.skin-vector.page-Hauptseite #mw-page-base, | |||
.skin-vector.page-Hauptseite #mw-head-base { | |||
background: #f3f0e8; | |||
} | |||
.skin-vector.page-Hauptseite #mw-head-base { | |||
margin-top: 0; | |||
height: 2.4em; | |||
} | |||
.skin-vector.page-Hauptseite #mw-panel, | |||
.skin-vector.page-Hauptseite #left-navigation, | |||
.skin-vector.page-Hauptseite #right-navigation, | |||
.skin-vector.page-Hauptseite #firstHeading, | |||
.skin-vector.page-Hauptseite .firstHeading, | |||
.skin-vector.page-Hauptseite #contentSub, | |||
.skin-vector.page-Hauptseite #siteSub, | |||
.skin-vector.page-Hauptseite .mw-page-subtitle, | |||
.skin-vector.page-Hauptseite .mw-indicators, | |||
.skin-vector.page-Hauptseite #siteNotice, | |||
.skin-vector.page-Hauptseite #footer-info, | |||
.skin-vector.page-Hauptseite #catlinks { | |||
display: none !important; | display: none !important; | ||
} | } | ||
.page-Hauptseite | .skin-vector.page-Hauptseite #content { | ||
margin-left: auto !important; | |||
margin-right: auto !important; | |||
border | max-width: 36em; | ||
border: 0; | |||
background: transparent; | |||
padding: 3.2em 1.4em 4em; | |||
} | |||
.skin-vector.page-Hauptseite #footer { | |||
margin-left: 0; | |||
background: transparent; | |||
border: 0; | |||
padding-top: 0; | |||
} | |||
.skin-vector.page-Hauptseite #footer a { | |||
color: #888; | |||
} | |||
.page-Hauptseite .mw-parser-output { | |||
font-size: 1.02em; | |||
} | } | ||
.bookpedia- | .bookpedia-name { | ||
margin: 0 | font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif; | ||
font-size: 1.7em; | |||
font-weight: normal; | |||
letter-spacing: 0.04em; | |||
color: #1a1a1a; | |||
margin: 0 0 0.45em 0; | |||
} | } | ||
.bookpedia-start-nav { | .bookpedia-start-nav { | ||
font-size: | font-size: 0.92em; | ||
color: #666; | color: #666; | ||
margin: 0 0 | margin: 0 0 2.4em 0; | ||
} | |||
.bookpedia-start-nav a { | |||
color: #444; | |||
text-decoration: none; | |||
border-bottom: 1px solid transparent; | |||
} | |||
.bookpedia-start-nav a:hover { | |||
border-bottom-color: #888; | |||
} | } | ||
.bookpedia-start-satz { | .bookpedia-start-satz { | ||
font-size: 1. | font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif; | ||
font-size: 1.55em; | |||
line-height: 1.4; | line-height: 1.4; | ||
color: # | font-weight: normal; | ||
margin: 0 0 1. | color: #1a1a1a; | ||
max-width: | margin: 0 0 1.5em 0; | ||
max-width: 16em; | |||
} | } | ||
.bookpedia-start-suche { | .bookpedia-start-suche { | ||
margin: 0 0 0.7em 0; | |||
padding: 0.35em 0 0.55em; | |||
border-bottom: 1px solid #222; | |||
padding: 0. | |||
} | } | ||
.bookpedia-start-suche a { | .bookpedia-start-suche a { | ||
color: # | color: #777; | ||
text-decoration: none; | text-decoration: none; | ||
} | } | ||
.bookpedia-suche-form { | .bookpedia-suche-form { | ||
display: | display: block; | ||
margin: 0; | |||
} | } | ||
.bookpedia-suche-form input[type=search] { | .bookpedia-suche-form input[type=search] { | ||
width: 100%; | |||
border: 0; | border: 0; | ||
padding: 0. | padding: 0.15em 0; | ||
font- | font-size: 1.05em; | ||
font-family: Georgia, "Palatino Linotype", Palatino, serif; | |||
background: transparent; | background: transparent; | ||
color: #111; | |||
outline: none; | |||
box-sizing: border-box; | |||
} | } | ||
.bookpedia-suche-form | .bookpedia-suche-form input[type=search]::placeholder { | ||
color: #888; | |||
opacity: 1; | |||
} | } | ||
.bookpedia-start-beispiele { | .bookpedia-start-beispiele { | ||
font-size: | font-size: 0.9em; | ||
color: #777; | color: #777; | ||
margin: 0 0 0. | margin: 0 0 2.8em 0; | ||
} | |||
.bookpedia-start-beispiele a { | |||
color: #555; | |||
text-decoration: none; | |||
} | } | ||
.bookpedia- | .bookpedia-start-beispiele a:hover { | ||
color: #111; | |||
} | } | ||
.bookpedia- | .bookpedia-lesen { | ||
margin: 0 0 2.6em 0; | |||
border-top: 1px solid #d8d4cc; | |||
} | } | ||
.bookpedia- | .bookpedia-lesen-eintrag { | ||
padding: 1.15em 0 1.2em; | |||
border-bottom: 1px solid #d8d4cc; | |||
} | } | ||
.bookpedia- | .bookpedia-lesen-titel { | ||
font-size: 1. | font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif; | ||
font-size: 1.28em; | |||
line-height: 1.3; | line-height: 1.3; | ||
} | } | ||
.bookpedia- | .bookpedia-lesen-titel a { | ||
font-size: | color: #1a1a1a; | ||
text-decoration: none; | |||
} | |||
.bookpedia-lesen-titel a:hover { | |||
color: #000; | |||
} | |||
.bookpedia-lesen-dazu { | |||
font-size: 0.9em; | |||
color: #666; | color: #666; | ||
margin-top: 0. | margin-top: 0.28em; | ||
} | |||
.bookpedia-block { | |||
margin: 0 0 1.6em 0; | |||
} | |||
.bookpedia-block-name { | |||
font-size: 0.78em; | |||
letter-spacing: 0.08em; | |||
text-transform: uppercase; | |||
color: #888; | |||
margin: 0 0 0.35em 0; | |||
} | |||
.bookpedia-block-zeile { | |||
line-height: 1.7; | |||
color: #333; | |||
} | |||
.bookpedia-block-zeile a { | |||
color: #222; | |||
text-decoration: none; | |||
} | |||
.bookpedia-block-zeile a:hover { | |||
text-decoration: underline; | |||
} | } | ||
.bookpedia-start-fuss { | .bookpedia-start-fuss { | ||
margin: 2. | margin: 2.8em 0 0 0; | ||
padding-top: 1em; | padding-top: 1.1em; | ||
border-top: 1px solid # | border-top: 1px solid #d8d4cc; | ||
font-size: | font-size: 0.9em; | ||
color: # | color: #777; | ||
} | |||
.bookpedia-start-fuss a { | |||
color: #555; | |||
text-decoration: none; | |||
} | |||
.bookpedia-start-fuss a:hover { | |||
color: #111; | |||
} | } | ||
@media screen and (max-width: 720px) { | @media screen and (max-width: 720px) { | ||
. | .skin-vector.page-Hauptseite #content { | ||
padding: 2em 1.1em 3em; | |||
} | } | ||
.bookpedia- | .bookpedia-start-satz { | ||
font-size: 1.35em; | |||
} | } | ||
} | } | ||
Version vom 23. August 2026, 20:34 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;
}
html:has(body.page-Hauptseite) {
background: #f3f0e8;
}
body.page-Hauptseite {
max-width: none;
background: #f3f0e8;
}
}
#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: eigene Ansicht, kein Wiki-Artikel */
body.page-Hauptseite {
max-width: none;
background: #f3f0e8;
}
.skin-vector.page-Hauptseite,
.skin-vector.page-Hauptseite #mw-page-base,
.skin-vector.page-Hauptseite #mw-head-base {
background: #f3f0e8;
}
.skin-vector.page-Hauptseite #mw-head-base {
margin-top: 0;
height: 2.4em;
}
.skin-vector.page-Hauptseite #mw-panel,
.skin-vector.page-Hauptseite #left-navigation,
.skin-vector.page-Hauptseite #right-navigation,
.skin-vector.page-Hauptseite #firstHeading,
.skin-vector.page-Hauptseite .firstHeading,
.skin-vector.page-Hauptseite #contentSub,
.skin-vector.page-Hauptseite #siteSub,
.skin-vector.page-Hauptseite .mw-page-subtitle,
.skin-vector.page-Hauptseite .mw-indicators,
.skin-vector.page-Hauptseite #siteNotice,
.skin-vector.page-Hauptseite #footer-info,
.skin-vector.page-Hauptseite #catlinks {
display: none !important;
}
.skin-vector.page-Hauptseite #content {
margin-left: auto !important;
margin-right: auto !important;
max-width: 36em;
border: 0;
background: transparent;
padding: 3.2em 1.4em 4em;
}
.skin-vector.page-Hauptseite #footer {
margin-left: 0;
background: transparent;
border: 0;
padding-top: 0;
}
.skin-vector.page-Hauptseite #footer a {
color: #888;
}
.page-Hauptseite .mw-parser-output {
font-size: 1.02em;
}
.bookpedia-name {
font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
font-size: 1.7em;
font-weight: normal;
letter-spacing: 0.04em;
color: #1a1a1a;
margin: 0 0 0.45em 0;
}
.bookpedia-start-nav {
font-size: 0.92em;
color: #666;
margin: 0 0 2.4em 0;
}
.bookpedia-start-nav a {
color: #444;
text-decoration: none;
border-bottom: 1px solid transparent;
}
.bookpedia-start-nav a:hover {
border-bottom-color: #888;
}
.bookpedia-start-satz {
font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
font-size: 1.55em;
line-height: 1.4;
font-weight: normal;
color: #1a1a1a;
margin: 0 0 1.5em 0;
max-width: 16em;
}
.bookpedia-start-suche {
margin: 0 0 0.7em 0;
padding: 0.35em 0 0.55em;
border-bottom: 1px solid #222;
}
.bookpedia-start-suche a {
color: #777;
text-decoration: none;
}
.bookpedia-suche-form {
display: block;
margin: 0;
}
.bookpedia-suche-form input[type=search] {
width: 100%;
border: 0;
padding: 0.15em 0;
font-size: 1.05em;
font-family: Georgia, "Palatino Linotype", Palatino, serif;
background: transparent;
color: #111;
outline: none;
box-sizing: border-box;
}
.bookpedia-suche-form input[type=search]::placeholder {
color: #888;
opacity: 1;
}
.bookpedia-start-beispiele {
font-size: 0.9em;
color: #777;
margin: 0 0 2.8em 0;
}
.bookpedia-start-beispiele a {
color: #555;
text-decoration: none;
}
.bookpedia-start-beispiele a:hover {
color: #111;
}
.bookpedia-lesen {
margin: 0 0 2.6em 0;
border-top: 1px solid #d8d4cc;
}
.bookpedia-lesen-eintrag {
padding: 1.15em 0 1.2em;
border-bottom: 1px solid #d8d4cc;
}
.bookpedia-lesen-titel {
font-family: Georgia, "Palatino Linotype", Palatino, "Times New Roman", serif;
font-size: 1.28em;
line-height: 1.3;
}
.bookpedia-lesen-titel a {
color: #1a1a1a;
text-decoration: none;
}
.bookpedia-lesen-titel a:hover {
color: #000;
}
.bookpedia-lesen-dazu {
font-size: 0.9em;
color: #666;
margin-top: 0.28em;
}
.bookpedia-block {
margin: 0 0 1.6em 0;
}
.bookpedia-block-name {
font-size: 0.78em;
letter-spacing: 0.08em;
text-transform: uppercase;
color: #888;
margin: 0 0 0.35em 0;
}
.bookpedia-block-zeile {
line-height: 1.7;
color: #333;
}
.bookpedia-block-zeile a {
color: #222;
text-decoration: none;
}
.bookpedia-block-zeile a:hover {
text-decoration: underline;
}
.bookpedia-start-fuss {
margin: 2.8em 0 0 0;
padding-top: 1.1em;
border-top: 1px solid #d8d4cc;
font-size: 0.9em;
color: #777;
}
.bookpedia-start-fuss a {
color: #555;
text-decoration: none;
}
.bookpedia-start-fuss a:hover {
color: #111;
}
@media screen and (max-width: 720px) {
.skin-vector.page-Hauptseite #content {
padding: 2em 1.1em 3em;
}
.bookpedia-start-satz {
font-size: 1.35em;
}
}