This commit is contained in:
Maciej Caderek
2022-04-01 22:18:17 +02:00
parent bec863cf80
commit fdb2d7c48a
4 changed files with 9 additions and 6 deletions

View File

@@ -134,9 +134,9 @@ class Player {
if (result) { if (result) {
this.speech.say( this.speech.say(
result === "1-0" result === "1-0"
? "White won!" ? "White wins!"
: result === "0-1" : result === "0-1"
? "Black won!" ? "Black wins!"
: "Draw" : "Draw"
); );
} }

View File

@@ -83,6 +83,9 @@ button,
color: var(--color-text-contrast); color: var(--color-text-contrast);
border-radius: 5px; border-radius: 5px;
width: 100%; width: 100%;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
} }
button:hover, button:hover,

View File

@@ -10,21 +10,21 @@
} }
.header__logo { .header__logo {
padding: 1rem 2rem; padding: 1rem;
text-align: left; text-align: left;
color: var(--color-text-dimmed); color: var(--color-text-dimmed);
} }
.header__logo-pic { .header__logo-pic {
height: 2rem; height: 2rem;
max-width: 320px; max-width: 200px;
background-image: var(--logo-url); background-image: var(--logo-url);
background-repeat: no-repeat; background-repeat: no-repeat;
background-size: contain; background-size: contain;
} }
.header__options { .header__options {
padding: 0 2rem 0; padding: 0 1rem 0;
text-align: right; text-align: right;
} }

View File

@@ -46,7 +46,7 @@
} }
.move__id, .move__id,
.move__ply { .move__ply {
display: inline; display: inline-block;
margin-right: 0.6rem; margin-right: 0.6rem;
width: auto; width: auto;
} }