diff options
| author | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-06-06 03:46:57 +0200 |
|---|---|---|
| committer | Xavier Del Campo Romero <xavi.dcr@tutanota.com> | 2023-06-06 03:48:36 +0200 |
| commit | c4a3d54ac9f28d4690a88d9abcc262e6ffb9e381 (patch) | |
| tree | fccabd7e4515657950f9a198eb3cfc75a69dd244 | |
| parent | 3102e0da4bd1bcaf4e3e0aeb554a6efa87436e5d (diff) | |
| download | slcl-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.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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" |
