Skip to content

Commit

Permalink
Update hero background.
Browse files Browse the repository at this point in the history
  • Loading branch information
VJalili committed Oct 3, 2024
1 parent 57a9078 commit 1339a07
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
13 changes: 13 additions & 0 deletions website/src/pages/index.module.css
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,24 @@
text-align: center;
position: relative;
overflow: hidden;
background-image: url('/img/heroBackground.jpg');
background-size: cover;
background-position: center;
background-repeat: no-repeat;
}

[data-theme='light'] .heroBanner {
color: white;
}

[data-theme='dark'] .heroBanner {
color: white;
}

@media screen and (max-width: 996px) {
.heroBanner {
padding: 2rem;
background-size: cover; /* this makes the background size responsive to the window size */
}
}

Expand Down
3 changes: 3 additions & 0 deletions website/static/img/heroBackground.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1339a07

Please sign in to comment.