Skip to content

Commit

Permalink
theme(fix): background image hack
Browse files Browse the repository at this point in the history
  • Loading branch information
davidsneighbour committed Aug 10, 2024
1 parent 8b4d236 commit 741d276
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions assets/scss/03-global/_global.scss
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
html {
scroll-behavior: smooth;

// background: url("/assets/images/background.jpg") no-repeat center center fixed;
// background: url("/assets/images/bg.jpg") no-repeat center center fixed;
background-repeat: no-repeat;
background-position: center center;
background-attachment: fixed;
background-size: cover;

/* https://unsplash.com/photos/the-night-sky-with-stars-and-the-milky-dUezo60XCZE */
background-image: url("/assets/images/background.jpg");
background-image: url("/assets/images/bg.jpg");

&:has(.kind-404) {
background: url("/assets/images/404.jpg") no-repeat center center fixed;
Expand Down
File renamed without changes

0 comments on commit 741d276

Please sign in to comment.