From c4a3d54ac9f28d4690a88d9abcc262e6ffb9e381 Mon Sep 17 00:00:00 2001 From: Xavier Del Campo Romero Date: Tue, 6 Jun 2023 03:46:57 +0200 Subject: 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. --- page.c | 6 +++--- 1 file 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" -- cgit v1.2.3