From 3ea6154a9e75011c194820456b66fa00f12a55b7 Mon Sep 17 00:00:00 2001 From: Jan Tuomi Date: Tue, 20 Aug 2024 13:20:38 +0300 Subject: Style and a11y improvements --- static/styles.css | 22 ++++++++++++++++++---- 1 file changed, 18 insertions(+), 4 deletions(-) (limited to 'static') diff --git a/static/styles.css b/static/styles.css index 21f742e..eb71d75 100644 --- a/static/styles.css +++ b/static/styles.css @@ -10,7 +10,7 @@ body { line-height: 24px; } -a:not(:visited) { +a { color: rgb(30, 99, 248); } @@ -53,7 +53,7 @@ input[type="submit"].red { button.blue, input[type="submit"].blue { - background-color: rgb(30, 99, 248);; + background-color: rgb(30, 99, 248); } button.yellow, @@ -166,7 +166,10 @@ th, td { } .display-mode-section input[type="submit"] { - margin-left: 10px; + text-decoration: underline; + color: rgb(30, 99, 248); + background: none; + padding: 5px 0; } .vote-list label, @@ -200,10 +203,21 @@ button#share-link-copy { line-height: 24px; } +.delete-voter-container { + display: flex; + flex-flow: row nowrap; + justify-content: flex-start; + align-items: center; +} + +.delete-voter-container span { + margin-bottom: 4px; +} + input[type="submit"].delete-voter-btn { margin-left: 5px; background: none; - padding: 0; + padding: 2px 4px; } /* This is to fix a CSS specificity issue with the .most-voted class */ -- cgit v1.3