theme reorx: slightly reduce the margin in headings when printing

This commit is contained in:
Reorx 2023-02-12 00:13:58 +08:00
parent 45442f1689
commit 670c909b7b
1 changed files with 12 additions and 0 deletions

View File

@ -43,6 +43,7 @@ section {
.section-title { .section-title {
margin-top: 3em; margin-top: 3em;
display: flex; display: flex;
h2 { h2 {
font-size: $fz-2; font-size: $fz-2;
font-weight: 600; font-weight: 600;
@ -135,6 +136,17 @@ section {
} }
} }
@media print {
section {
.section-title {
margin-top: 2.7em;
}
.section-item {
margin-top: 1.8em;
}
}
}
.basics-section { .basics-section {
h1 { h1 {
font-size: $fz-1; font-size: $fz-1;