aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-06-06 03:46:57 +0200
committerXavier Del Campo Romero <xavi.dcr@tutanota.com>2023-06-06 03:48:36 +0200
commitc4a3d54ac9f28d4690a88d9abcc262e6ffb9e381 (patch)
treefccabd7e4515657950f9a198eb3cfc75a69dd244
parent3102e0da4bd1bcaf4e3e0aeb554a6efa87436e5d (diff)
downloadslcl-c4a3d54ac9f28d4690a88d9abcc262e6ffb9e381.tar.gz
page.c: Apply minor fixes and improvements to stylesheet
- Rules applying to body already apply to input. - input already had a "margin: auto" rule. - Missing whitespace on "margin:auto" rule.
-rw-r--r--page.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/page.c b/page.c
index f3c4da4..6e25647 100644
--- a/page.c
+++ b/page.c
@@ -1314,7 +1314,7 @@ int page_bad_request(struct http_response *const r)
int page_style(struct http_response *const r)
{
static const char body[] =
- "body, input\n"
+ "body\n"
"{\n"
" font-family: 'Courier New', Courier, monospace;\n"
"}\n"
@@ -1334,7 +1334,7 @@ int page_style(struct http_response *const r)
"{\n"
" display: grid;\n"
"}\n"
- "form, label, table, input\n"
+ "form, label, table\n"
"{\n"
" margin: auto;\n"
"}\n"
@@ -1345,7 +1345,7 @@ int page_style(struct http_response *const r)
"}\n"
"input\n"
"{\n"
- " margin:auto;\n"
+ " margin: auto;\n"
" border: 1px solid;\n"
" border-radius: 8px;\n"
"}\n"