Vorlage:Wahldiagramm einfach/Style.css: Unterschied zwischen den Versionen
RaWen (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung Markierungen: Manuelle Zurücksetzung Zurückgesetzt |
RaWen (Diskussion | Beiträge) Keine Bearbeitungszusammenfassung Markierung: Manuelle Zurücksetzung |
||
| Zeile 83: | Zeile 83: | ||
} | } | ||
/* Balken | /* Balken ohne eigenen Hintergrund */ | ||
dl.vertical dd { | dl.vertical dd { | ||
background: none; | background: none; | ||
overflow: visible; | overflow: visible; | ||
position: relative; | position: relative; | ||
} | } | ||
/* Labels | /* Labels neu positionieren */ | ||
dl.vertical dt { | dl.vertical dt { | ||
position: | position: absolute; | ||
top: 200px; | |||
left: 50%; | |||
transform: translateX(-50%); | |||
margin: 5px 0 0 0; | margin: 5px 0 0 0; | ||
width: | width: auto; | ||
min-width: 0; | |||
text-align: center; | text-align: center; | ||
font-size: 85%; | font-size: 85%; | ||
white-space: nowrap; | white-space: nowrap; | ||
z-index: 10; | |||
} | } | ||
| Zeile 118: | Zeile 109: | ||
min-width: 100%; | min-width: 100%; | ||
width: 100%; | width: 100%; | ||
} | } | ||