-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
82 lines (68 loc) · 1.23 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
body {
text-align: center;
background-color: #011F3F;
}
#start-screen {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100vh;
color: #FEF2BF;
}
#rules-title {
font-family: 'Press Start 2P', cursive; /* Specify font-family */
font-size: 3rem;
margin-bottom: 20px;
}
#rules {
font-size: 1.5rem;
max-width: 80%;
line-height: 1.5;
text-align: left; /* Align list items to the left */
}
#rules li {
list-style-type: disc; /* Use disc bullet points */
margin-bottom: 10px; /* Add some space between list items */
}
#game-screen {
display: none;
}
.container {
display: block;
width: 50%;
margin: auto;
}
.btn {
margin: 25px;
display: inline-block;
height: 200px;
width: 200px;
border: 10px solid black;
border-radius: 20%;
}
.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;
}
/* Added to reset the level title color and font */
#level-title {
color: #FEF2BF;
font-family: 'Press Start 2P', cursive; /* Specify font-family */
}