Skip to content

Commit

Permalink
fixed floating background
Browse files Browse the repository at this point in the history
  • Loading branch information
alvinometric committed Dec 18, 2024
1 parent 265bf5f commit f08f3c4
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions website/src/css/custom.css
Original file line number Diff line number Diff line change
Expand Up @@ -180,16 +180,17 @@ main .container {
}
}

main:before {
main:after {
/* background-color: red; */
background-image: url("/img/mountain-texture.png");
position: fixed;
display: block;
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;
Expand Down Expand Up @@ -255,7 +256,6 @@ main
}

.footer {
border-top: 1px solid var(--ifm-font-color-base);
z-index: 1;
}

Expand Down

0 comments on commit f08f3c4

Please sign in to comment.