From b2fad878fb50703159a6be4e4e217716000bd43b Mon Sep 17 00:00:00 2001 From: Arne Date: Fri, 4 Aug 2023 10:43:11 +0200 Subject: [PATCH] Added welcome text --- src/app/app.component.html | 7 ++++++- src/app/app.component.scss | 31 ++++++++++++++++++++++++++++--- 2 files changed, 34 insertions(+), 4 deletions(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index cc54c78..0279c20 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1,7 +1,12 @@
hero-image -
+
+
+

Sinia,

+

Uw betrouwbare partner

+
+
diff --git a/src/app/app.component.scss b/src/app/app.component.scss index 6a4f173..1766a90 100644 --- a/src/app/app.component.scss +++ b/src/app/app.component.scss @@ -23,8 +23,26 @@ app-header { height: 60rem; width: 100%; top: -160rem; - display: inline-block; position: relative; + + .wrapper-slogan { + padding: 2rem; + max-width: 120rem; + margin: 0 auto; + } + + p { + font-weight: bold; + text-transform: uppercase; + background-color: rgba(30, 45, 91, 0.8); + font-size: 4rem; + padding: 1.5rem; + color: $white; + position: relative; + top: 8rem; + width: fit-content; + z-index: 80; + } } } @@ -219,8 +237,15 @@ h2 { height: 20rem; .hero { - transform: translateY(-50%) translateX(-50%) scale(0.35); - top: 25%; + transform: translateY(-50%) translateX(-50%) scale(0.55); + top: 0%; + } + + .overlay { + p { + font-size: 2rem; + top: 5rem; + } } }