From 670c909b7b3fdfb0132be1f6c77d12cb1559a599 Mon Sep 17 00:00:00 2001 From: Reorx Date: Sun, 12 Feb 2023 00:13:58 +0800 Subject: [PATCH] theme reorx: slightly reduce the margin in headings when printing --- src/themes/reorx/index.scss | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/src/themes/reorx/index.scss b/src/themes/reorx/index.scss index c570e08..53a1efe 100644 --- a/src/themes/reorx/index.scss +++ b/src/themes/reorx/index.scss @@ -43,6 +43,7 @@ section { .section-title { margin-top: 3em; display: flex; + h2 { font-size: $fz-2; 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 { h1 { font-size: $fz-1;