add a print stylesheet
Ted Unangst tedu@tedunangst.com
Thu, 21 Nov 2019 01:15:26 -0500
2 files changed,
13 insertions(+),
1 deletions(-)
M
views/header.html
→
views/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.css
→
views/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; + } +}