Skip to content

Commit

Permalink
serve bg image on site
Browse files Browse the repository at this point in the history
  • Loading branch information
McAlec1 committed Jan 11, 2025
1 parent 6d7e0d6 commit 376ea68
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions css/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,10 @@
@import url('https://cdn.mcalec.dev/web/css/font/poppins.min.css');
@import url('https://cdn.mcalec.dev/web/css/font/roboto.min.css');


* {margin: 0;padding: 0;box-sizing: border-box;}
::selection {color: #000; background-color: #fff;}
body {
cursor: url(/cursor/default.cur), default;
}
::selection {color: #000;background-color: #fff;}
body {cursor: url('/cursor/default.cur'), default;font-display: swap;}

h1 {font-family: LatoBold;}
h1 b {font-family: LatoBold;}
Expand Down Expand Up @@ -54,7 +53,7 @@ i {font-family: LatoRegularItalic;}
text-decoration: none;
font-size: 1.25rem;
transition: color 0.3s ease;
cursor: url(/cursor/pointer.cur), pointer;
cursor: url('/cursor/pointer.cur'), pointer;
}
ul li a:hover {
color: #999;
Expand All @@ -71,7 +70,7 @@ i {font-family: LatoRegularItalic;}
overflow: hidden;
.bgimage {
height: 100%;
background-image: url('https://cdn.mcalec.dev/image/jpeg/trees.jpeg');
background-image: url('/img/trees.avif');
background-position: center;
background-repeat: no-repeat;
background-size: cover;
Expand All @@ -92,6 +91,7 @@ i {font-family: LatoRegularItalic;}
font-weight: bold;
text-align: center;
z-index: 2;
font-display: auto;
cursor: url(/cursor/text.cur), text;
}
}
Expand Down
Binary file added img/trees.avif
Binary file not shown.

0 comments on commit 376ea68

Please sign in to comment.