Skip to content

Commit d34aa7d

Browse files
committed
Add gameover styles
1 parent 00da88d commit d34aa7d

File tree

1 file changed

+25
-11
lines changed

1 file changed

+25
-11
lines changed

style.css

Lines changed: 25 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,17 @@ header {
2929
padding: 32px;
3030
}
3131

32+
button {
33+
background-color: transparent;
34+
padding: 16px;
35+
font-family: 'Space Grotesk', sans-serif;
36+
font-size: 20px;
37+
text-align: center;
38+
color: white;
39+
border: 2px solid #a1d2ff;
40+
cursor: pointer;
41+
}
42+
3243
.container {
3344
max-width: 720px;
3445
margin: 0 auto;
@@ -45,17 +56,6 @@ header {
4556
padding: 16px;
4657
}
4758

48-
.stage-actions button {
49-
background-color: transparent;
50-
padding: 16px;
51-
font-family: 'Space Grotesk', sans-serif;
52-
font-size: 20px;
53-
text-align: center;
54-
color: white;
55-
border: 2px solid #a1d2ff;
56-
cursor: pointer;
57-
}
58-
5959
.stage-image {
6060
display: grid;
6161
place-items: center;
@@ -65,6 +65,20 @@ header {
6565
max-width: 100%;
6666
}
6767

68+
.game-over-container {
69+
position: relative;
70+
padding: 24px;
71+
text-align: center;
72+
}
73+
74+
.game-over-container .game-over-logo {
75+
font-size: 60px;
76+
}
77+
78+
.game-over-container button {
79+
width: 100%;
80+
}
81+
6882
.loading {
6983
display: flex;
7084
justify-content: center;

0 commit comments

Comments
 (0)