From 44457edd7cc52ff87513d252ceef761d406f9fed Mon Sep 17 00:00:00 2001 From: SindreKjelsrud Date: Tue, 16 Jul 2024 20:24:12 +0200 Subject: [PATCH] :lipstick: fixed print styling Signed-off-by: SindreKjelsrud --- src/styles/global.css | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) diff --git a/src/styles/global.css b/src/styles/global.css index 3b37537..6536cb8 100644 --- a/src/styles/global.css +++ b/src/styles/global.css @@ -235,3 +235,35 @@ blockquote { padding: 0 0 0 10px; border-left: 5px solid var(--light-1); } + +/* PRINT */ +@media print { + body { + background: #fff; + color: #000; + font-family: Georgia, serif; + } + h1, h2, h3 { + line-height: 1.3; + font-family: Helvetica, sans-serif; + } + a, main a, .post main a:visited { + color: #000; + text-decoration: none; + } + blockquote, code { + background: #fff; + margin: 0; + padding: 0 1.5em; + border-left: 5px solid #000; + } + nav, footer, header { + display: none !important; + } + .blogtime { + color: #000; + } + #jr { + display: none; + } +} \ No newline at end of file