X-Git-Url: https://git.plutz.net//?a=blobdiff_plain;f=webnote.css;h=391378d1977c4ce324f69a6a4322b86344c83180;hb=234b0cc18067d6b6830634819b553087616a23e4;hp=e87795e7bc9fb569328760565fdc6c7b357dcbb6;hpb=f4e540fa9275b4e12c8c5796849f3d316386de3e;p=webtxt diff --git a/webnote.css b/webnote.css index e87795e..391378d 100644 --- a/webnote.css +++ b/webnote.css @@ -6,13 +6,15 @@ button { } textarea { display: block; + font-family: monospace; width: 100%; height: 90vh; height: calc(100vh - 4.5em); } div.text { - white-space: pre; + max-width: 100%; + overflow: auto; } form.new { @@ -22,10 +24,17 @@ form.new { .new button { display: block; - margin: auto; + margin-left: auto; + margin-right: auto; } -.recent { +ul.recent { display: inline-block; text-align: left; } + +@media print { + button { display: none; } + h1 { text-align: center; margin-top: 1em; } +} +@page { margin: 20mm; }