4,435
edits
No edit summary |
No edit summary |
||
Line 263: | Line 263: | ||
overflow-wrap: anywhere; | overflow-wrap: anywhere; | ||
} | } | ||
/* Keep label + content together for each section */ | |||
.article-label-description { break-after: avoid; page-break-after: avoid; } | |||
.article-label-description + .article-description { | |||
break-before: avoid; page-break-before: avoid; | |||
} | |||
/* Do the same for the other sections */ | |||
.article-label-reflection { break-after: avoid; page-break-after: avoid; } | |||
.article-label-reflection + .article-reflection { | |||
break-before: avoid; page-break-before: avoid; | |||
} | |||
.article-label-external-reference { break-after: avoid; page-break-after: avoid; } | |||
.article-label-external-reference + .article-external-reference { | |||
break-before: avoid; page-break-before: avoid; | |||
} | |||
.article-label-quote { break-after: avoid; page-break-after: avoid; } | |||
.article-label-quote + .article-quote { | |||
break-before: avoid; page-break-before: avoid; | |||
} | |||
.article-label-modification-date { break-after: avoid; page-break-after: avoid; } | |||
.article-label-modification-date + .article-modification-date { | |||
break-before: avoid; page-break-before: avoid; | |||
} | |||
/* Help the whole content area avoid awkward first-line breaks */ | |||
#article-content { orphans: 3; widows: 3; } |