summary refs log tree commit diff
path: root/styles/layout.css
diff options
context:
space:
mode:
authorAshelyn Rose <git@tempest.dev>2023-12-02 16:29:03 -0700
committerAshelyn Rose <git@tempest.dev>2023-12-02 16:29:03 -0700
commitc74fad179379260dcf46edeae22c1f04ee842508 (patch)
tree6e5cce69c0b01227599933179cc7be2b230486a0 /styles/layout.css
parent11aed6e30f3050a1062e37149bba878d485d52a8 (diff)
Manual static image optimization
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 {