From 6122b21d90d4f5511c9ce177b3528ec5f95c4302 Mon Sep 17 00:00:00 2001 From: AINDUSTRIES Date: Thu, 19 Sep 2024 23:09:59 +0200 Subject: [PATCH] Reflection on how the main page works. --- static/css/index.css | 15 +++- static/html/index.html | 18 +++- static/js/index.js | 189 ++++++++++++++--------------------------- 3 files changed, 92 insertions(+), 130 deletions(-) diff --git a/static/css/index.css b/static/css/index.css index 2ad1a70..dfbb6a1 100644 --- a/static/css/index.css +++ b/static/css/index.css @@ -38,6 +38,13 @@ body { color: white; } +.app > label { + color: white; + font-size: 24px; + font-weight: bold; + margin-top: 8px; +} + .app > h1 { color: yellow; } @@ -56,7 +63,7 @@ body { resize: vertical; } -.buttons > button { +.app-nav > button { font-size: 16px; margin: 4px 0 4px 0; padding: 5px; @@ -66,19 +73,19 @@ body { border-radius: 5px; } -.buttons { +.app-nav { width: 100%; display: grid; gap: 5px; grid-template-columns: repeat(2, 50% [col-start]); } -.left { +.left-button { grid-column-start: 1; grid-column-end: 2; } -.right { +.right-button { grid-column-start: 2; grid-column-end: 3; } diff --git a/static/html/index.html b/static/html/index.html index 61f336a..d7ec892 100644 --- a/static/html/index.html +++ b/static/html/index.html @@ -11,7 +11,23 @@ -
+
+

Vote +

+ + + + + + +
+ + +
+
+