]> git.plutz.net Git - webtxt/blobdiff - webnote.css
modified print margin
[webtxt] / webnote.css
index e87795e7bc9fb569328760565fdc6c7b357dcbb6..391378d1977c4ce324f69a6a4322b86344c83180 100644 (file)
@@ -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; }