From b97074c913a271e73ca97bd836ef674ea0604acb Mon Sep 17 00:00:00 2001 From: Matthew Fisher Date: Thu, 12 Sep 2024 18:20:30 -0500 Subject: [PATCH] Updated styles sheet to support bootstrap Updated index.html with bootstrap --- static/css/style.css | 37 ++----------------------------------- templates/index.html | 27 +++++++++++++++++++-------- 2 files changed, 21 insertions(+), 43 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index 27b604c..7559bd6 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1,40 +1,7 @@ -html { - background-color: #344E5C; -} - -header { - border-radius: 25px; - border: 10px #EF3D59 solid; - color: #4AB19D; - text-align: center; - padding: 10px; -} - -body { - color: #EFC958; - text-align: center; - padding: 10px; -} - -.button { - background-color: #04AA6D; /* Green */ - border: none; - color: white; - padding: 15px 32px; - text-align: center; - text-decoration: none; - display: inline-block; - font-size: 16px; -} - -#headerpad { - padding: 10px; -} - -#imagebox { - border-radius: 25px; +img { padding: 10px; margin: auto; + min-height: 150px; width: 50%; text-align: center; width: 200px; diff --git a/templates/index.html b/templates/index.html index 4a32c3b..c12e48e 100644 --- a/templates/index.html +++ b/templates/index.html @@ -1,5 +1,5 @@ - + @@ -7,24 +7,35 @@ +
-

Matthew's Tool of the Week

-

Week: {{ tool.Week_to_post }}

+
+ +
+

Week: {{ tool.Week_to_post }}

+
+
-
+
+

{{ tool.Name }}

-
- +
+
-
-

{{ tool.Description }}

+
+

{{ tool.Description }}

+