summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--static/styles.css18
-rw-r--r--templates/index.html.j25
2 files changed, 6 insertions, 17 deletions
diff --git a/static/styles.css b/static/styles.css
index c001fd2..5fcdfe9 100644
--- a/static/styles.css
+++ b/static/styles.css
@@ -96,20 +96,12 @@ section {
section.banner {
text-align: center;
- padding-left: 0em;
- padding-right: 0em;
+ justify-content: center;
+ align-items: center;
+ gap: 1em;
+ padding-bottom: 1em;
margin-bottom: 0;
- background: linear-gradient(to right,
- rgba(255, 255, 255, 0) 0%,
- rgba(255, 255, 255, 1) 75%);
-}
-
-section.banner * {
- background: white;
- padding-top: 1em;
- margin-top: 0;
- margin-left: 0;
- margin-right: 0;
+ background: linear-gradient(white 90%, rgba(255, 255, 255, 0));
}
.button img {
diff --git a/templates/index.html.j2 b/templates/index.html.j2
index 4704e49..2fa471c 100644
--- a/templates/index.html.j2
+++ b/templates/index.html.j2
@@ -2,13 +2,10 @@
{% block main %}
<!--banner-->
-<section class="banner">
+<section class="banner flexible">
<h1>
CARPENTER TUTORING
</h1>
-</section>
-
-<section class="centered">
<h6>
Discovering your path to success.
</h6>