tvote.c: tweak stylesheet - vote - simple cgi voting system for web and gopher | |
git clone git://src.adamsgaard.dk/vote | |
Log | |
Files | |
Refs | |
README | |
LICENSE | |
--- | |
commit fea90f097b99c13d3a5bf7bb6f8c80a711a0ebe0 | |
parent 9f0bfbe30bcc20cbf5a144d8bf087ef24c3447bb | |
Author: Anders Damsgaard <[email protected]> | |
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(-) | |
--- | |
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… | |
- "{ 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"); |