From f09ca0507ef48a9f4d01a9dcbb1c93a7838d7c46 Mon Sep 17 00:00:00 2001 From: Arthur Lu Date: Fri, 27 Sep 2024 20:42:41 +0000 Subject: [PATCH] fix style issues --- css/form.css | 32 +++++++++++++++++++++----------- css/style.css | 3 ++- 2 files changed, 23 insertions(+), 12 deletions(-) diff --git a/css/form.css b/css/form.css index ca5c4c1..0b368b7 100644 --- a/css/form.css +++ b/css/form.css @@ -8,19 +8,22 @@ .input-grid * { margin-top: 0; margin-bottom: 0; + padding-top: 8px; + padding-bottom: 8px; +} + +.input-grid input { + padding: 8px; +} + +.input-grid svg { + padding: 0; } .input-grid .last-item { text-align: right; } -/* sibling of input-grid that is not inside another input grid */ -:not(.input-grid) .input-grid + * { - display: inline-block; - width: 100%; - margin-top: 5px; -} - legend { float: left; width: 100%; @@ -57,10 +60,17 @@ input[type="radio"] { position: inherit; } -div[draggable="true"] { - cursor: grab; -} - .w3-select, select { padding: 8px; +} + +.w3-check { + top: 0; +} + +/* sibling of input-grid that is not inside another input grid */ +:not(.input-grid) .input-grid + * { + display: inline-block; + width: 100%; + margin-top: 5px; } \ No newline at end of file diff --git a/css/style.css b/css/style.css index 1c1a238..00146c6 100644 --- a/css/style.css +++ b/css/style.css @@ -47,9 +47,10 @@ html { box-sizing: border-box; + background-color: var(--main-bg-color); } -h1, h2, h3, h4, h5, h6, p, a, label, button, input, select, td { +* { font-family: monospace; }