Skip to content

Commit

Permalink
Add Reaktor logo folder
Browse files Browse the repository at this point in the history
  • Loading branch information
Heikki Ritola committed Jun 21, 2023
1 parent eefafb8 commit df877d4
Show file tree
Hide file tree
Showing 3 changed files with 55 additions and 1 deletion.
2 changes: 1 addition & 1 deletion index.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# ritola.github.io
# Tools

- [Pomodoro timer](/pomodoro/)
53 changes: 53 additions & 0 deletions reaktor/index.html
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>
1 change: 1 addition & 0 deletions reaktor/logo.svg
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 df877d4

Please sign in to comment.