App title and basic styling
authorPaul Hänsch <paul@plutz.net>
Mon, 5 Aug 2019 18:12:10 +0000 (20:12 +0200)
committerPaul Hänsch <paul@plutz.net>
Mon, 5 Aug 2019 18:12:10 +0000 (20:12 +0200)
index.cgi
style.css

index f187439..170645f 100755 (executable)
--- a/index.cgi
+++ b/index.cgi
@@ -23,6 +23,7 @@ yield_page() {
   printf 'Content-Type: text/html; charset=utf-8\r\n\r\n'
   { printf '
        [html [head
+          [title Confetti]
          [meta name="viewport" content="width=device-width"]
          [link rel="stylesheet" type="text/css" href="/style.css"]
     '
index e8d385a..33e7cd0 100644 (file)
--- a/style.css
+++ b/style.css
@@ -3,8 +3,22 @@
   -moz-box-sizing: border-box;
   -webkit-box-sizing: border-box;
   box-sizing: border-box;
+  padding: 0; margin: 0;
+  font-size: initial;
+  line-height: 1.25em;
   z-index: 0;
 }
+
+input, textarea, select, select * {
+  font-size: .875em;
+  padding: .125em .125em;
+}
+input, select {
+  height: 1.5em;
+  vertical-align: bottom;
+}
+button { padding: 0 .5em; }
+
 body {
   background: #EEE;
   margin: 0;