all repos — honk @ 145982be8499a6efd7b089bf786e3ac2bbdb43fa

my fork of honk

add a print stylesheet
Ted Unangst tedu@tedunangst.com
Thu, 21 Nov 2019 01:15:26 -0500
commit

145982be8499a6efd7b089bf786e3ac2bbdb43fa

parent

ed3514075c14d78e5bbce12509b2bb84faecde5c

2 files changed, 13 insertions(+), 1 deletions(-)

jump to
M views/header.htmlviews/header.html

@@ -55,7 +55,7 @@ <input type="text" name="q" autocomplete=off size=10 placeholder="search">

</form> </ul> </details> -<p></p> +<p id="topspacer"></p> {{ else }} <span><a id="homelink" href="/">home</a></span> <span><a href="/o">tags</a></span>
M views/style.cssviews/style.css

@@ -287,3 +287,15 @@ width: 48px;

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; + } +}