From f08f3c4c8400ee9c546309a499d266683dd305a2 Mon Sep 17 00:00:00 2001 From: Alvin Bryan Date: Wed, 18 Dec 2024 22:53:41 +0000 Subject: [PATCH] fixed floating background --- website/src/css/custom.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/website/src/css/custom.css b/website/src/css/custom.css index 139dc59c73..3263b25eae 100644 --- a/website/src/css/custom.css +++ b/website/src/css/custom.css @@ -180,7 +180,7 @@ main .container { } } -main:before { +main:after { /* background-color: red; */ background-image: url("/img/mountain-texture.png"); position: fixed; @@ -188,8 +188,9 @@ main:before { z-index: 0; bottom: 0px; right: 0px; - width: 400px; - height: 100%; + width: 350px; + aspect-ratio: 652 / 905; + background-size: cover; pointer-events: none; user-select: none; background-repeat: no-repeat; @@ -255,7 +256,6 @@ main } .footer { - border-top: 1px solid var(--ifm-font-color-base); z-index: 1; }