tvote.c: tweak stylesheet - vote - simple cgi voting system for web and gopher
(HTM) git clone git://src.adamsgaard.dk/vote
(DIR) Log
(DIR) Files
(DIR) Refs
(DIR) README
(DIR) LICENSE
---
(DIR) commit fea90f097b99c13d3a5bf7bb6f8c80a711a0ebe0
(DIR) parent 9f0bfbe30bcc20cbf5a144d8bf087ef24c3447bb
(HTM) Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Mon, 28 Sep 2020 17:30:58 +0200
vote.c: tweak stylesheet
Diffstat:
M vote.c | 22 ++++++++++++----------
1 file changed, 12 insertions(+), 10 deletions(-)
---
(DIR) diff --git a/vote.c b/vote.c
t@@ -70,16 +70,18 @@ print_html_head()
"<head>\n"
" <style type=\"text/css\">\n"
" body {\n"
- " margin: 40px auto;\n"
- " padding: 30px auto;\n"
- " max-width: 80ex;\n"
- " line-height: 1.6;\n"
- " font-size: 18px;\n"
- " padding: 0 10px;\n"
- " }\n"
- " form { margin: 0; }\n"
- " table.create, input.name, textarea.question, textarea.options "
- "{ width: 100%%; }\n"
+ " margin: 1em auto;\n"
+ " max-width: 40em;\n"
+ " padding: 0 .62em;\n"
+ " font: 1.2em/1.62 sans-serif;\n"
+ " }\n"
+ " h1, h2, h3 {\n"
+ " line-height: 1.2;\n"
+ " }\n"
+ " table.create, input.name,\n"
+ " textarea.question, textarea.options: {\n"
+ " width: 100%%;\n"
+ " }\n"
" </style>\n"
"</head>\n"
"<body>\n");