add a print stylesheet

This commit is contained in:
Ted Unangst 2019-11-21 01:15:26 -05:00
parent dfaeefbab9
commit a7e7ee3049
2 changed files with 13 additions and 1 deletions

View File

@ -55,7 +55,7 @@
</form> </form>
</ul> </ul>
</details> </details>
<p></p> <p id="topspacer"></p>
{{ else }} {{ else }}
<span><a id="homelink" href="/">home</a></span> <span><a id="homelink" href="/">home</a></span>
<span><a href="/o">tags</a></span> <span><a href="/o">tags</a></span>

View File

@ -287,3 +287,15 @@ img.emu {
height: 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;
}
}