Vorlage:Box/styles.css: Unterschied zwischen den Versionen
keine Bearbeitungszusammenfassung
(ergänzt) |
Keine Bearbeitungszusammenfassung |
||
| Zeile 147: | Zeile 147: | ||
margin-top: 0.3em; | margin-top: 0.3em; | ||
} | } | ||
.voy-box-content p, .voy-box-content ul, .voy-box-content ol, .voy-box-content div { | .voy-box-content > *:first-child { | ||
margin-top: 0; | |||
padding-top: 0; | |||
} | |||
.voy-box-content > p:last-child, .voy-box-content > ul:last-child, | |||
.voy-box-content > ol:last-child, .voy-box-content > div:last-child { | |||
margin-bottom: 0.3em; | margin-bottom: 0.3em; | ||
} | } | ||
.voy-box-content li | .voy-box-content li { | ||
page-break-inside: avoid; | page-break-inside: avoid; | ||
break-inside: avoid-column; | break-inside: avoid-column; | ||
} | } | ||