-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
95 lines (80 loc) · 1.2 KB
/
styles.css
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
height: 100vh;
text-align: center;
background-color: #011F3F;
display: flex;
flex-direction: column;
justify-content: space-between;
}
#level-title {
font-family: 'Press Start 2P', cursive;
font-size: 2rem;
margin-top: 1rem;
color: #FEF2BF;
flex: 1;
}
.container {
flex-grow: 1;
display: flex;
width: 50%;
flex-direction: column;
gap: 50px;
margin: auto;
}
.btn {
display: inline-block;
height: 200px;
width: 200px;
border: 10px solid black;
border-radius: 20%;
}
.row {
display: flex;
justify-content: center;
align-items: center;
gap: 50px;
}
p{
color: #FEF2BF;
margin-bottom: 1rem;
}
@media screen and (max-width: 992px) {
.btn {
height: 400px;
width: 400px;
}
.container {
width: 90%;
}
#level-title {
font-size: 4rem;
padding: 1rem;
margin-top: 2rem;
margin-bottom: 0;
}
}
.game-over {
background-color: red;
opacity: 0.8;
}
.red {
background-color: red;
}
.green {
background-color: green;
}
.blue {
background-color: blue;
}
.yellow {
background-color: yellow;
}
.pressed {
box-shadow: 0 0 20px white;
background-color: grey;
}