Skip to content

Commit

Permalink
scrolltext
Browse files Browse the repository at this point in the history
  • Loading branch information
leanderseige committed Nov 12, 2021
1 parent 2a50a3a commit 1a39254
Show file tree
Hide file tree
Showing 4 changed files with 48 additions and 10 deletions.
23 changes: 13 additions & 10 deletions dist/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,16 +42,19 @@
<!-- <h1 draggable="false">Welcome!</h1> -->
<button type="button" id="mb_start" class="button">Start</button><br />
<button type="button" id="mb_settings" class="button">Settings</button>
<p>
<br />
<span class="darkgreen">Idea and Coding</span><br />
Leander Seige<br />
<br />
<span class="darkgreen">Music</span><br />
Chris Huelsbeck<br />
Juhani Junkala<br />
<br />
</p>
<div id="mmscrollcont">
<div id="mmscroll">
The terribly accurate clocks of Benrath Palace have nothing else in mind but to ruthlessly wake up the peacefully sleeping humans and animals of art and cultural history. But wait... suddenly a fearless hero comes to the rescue: bravely throwing fruits at the clocks to safeguard the sleep of the just.<br />
<br />
<span class="heading">Idea and Coding</span><br />
Leander Seige<br />
<br />
<span class="heading">Music</span><br />
Chris Huelsbeck<br />
Juhani Junkala<br />
<br />
</div><br />
</div>
<a href="https://github.com/leanderseige/clocksattack#clocks-attack" target="_blank" class="button">About</a><br />
<a href="https://www.shirtee.com/de/store/usedpictures/" target="_blank" class="button">Merch</a>
<br />
Expand Down
5 changes: 5 additions & 0 deletions src/css/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,11 @@ h1 {
.red {
color:red;
}

.darkgreen {
color:#108010;
}

.heading {
color:white;
}
29 changes: 29 additions & 0 deletions src/css/main_menu.css
Original file line number Diff line number Diff line change
Expand Up @@ -20,3 +20,32 @@ p {
padding:0;
margin:0;
}

#mmscrollcont {
padding:0;
margin:0;
height: 35vh;
overflow: hidden;
display:inline-block;
width:100%;
}

#mmscroll {
padding:0vh 3vh;
margin:0;
height: 35vh;
animation-name: mmscrollkf;
animation-duration: 40s;
animation-iteration-count: infinite;
animation-timing-function: linear;
display:inline-block;
}

@keyframes mmscrollkf {
from {
transform: translateY(100%);
}
to {
transform: translateY(-250%);
}
}
1 change: 1 addition & 0 deletions src/css/mobile.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
#level_background,
#preloader,
#mainmenu,
#mmscrollcont
.fullscreen {
width:100vw;
height:100%;
Expand Down

0 comments on commit 1a39254

Please sign in to comment.