Skip to content

Commit

Permalink
Add images
Browse files Browse the repository at this point in the history
  • Loading branch information
romw314 committed Nov 8, 2023
1 parent 1b787a1 commit c20521d
Show file tree
Hide file tree
Showing 6 changed files with 29 additions and 0 deletions.
23 changes: 23 additions & 0 deletions styles/app.scss
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
$IMG_WIDTH: 160px;

body.enabled {
font-family: "Courier New", Helvtica, Arial, Verdata, Tahoma, serif;
background-color: black;
Expand Down Expand Up @@ -38,4 +40,25 @@ body.enabled {
margin: 0;
}
}

.bottom-row {
display: inline-block;
position: absolute;
bottom: 20px;
left: 50%;
width: auto;
height: $IMG_WIDTH;
transform: translateX(-50%);

img {
position: relative;
height: $IMG_WIDTH;
width: auto;
float: left bottom;

&.machine {
height: calc($IMG_WIDTH / 2);
}
}
}
}
Binary file added www/img/cafeservice.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/dryer.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/player.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added www/img/washingmachine.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions www/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -42,5 +42,11 @@
<h1>{% title %}</h1>
{% description %}
<button onClick="window.open('https://gd.games/iuevix/pay-and-wash');">Play now!</button>
<div class="bottom-row">
<img title="Washing machine" src="/img/washingmachine.png" class="machine"/>
<img title="Cafe service" src="/img/cafeservice.png"/>
<img title="Player" src="/img/player.png"/>
<img title="Dryer" src="/img/dryer.png" class="machine"/>
</div>
</body>
</html>

0 comments on commit c20521d

Please sign in to comment.