-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Heikki Ritola
committed
Jun 21, 2023
1 parent
eefafb8
commit df877d4
Showing
3 changed files
with
55 additions
and
1 deletion.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
# ritola.github.io | ||
# Tools | ||
|
||
- [Pomodoro timer](/pomodoro/) |
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,53 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<title>Reaktor</title> | ||
<style> | ||
body { | ||
background-color: black; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
height: 100vh; | ||
width: 100%; | ||
margin: 0; | ||
} | ||
#background { | ||
background-color: black; | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
width: 100%; | ||
height: 100vh; | ||
} | ||
img { | ||
width: 50%; | ||
} | ||
</style> | ||
</head> | ||
<body> | ||
<div id="background"> | ||
<img src="logo.svg"> | ||
</div> | ||
</body> | ||
|
||
<script> | ||
var background = document.getElementById('background') | ||
|
||
background.addEventListener("touch", clicked); | ||
background.addEventListener("click", clicked); | ||
|
||
function clicked() { | ||
if (background.requestFullscreen) { | ||
background.requestFullscreen(); | ||
} else if (background.mozRequestFullScreen) { // Firefox | ||
background.mozRequestFullScreen(); | ||
} else if (background.webkitRequestFullscreen) { // Chrome, Safari and Opera | ||
background.webkitRequestFullscreen(); | ||
} else if (background.msRequestFullscreen) { // IE/Edge | ||
background.msRequestFullscreen(); | ||
} | ||
} | ||
|
||
</script> | ||
</html> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.