From: Paul Hänsch Date: Sat, 20 Mar 2021 11:38:04 +0000 (+0100) Subject: some print styling X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=37981450e21092508ecb9dc39006f1a985b538ec;p=webtxt some print styling --- diff --git a/webnote.css b/webnote.css index c1953c8..4af86bd 100644 --- a/webnote.css +++ b/webnote.css @@ -6,6 +6,7 @@ button { } textarea { display: block; + font-family: monospace; width: 100%; height: 90vh; height: calc(100vh - 4.5em); @@ -31,3 +32,9 @@ ul.recent { display: inline-block; text-align: left; } + +@media print { + button { display: none; } + h1 { text-align: center; margin-top: 1em; } +} +@page { margin: 30mm 20mm 20mm 20mm; }