-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
120 lines (101 loc) · 1.7 KB
/
styles.css
File metadata and controls
120 lines (101 loc) · 1.7 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
@import url('https://fonts.googleapis.com/css2?family=Jost:wght@500&display=swap');
body {
text-align: center;
background-color: #011F3F;
height: 100%;
width: 100%;
padding: 1rem;
display: flex;
align-items: center;
justify-content: center;
flex-direction: column;
}
#level-title {
font-family: 'Press Start 2P', cursive;
font-size: 2.2rem;
margin: 1rem 0;
color: #FEF2BF;
max-width: 400px;
}
.container {
display: flex;
justify-content: space-between;
align-items: center;
max-width: 400px
}
.btn {
display: inline-block;
height: 130px;
width: 130px;
border-radius: 15%;
margin-bottom: 1rem;
}
.game-over {
background-color: red;
opacity: 0.8;
}
.red {
background-color: #aa0000;
border: 7px solid #fff;
}
.green {
background-color: #008000;
border: 7px solid #fff;
}
.blue {
background-color: #1010ff;
border: 7px solid #fff;
}
.yellow {
background-color: #cccc00;
border: 7px solid #fff;
}
.pressed {
box-shadow: 0 0 20px white;
background-color: grey;
}
#start {
padding: 0.7rem 2.5rem;
background-color: #c8531e;
color: #fff;
font-weight: bold;
border: 0;
outline: none;
border-radius: 0.5rem;
font-size: 1.8rem;
}
footer {
margin-top: 1rem;
font-family: "jost", sans-serif;
color: white;
}
footer span {
color: red;
}
footer a {
text-decoration: none;
color: #fff;
}
.rules {
color: darkorange;
}
.game-rules {
color: #ddd;
font-family: "Jost", sans-serif;
padding: 0.7rem;
max-width: 400px;
}
.game-rules a {
text-decoration: none;
background-color: #008000;
color: #ddd;
padding: 0.5rem 1rem;
border-radius: 0.3rem;
font-weight: 500;
}
#green {
color: #00aa00;
}
#yellow {
color: #cccc00;
}