X-Git-Url: https://git.plutz.net//?a=blobdiff_plain;f=webnote.css;h=391378d1977c4ce324f69a6a4322b86344c83180;hb=234b0cc18067d6b6830634819b553087616a23e4;hp=7d17f83c596d009f1759b49eaf0280d455d78ff9;hpb=5db460d0884b0faaaddbee46662ea008ac7efa20;p=webtxt diff --git a/webnote.css b/webnote.css index 7d17f83..391378d 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); @@ -13,7 +14,7 @@ textarea { div.text { max-width: 100%; - white-space: pre-wrap; + overflow: auto; } form.new { @@ -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: 20mm; }