diff --git a/src/app.js b/src/app.js index c35cdd6..1c56683 100644 --- a/src/app.js +++ b/src/app.js @@ -315,9 +315,9 @@ export default function Game() { {peerConnection && (isItMyTurn(playerSymbol) ? ( -

{`Your (${playerSymbol}) turn`}

+

{`Your (${playerSymbol}) turn`}

) : ( -

{`Opponent's (${opponentSymbol}) turn`}

+

{`Opponent's (${opponentSymbol}) turn`}

))} {!peerConnection && (

- - - + + + +
+
+
diff --git a/src/startpage/startpage.module.css b/src/startpage/startpage.module.css index 3b4dc07..9a270ce 100644 --- a/src/startpage/startpage.module.css +++ b/src/startpage/startpage.module.css @@ -36,7 +36,7 @@ img { .horizontalButtonsContainer { display: flex; justify-content: space-between; - margin-bottom: 20px; + margin-bottom: 10px; } .horizontalButtonsContainer button { @@ -44,3 +44,20 @@ img { margin-left: 5px; margin-right: 5px; } + +.startScreen select { + text-align: center; + padding: 10px 20px; + font-size: 1.2rem; + background-color: #f8b400; + color: #fff; + border: none; + border-radius: 5px; + cursor: pointer; + transition: background-color 0.3s ease; + margin-bottom: 20px; +} + +.startScreen select:hover { + background-color: #ffd04f; +} \ No newline at end of file diff --git a/src/styles.css b/src/styles.css index fa7895a..a7e74ed 100644 --- a/src/styles.css +++ b/src/styles.css @@ -82,8 +82,8 @@ h1 { background: url(../media/home.png) no-repeat; cursor: pointer; border: none; - width: 40px; - height: 40px; + width: 43px; + height: 43px; background-size: contain; position: absolute; top: 40px;