From accac89e17717a3f2f16292b478fdfc3ddaa16ad Mon Sep 17 00:00:00 2001 From: Marc Schmidt Date: Mon, 24 Jun 2024 21:11:19 +0200 Subject: [PATCH] fix: style fixes --- .../src/app/components/app/app.component.html | 2 +- .../src/app/components/app/app.component.scss | 21 ++++++++++++++++++- .../app/footer/footer.component.html | 2 +- src/client/src/index.html | 1 + src/client/src/styles.scss | 21 ------------------- 5 files changed, 23 insertions(+), 24 deletions(-) diff --git a/src/client/src/app/components/app/app.component.html b/src/client/src/app/components/app/app.component.html index e2d89c2..3db911a 100644 --- a/src/client/src/app/components/app/app.component.html +++ b/src/client/src/app/components/app/app.component.html @@ -1,4 +1,4 @@ -
+
diff --git a/src/client/src/app/components/app/app.component.scss b/src/client/src/app/components/app/app.component.scss index a83b370..6051910 100644 --- a/src/client/src/app/components/app/app.component.scss +++ b/src/client/src/app/components/app/app.component.scss @@ -1,3 +1,22 @@ :host { - @apply flex flex-col h-full; + @apply flex h-full flex-col; +} + +.bg-image { + background-image: url('/icons/icon512_maskable.png'); + + /* Center and scale the image nicely */ + background-position: center; + background-repeat: no-repeat; + background-size: cover; + + /* Add the blur effect */ + filter: blur(15px); + -webkit-filter: blur(15px); + + /* little overshoot to make blur edges invisible */ + height: 110%; + width: 110%; + left: -5%; + top: -5%; } diff --git a/src/client/src/app/components/app/footer/footer.component.html b/src/client/src/app/components/app/footer/footer.component.html index ab8c05e..a479c9c 100644 --- a/src/client/src/app/components/app/footer/footer.component.html +++ b/src/client/src/app/components/app/footer/footer.component.html @@ -1,5 +1,5 @@