From 1288127a4defea7ca23d559f0ae39f2419bb936c Mon Sep 17 00:00:00 2001 From: AvinashReddy19 Date: Sat, 14 Oct 2023 11:13:21 +0530 Subject: [PATCH] Made changes in the nav bar representation and also made changes css of most of the pages --- instance/database.db | Bin 8192 -> 8192 bytes static/css/fixtures.css | 14 ++++++--- static/css/standings.css | 2 +- static/css/style.css | 41 ++++++++++++++++++++++++-- templates/Fan_Poll.html | 2 +- templates/base.html | 7 ++++- templates/fixtures.html | 5 +++- templates/index.html | 60 ++++++++++++++++++++------------------- templates/standings.html | 7 +++-- 9 files changed, 97 insertions(+), 41 deletions(-) diff --git a/instance/database.db b/instance/database.db index 3c36fda8015e60efb7b0b759966598b762ef8c82..a05240de4653cc7a27dabe87ee342d8f6045b91e 100644 GIT binary patch delta 17 YcmZp0XmFSy&FC>v#+lJ$W5NP?05N|BegFUf delta 17 YcmZp0XmFSy&1f=F#+lJ%W5NP?05DSpRsaA1 diff --git a/static/css/fixtures.css b/static/css/fixtures.css index 394b644..61fbde9 100644 --- a/static/css/fixtures.css +++ b/static/css/fixtures.css @@ -91,13 +91,19 @@ body { display: inline-flex; width: 3rem; height: 3rem; - background: var(--card-bg); - color: var(--badge-text); + background: white; box-shadow: 0 0 0.2rem 0.1rem var(--card-bg); justify-content: center; align-items: center; border-radius: 50%; margin-left: 1rem; + font-size: 1.2rem; + font-weight: bold; + text-align: center; + line-height: 1.5rem; + z-index: 1; + box-shadow: 0 0 0.2rem 0.1rem var(--shadow); + color: rgb(50, 0, 115); } .teams { @@ -131,14 +137,14 @@ body { position: fixed; right: 0.5rem; bottom: 2rem; - background: var(--bg); + background: white; width: 4rem; height: 4rem; border-radius: 50%; display: flex; align-items: center; justify-content: center; - box-shadow: 0 0 0.1rem var(--badge-text); + box-shadow: black 0 0 0.2rem 0.1rem; transition: all 0.5s ease-in-out; cursor: pointer; z-index: 100; diff --git a/static/css/standings.css b/static/css/standings.css index fc61cf6..ae18ec4 100644 --- a/static/css/standings.css +++ b/static/css/standings.css @@ -60,7 +60,7 @@ table { color: -internal-quirk-inherit; text-align: start; border-spacing: 2px; - border-color: gray; + /* border-color: gray; */ font-variant: normal; } diff --git a/static/css/style.css b/static/css/style.css index 2766a86..1bf9c4d 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,3 +1,6 @@ +*{ + font-family: sans-serif; +} body{ background-color: #320073; } @@ -10,10 +13,20 @@ body{ .table{ display: flex; + justify-content: center; +} +.group{ + margin: 0 20px 0 20px; + border-radius: 50px; + box-shadow: 3px 4px 2px rgba(0,0,0,0.25) + } .teamlogo{ height: 10px; + width: 20px; + margin-right: 10px; + } .group{ display: flex; @@ -26,6 +39,7 @@ body{ margin:0 20px 0 20px; border-radius: 50px; box-shadow: 3px 4px 2px rgba(0,0,0,0.25) + } .team{ @@ -34,9 +48,14 @@ body{ color: white; font-size: x-large; padding: 3%; + border-radius: 50px; + } .icclogo{ opacity: 0.8; + + cursor: default; + transition: 0.3s; } .logo{ @@ -53,17 +72,27 @@ header { background-color: #FF00A5; padding: 1%; border-radius:25px; - box-shadow: 3px 4px 2px rgba(0,0,0,0.25) + box-shadow: 3px 4px 2px rgba(0,0,0,0.25); + justify-content: flex-end; + font-style: sans-serif; } #title { text-align: center; color: white; + font-family: sans-serif; + /* font-size: 1000px; + /* margin: 0; + padding: 0; */ + /* margin-left: 10%; + margin-right: 10%; */ + + } .nav { - color: white; + color: white; } #standings, #fixtures, #fantasy { @@ -72,6 +101,14 @@ header { font-size: large; } +.global-footer__social-container{ + display: flex; + justify-content: center; + flex-wrap: wrap; + position: relative; + z-index: 10; +} + .footer-social { display: flex; justify-content: center; diff --git a/templates/Fan_Poll.html b/templates/Fan_Poll.html index bfd1c9f..3342215 100644 --- a/templates/Fan_Poll.html +++ b/templates/Fan_Poll.html @@ -10,7 +10,7 @@ {% endblock %} {% block body %}
-

Fan Poll

+

Fan Poll

diff --git a/templates/base.html b/templates/base.html index 2def29a..2c0117a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -4,8 +4,13 @@ {% block head %}{% endblock %} + - + {% block body %}{% endblock %} \ No newline at end of file diff --git a/templates/fixtures.html b/templates/fixtures.html index e91b91b..8f1e4b3 100644 --- a/templates/fixtures.html +++ b/templates/fixtures.html @@ -10,7 +10,9 @@ {% endblock %} {% block body %}
+

Fixtures

+
{% for fixture in fixtures %}
@@ -36,7 +38,8 @@

{{ fixture.date }}

{{ fixture.time }}

-
+
{% endfor %}
+
{% endblock %} \ No newline at end of file diff --git a/templates/index.html b/templates/index.html index 7cabd03..0cb9235 100644 --- a/templates/index.html +++ b/templates/index.html @@ -73,38 +73,40 @@

Welcome to ICC World Cup 2023

SL
+ {% endblock %} \ No newline at end of file diff --git a/templates/standings.html b/templates/standings.html index adf1f3f..d6633ab 100644 --- a/templates/standings.html +++ b/templates/standings.html @@ -3,7 +3,7 @@ {% block head %} - Document + World cup 2022 {% endblock %} {% block body %} @@ -18,7 +18,10 @@

- Group Stage + + Group Stage + +