From f59204af8423b3a3e4d7c834b562407609829660 Mon Sep 17 00:00:00 2001 From: benjaminwand <benjamin.wand@web.de> Date: Wed, 6 Oct 2021 12:22:06 +0200 Subject: [PATCH] header img bugfix, accent color --- public/styles/style.css | 7 ++----- public/styles/style.scss | 6 ++---- 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/public/styles/style.css b/public/styles/style.css index d6a6640..ad1be8b 100644 --- a/public/styles/style.css +++ b/public/styles/style.css @@ -205,7 +205,7 @@ header { position: relative; background-image: url("../img/header_img_placeholder.jpg"); background-repeat: no-repeat; - background-size: cover 100%; + background-size: cover; padding: 1.5em 1em; } @@ -303,6 +303,7 @@ footer { #font-selection { color: #333333; + accent-color: #6600ea; background: #efefef; border-radius: 15px; border: 1px solid #6600ea; @@ -366,10 +367,6 @@ footer { flex-basis: 20rem; } - header { - background-size: 100%; - } - .skiplink { -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0); clip-path: polygon(0 0, 0 0, 0 0, 0 0); diff --git a/public/styles/style.scss b/public/styles/style.scss index 0cb7151..ee89d33 100644 --- a/public/styles/style.scss +++ b/public/styles/style.scss @@ -46,7 +46,7 @@ header { position: relative; background-image: url("../img/header_img_placeholder.jpg"); background-repeat: no-repeat; - background-size: cover 100%; + background-size: cover; padding: 1.5em 1em; } @@ -137,6 +137,7 @@ footer { } #font-selection { color: $color_light; + accent-color: $tertiary_light; background: $bg_light; border-radius: 15px; border: 1px solid $tertiary_light; @@ -198,9 +199,6 @@ align-self: center; main > * { flex-basis: 20rem; } - header { - background-size: 100%; - } .skiplink { -webkit-clip-path: polygon(0 0, 0 0, 0 0, 0 0); clip-path: polygon(0 0, 0 0, 0 0, 0 0); -- GitLab