4,431
edits
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
/* =========================== | /* =========================== | ||
Softwear — Print stylesheet | Softwear — Print stylesheet | ||
A5 portrait, minimal margins | A5 portrait, minimal margins | ||
=========================== */ | =========================== */ | ||
Line 14: | Line 14: | ||
} | } | ||
/* 2) Print color fidelity | /* 2) Print color fidelity */ | ||
* { -webkit-print-color-adjust: exact; print-color-adjust: exact; } | * { -webkit-print-color-adjust: exact; print-color-adjust: exact; } | ||
Line 44: | Line 44: | ||
margin: 0; | margin: 0; | ||
} | } | ||
.article-people { | .article-people { | ||
font-size: 22px; | font-size: 22px; | ||
Line 56: | Line 55: | ||
.article-people a { text-decoration: underline; color: #292828 !important; } | .article-people a { text-decoration: underline; color: #292828 !important; } | ||
/* 6) Unified bottom-rule | /* 6) Unified bottom-rule (cross-browser safe) */ | ||
.article-entry-number, | .article-entry-number, | ||
.link-pdf, | .link-pdf, | ||
Line 69: | Line 66: | ||
.article-quote, | .article-quote, | ||
.article-mod-line { | .article-mod-line { | ||
padding-bottom: 7px; | |||
padding-bottom: 7px; | border-bottom: 0.5pt solid #000; /* works in both Chrome & Firefox */ | ||
} | } | ||
Line 127: | Line 105: | ||
.article-type a { text-decoration: none; color: #292828 !important; } | .article-type a { text-decoration: none; color: #292828 !important; } | ||
/* 10) Metadata grid | /* 10) Metadata grid */ | ||
.article-metadata, | .article-metadata, | ||
.article-metadata * { | .article-metadata * { | ||
Line 155: | Line 133: | ||
} | } | ||
/* 11) | /* 11) Images */ | ||
.article-metadata + .article-images { margin-top: 0 !important; padding-top: 0 !important; } | .article-metadata + .article-images { margin-top: 0 !important; padding-top: 0 !important; } | ||
.article-images { | .article-images { | ||
margin: 0 !important; | margin: 0 !important; | ||
Line 164: | Line 141: | ||
.article-images .image-container { | .article-images .image-container { | ||
display: inline-flex; | display: inline-flex; | ||
flex-direction: column; | flex-direction: column; | ||
align-items: flex-start; | align-items: flex-start; | ||
margin: 0 !important; | margin: 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
Line 192: | Line 169: | ||
.caption-image1:empty { display: none; } | .caption-image1:empty { display: none; } | ||
/* 12) Labels & bodies | /* 12) Labels & bodies */ | ||
.article-label-description, | .article-label-description, | ||
.article-label-reflection, | .article-label-reflection, | ||
Line 199: | Line 176: | ||
.article-label-modification-date { | .article-label-modification-date { | ||
text-transform: uppercase; | text-transform: uppercase; | ||
margin: 10px 0 0 0 !important; | margin: 10px 0 0 0 !important; | ||
padding: 0 !important; | padding: 0 !important; | ||
text-indent: 35px; | text-indent: 35px; | ||
Line 205: | Line 182: | ||
font-size: 14px; | font-size: 14px; | ||
letter-spacing: 0.5px; | letter-spacing: 0.5px; | ||
break-after: avoid; page-break-after: avoid; | break-after: avoid; page-break-after: avoid; | ||
} | } | ||
.article-metadata + .article-label-description, | .article-metadata + .article-label-description, | ||
.article-images + .article-label-description, | .article-images + .article-label-description, | ||
Line 218: | Line 192: | ||
margin-top: 10px !important; | margin-top: 10px !important; | ||
} | } | ||
.article-description, | .article-description, | ||
.article-reflection, | .article-reflection, | ||
Line 232: | Line 204: | ||
padding-top: 0 !important; | padding-top: 0 !important; | ||
} | } | ||
.article-label-description + .article-description, | .article-label-description + .article-description, | ||
.article-label-reflection + .article-reflection, | .article-label-reflection + .article-reflection, | ||
Line 242: | Line 212: | ||
} | } | ||
/* 13) Quote | /* 13) Quote */ | ||
.article-quote { | .article-quote { | ||
font-size: 26px; | font-size: 26px; | ||
Line 250: | Line 220: | ||
} | } | ||
/* 14) | /* 14) Mod line */ | ||
.article-mod-line { | .article-mod-line { | ||
white-space: nowrap; | white-space: nowrap; | ||
Line 264: | Line 234: | ||
.article-modification-date { font-size: 15px; letter-spacing: 0.5px; } | .article-modification-date { font-size: 15px; letter-spacing: 0.5px; } | ||
/* 15) | /* 15) Vector resets */ | ||
.vector-body p { margin: 0 !important; padding: 0 !important; } | .vector-body p { margin: 0 !important; padding: 0 !important; } | ||
/* 16) | /* 16) Links */ | ||
a[href]:after { content: none !important; } | a[href]:after { content: none !important; } | ||
.article-external-reference a { | .article-external-reference a { | ||
Line 279: | Line 249: | ||
} | } | ||
/* 17) | /* 17) Page control */ | ||
#article-content { orphans: 2; widows: 2; } | #article-content { orphans: 2; widows: 2; } | ||
/* 18) Prevent bad splits | /* 18) Prevent bad splits */ | ||
#article-title, | #article-title, | ||
.article-title-link, | .article-title-link, | ||
.article-metadata, | .article-metadata, | ||
.article-images { break-inside: avoid; page-break-inside: avoid; } | .article-images { break-inside: avoid; page-break-inside: avoid; } |