MediaWiki:Common.css: Unterschied zwischen den Versionen
Keine Bearbeitungszusammenfassung |
(add from https://de.wikivoyage.org/wiki/MediaWiki:Common.css) |
||
Zeile 404: | Zeile 404: | ||
/* <noscript>-Emulation, vgl. [[phab:T47731]] */ | /* <noscript>-Emulation, vgl. [[phab:T47731]] */ | ||
.client-js .noscript { | .client-js .noscript { | ||
display: none; | |||
} | |||
/* Stile für Hauptseite: Anfang */ | |||
/* Unterdrückung Ausgabe Überschrift auf Hauptseite */ | |||
body.page-Hauptseite.action-view .firstHeading, | |||
body.page-Hauptseite.action-view #contentSub { | |||
display: none; | display: none; | ||
} | } | ||
Zeile 411: | Zeile 418: | ||
display: none; | display: none; | ||
margin-top: 8px; | margin-top: 8px; | ||
} | |||
/* Unterseiten und Brotkrümelnavigation */ | |||
#contentSub, #contentSub2 { | |||
font-size: 1em; /* 0.7 -> 1em */ | |||
margin-bottom: 1em; /* 1.4 -> 1em */ | |||
} | |||
.ext-geocrumbs-breadcrumbs { | |||
font-size: 1.1em; | |||
} | |||
#contentSub .subpages { | |||
display: block; | |||
} | |||
.ns-0 #contentSub .subpages, .ns-4 #contentSub .subpages, | |||
.ns-12 #contentSub .subpages, .ns-14 #contentSub .subpages { | |||
display: none; | |||
} | |||
/* Breadcrumb nicht vorlesen */ | |||
@media speech { | |||
#contentSub { | |||
display: none; | |||
} | |||
} | |||
/* Styles for article indicators */ | |||
.mw-indicators { | |||
background: #ffffff; | |||
margin-top: 0.2em; | |||
} | |||
.mw-indicator { | |||
margin-left: 5px; | |||
vertical-align: top; | |||
} | |||
.mw-indicator a { | |||
display: inline-block; | |||
} | |||
.mw-indicator:hover { | |||
background-color: #d6e4ff; | |||
} | |||
#mw-indicator-i3-gpx, #mw-indicator-i4-thema, #mw-indicator-i4-unesco, | |||
#mw-indicator-i5-ferientipps, #mw-indicator-i6-zdm, #mw-indicator-i9-status { | |||
vertical-align: top; | |||
} | |||
#mw-indicator-i3-gpx { | |||
margin-left: 9px; | |||
} | |||
#mw-indicator-i3-geo { | |||
background-color: transparent; | |||
} | |||
/* Pretty and multiline tables */ | |||
.prettytable, .multiline { | |||
border: none; | |||
border-collapse: collapse; | |||
border-spacing: 0 0; | |||
margin: 1em 0; | |||
empty-cells: show; | |||
background-color: #ffffff; | |||
} | |||
.prettytable td, .prettytable th, .multiline th, .multiline td { | |||
border: 1px solid #6cc8f3; | |||
padding: 0.25em; | |||
vertical-align: baseline; | |||
} | |||
.prettytable th, .multiline th { /* hightlighting */ | |||
text-align: center; | |||
background: #f0f0f0; | |||
color: #004f80; | |||
} | |||
.prettytable tr:not(:first-child) th, .multiline tr:not(:first-child) th { | |||
text-align: left; | |||
} | |||
.multiline tr:nth-child(even) td { | |||
background-color: #F8f8f8; | |||
} | |||
/* Karten- und Datenquellen: Wikivoyage:Karten- und Datenquellen */ | |||
.voy-mapsources-map div.thumb { | |||
margin: 0 auto; | |||
} | |||
.voy-mapsources-map div.thumbinner { | |||
border: none; | |||
padding: 0; | |||
} | |||
.voy-mapsources-map .thumbcaption { | |||
display: none; | |||
} | |||
/* Prevent line breaks in silly places: | |||
1) Where desired | |||
2) Links when we don't want them to | |||
3) Bold "links" to the page itself | |||
*/ | |||
.nowrap, | |||
.nowraplinks a, | |||
.nowraplinks .selflink { | |||
white-space: nowrap; | |||
} | |||
/* But allow wrapping where desired: */ | |||
.wrap, | |||
.wraplinks a { | |||
white-space: normal; | |||
} | |||
.wdItem:hover { | |||
background-image: url('//upload.wikimedia.org/wikipedia/commons/f/ff/Wikidata-logo.svg'); | |||
background-size: 15px; | |||
background-position: right center; | |||
background-repeat: no-repeat; | |||
} | |||
/* Fehlermeldungen des Moduls Check */ | |||
#WV-Check-Error-Messages { | |||
border: 1px solid #AAAAAA; | |||
border-left-width: 5px; | |||
border-left-color: #B22222; | |||
background-color: #FFEEEE; | |||
text-align: left; | |||
padding: 0.75em 1.2em; | |||
} | |||
#WV-Check-Error-Messages ul li { | |||
list-style-image: none; | |||
} | |||
/* Ausgaben des Moduls Wikidata */ | |||
/* Ranking */ | |||
.wd-rank-truth { color: blue; } | |||
.wd-rank-preferred { color: green; } | |||
.wd-rank-normal { color: black; } | |||
.wd-rank-deprecated { color: gray; } | |||
/* Boxes with the same height, z. B. Wikivoyage:Autorenportal */ | |||
.voy-justifyContent { | |||
display: flex; | |||
justify-content: space-between; | |||
} | |||
/* <noscript>-Emulation, vgl. [[phab:T47731]] */ | |||
.client-js .noscript { | |||
display: none; | |||
} | |||
/* Lines */ | |||
.voy-line-thin-grey { | |||
border-top: 1px solid grey; border-bottom: none; height: 0; | |||
} | |||
/* prevents display of markers and listing icons in page preview popups */ | |||
.mwe-popups .listing-map, .mwe-popups .listing-icon { | |||
display: none; | |||
} | |||
.multiline tr:nth-child(odd) td { | |||
background-color: #ffffff; | |||
} | |||
/* Some Standard classes for tables */ | |||
.sortable th { | |||
text-align: left; | |||
} | } |