diff --git a/assets/sounds/menu_click.wav b/assets/sounds/menu_click.wav new file mode 100644 index 0000000..64df55d Binary files /dev/null and b/assets/sounds/menu_click.wav differ diff --git a/cards.css b/cards.css index c7bfa27..478ead0 100644 --- a/cards.css +++ b/cards.css @@ -12,7 +12,14 @@ * { transition: .3s; } - +.noSelect { + -webkit-touch-callout: none; + -webkit-user-select: none; + -khtml-user-select: none; + -moz-user-select: none; + -ms-user-select: none; + user-select: none; +} .card { cursor: pointer; padding-bottom: 85%; @@ -75,6 +82,7 @@ body { top: 0px; right: 0px; display: flex; + flex-direction: column; justify-content: center; align-items: center; color: #fff; @@ -96,7 +104,7 @@ body { display: flex; flex-direction: row; justify-content: space-around; - font-size: 18px; + font-size: 100%; color: #fff; font-family: "8-bit-pusab"; } @@ -108,5 +116,24 @@ body { } #health { - min-width: 170px; + /* min-width: 170px; */ + min-width: 33%; +} +.settings{ + font-size: 50%; +} +#start-the-game *:hover::before { + content:'> '; +} +@media screen and (max-width: 513px) { + .stats { + font-size: 64%; + } + #health{ + width: 118px; + min-width: unset; + } + #health img { + width: 20%; + } } \ No newline at end of file diff --git a/index.php b/index.php index 45a25c0..b4485c4 100644 --- a/index.php +++ b/index.php @@ -5,7 +5,8 @@ - + +