summary refs log tree commit diff
path: root/styles/layout.css
diff options
context:
space:
mode:
Diffstat (limited to 'styles/layout.css')
-rw-r--r--styles/layout.css5
1 files changed, 4 insertions, 1 deletions
diff --git a/styles/layout.css b/styles/layout.css
index d416712..abc709a 100644
--- a/styles/layout.css
+++ b/styles/layout.css
@@ -141,9 +141,10 @@ header .headerBackground {
 }
 
 header .headerBackground img {
-  z-index: -1;
   object-fit: cover;
   object-position: center 75%;
+  width: 100%;
+  height: 100%;
 }
 
 header .headerBackground::after {
@@ -152,6 +153,8 @@ header .headerBackground::after {
   width: 100%;
   height: 100%;
   background: rgba(0,0,0,.35);
+  position: absolute;
+  top: 0;
 }
 
 header:not(.homepage) ~ h1.pageTitle {