From a7e7ee304946603075d45caa75ffdcc33a818daf Mon Sep 17 00:00:00 2001 From: Ted Unangst Date: Thu, 21 Nov 2019 01:15:26 -0500 Subject: [PATCH] add a print stylesheet --- views/header.html | 2 +- views/style.css | 12 ++++++++++++ 2 files changed, 13 insertions(+), 1 deletion(-) diff --git a/views/header.html b/views/header.html index 79ac3e0..b60df7d 100644 --- a/views/header.html +++ b/views/header.html @@ -55,7 +55,7 @@ -

+

{{ else }} home tags diff --git a/views/style.css b/views/style.css index f56b479..ea0ba4a 100644 --- a/views/style.css +++ b/views/style.css @@ -287,3 +287,15 @@ img.emu { height: 48px; } } +@media print { + #topmenu, #topspacer, #infobox, #refreshbox, .actions { + display: none; + } + html { + --bg-page: white; + --bg-dark: white; + --fg: black; + --fg-subtle: black; + --fg-limited: #a79; + } +}