Skip to content

Commit

Permalink
changed font and improved performence
Browse files Browse the repository at this point in the history
  • Loading branch information
arthur-adriansens authored Nov 22, 2023
1 parent d6d74f9 commit fe4867a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,9 +72,9 @@ <h2>Game Over</h2>
></path>
</svg>
<div class="options">
<img src="./assets/icons/effects-1.svg" id="effects" alt="effects" height="20px" width="auto" data-state="1" data-max="1" />
<img src="./assets/icons/music-1.svg" id="track" alt="track" height="20px" width="auto" data-state="1" data-max="1" />
<img src="./assets/icons/volume-1.svg" id="volume" alt="volume" height="20px" width="auto" data-state="1" data-max="2" />
<img src="./assets/icons/effects-1.svg" id="effects" alt="effects" height="25px" width="25px" data-state="1" data-max="1" />
<img src="./assets/icons/music-1.svg" id="track" alt="track" height="25px" width="25px" data-state="1" data-max="1" />
<img src="./assets/icons/volume-1.svg" id="volume" alt="volume" height="25px" width="25px" data-state="1" data-max="2" />
<svg xmlns="http://www.w3.org/2000/svg" id="speedIcon" alt="volume" viewbox="0 0 24 24" data-state="2">
<path
d="M20,4.052A12,12,0,0,0,3.612,21.572,4.993,4.993,0,0,0,7.12,23h9.767a4.84,4.84,0,0,0,3.354-1.288A12.053,12.053,0,0,0,20,4.052ZM18.868,20.259A2.862,2.862,0,0,1,16.887,21H7.12a3,3,0,0,1-2.11-.858,10,10,0,1,1,13.858.117ZM20,13a7.932,7.932,0,0,1-2.408,5.715,1,1,0,0,1-1.4-1.43c4.141-3.956.6-11.095-5.05-10.223a1,1,0,0,1-.286-1.981A8.026,8.026,0,0,1,20,13ZM7.806,17.284a1,1,0,0,1-1.4,1.432,7.973,7.973,0,0,1-2.327-6.859,1,1,0,0,1,1.981.286A5.966,5.966,0,0,0,7.806,17.284ZM14,13a2,2,0,1,1-3.932-.518L6.293,8.707A1,1,0,0,1,7.707,7.293l3.775,3.775A2.008,2.008,0,0,1,14,13Z"
Expand Down
6 changes: 3 additions & 3 deletions src/style.css
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
@import url("https://fonts.cdnfonts.com/css/lvdc-game-over");
@import url('https://fonts.googleapis.com/css2?family=Press+Start+2P&display=swap');

html,
body,
Expand Down Expand Up @@ -31,7 +31,7 @@ canvas {
.TRscore {
color: grey;
font-size: 10px;
font-family: "LVDC Game Over 2", sans-serif;
font-family: "Press Start 2P";
position: absolute;
top: 2.5%;
right: 0;
Expand Down Expand Up @@ -59,7 +59,7 @@ canvas {
flex-direction: column;
justify-content: center;
align-items: center;
font-family: "LVDC Game Over 2", sans-serif;
font-family: "Press Start 2P";
}

#game-over>h2 {
Expand Down

0 comments on commit fe4867a

Please sign in to comment.