-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: pbaekgaard <pbaekgaard@users.noreply.github.com>
- Loading branch information
1 parent
58a0ebf
commit d0e88e1
Showing
6 changed files
with
51 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
<link href="{{ url_for('static', path='/style.css') }}" rel="stylesheet"> | ||
<html> | ||
<body id="root" style='background-image: url("{{ url_for('static', path='/kurt.webp') }}"); background-position: center; background-repeat: no-repeat; background-size: cover;'> | ||
<div id="background"> | ||
<audio allow="autoplay" id="important" autoplay loop src="{{ url_for('static', path='/boombastic.mp3') }}"></audio> | ||
</div> | ||
</body> | ||
</html> | ||
<script> | ||
const background = document.getElementById('background') | ||
const audio = document.getElementById("important") | ||
let playing = false | ||
background.onclick = () => { | ||
if (playing) { | ||
audio.pause() | ||
playing = false | ||
} else | ||
audio.play() | ||
playing = true | ||
} | ||
</script> |
Binary file not shown.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,19 @@ | ||
* { | ||
background-image: url("/public/important_images/kurt.webp"); | ||
#background { | ||
width: 100%; | ||
height: 100%; | ||
overflow: hidden; | ||
background-position: center; | ||
background-repeat: no-repeat; | ||
background-size: cover; | ||
margin: 0; | ||
padding: 0; | ||
width: 100%; | ||
height: 100%; | ||
} | ||
|
||
* { | ||
margin: 0; | ||
padding: 0; | ||
height: 100vh; | ||
width: 100vw; | ||
} |