Skip to content

Commit 2ed73e1

Browse files
fix styles (#11)
1 parent eff35f5 commit 2ed73e1

File tree

4 files changed

+7
-11
lines changed

4 files changed

+7
-11
lines changed

public/html/game.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
rel="stylesheet">
1414
<script src="/socket.io/socket.io.js"></script>
1515
<script defer type="module" src="/javascript/game.mjs"></script>
16-
<title>Game</title>
16+
<title>Typing Race</title>
1717
</head>
1818

1919
<body>
@@ -24,7 +24,7 @@ <h1 class="title">Join Room Or Create New</h1>
2424
<div id="rooms-wrapper">
2525
</div>
2626
</div>
27-
<div id="game-page" class="full-screen display-none">
27+
<div id="game-page" class="flex full-screen display-none">
2828
<div>
2929
<h1 id="room-name">Room name</h1>
3030
<button id="quit-room-btn">Back to Rooms</button>

public/styles/common.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ input::placeholder {
5050
}
5151

5252
.title {
53-
margin: 25px
53+
padding: 25px
5454
}
5555

5656
.modal {
@@ -80,4 +80,4 @@ input::placeholder {
8080

8181
.modal .body-wrapper {
8282
margin: 25px
83-
}
83+
}

public/styles/game.css

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66
}
77

88
#room-name {
9-
margin: 10px;
10-
}
11-
12-
#game-page {
13-
display: flex;
9+
padding: 15px;
1410
}
1511

1612
#game-container {
@@ -75,4 +71,4 @@
7571

7672
.finished {
7773
background-color:greenyellow !important;
78-
}
74+
}

public/styles/rooms.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,4 +30,4 @@
3030
background-color:var(--main-button-background-color);
3131
border: 1px solid var(--main-button-border-color);
3232
padding: 5px 20px;
33-
}
33+
}

0 commit comments

Comments
 (0)