From 8554c2ff070892a8417a15780eb101866e3411b2 Mon Sep 17 00:00:00 2001 From: vigneshs Date: Thu, 3 Oct 2024 21:58:46 +0530 Subject: [PATCH] Add HTML and CSS files for Frontend viewing --- src/static/style.css | 35 +++++++++++++++----------- src/templates/index.html | 54 +++++++++++++++++++++++++++++----------- 2 files changed, 61 insertions(+), 28 deletions(-) diff --git a/src/static/style.css b/src/static/style.css index 92c2290..09a27ea 100644 --- a/src/static/style.css +++ b/src/static/style.css @@ -1,26 +1,33 @@ body { - font-family: Arial, sans-serif; - background-color: #f5f5f5; - color: #333; - text-align: center; - padding: 20px; + background-color: #f0f2f5; + font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; } -.container { - max-width: 600px; - margin: 0 auto; - background-color: white; - padding: 20px; - border-radius: 10px; - box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.1); +h1 { + font-size: 2.5rem; + font-weight: bold; + color: #007bff; +} + +h2, h3 { + color: #333; } button { + font-size: 1.2rem; padding: 10px 20px; - font-size: 16px; - cursor: pointer; + margin: 10px; } #results { + margin-top: 30px; +} + +.card { + border-radius: 10px; +} + +#histogram { + max-width: 100%; margin-top: 20px; } diff --git a/src/templates/index.html b/src/templates/index.html index 7c8dfb0..bd12c45 100644 --- a/src/templates/index.html +++ b/src/templates/index.html @@ -4,28 +4,54 @@ Quantum Voting System + + + + + + -
-

Quantum Voting System

- - -