-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
93 lines (86 loc) · 1.49 KB
/
styles.css
File metadata and controls
93 lines (86 loc) · 1.49 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
body {
text-align: center;
background-color: #3f3f44;
}
#level-title {
font-family: 'Press Start 2P', cursive;
font-size: 2.6rem;
margin: 5%;
color: #FEF2BF;
}
.container {
position: relative;
display: block;
height: 448px;
width: 448px;
margin: auto;
align-items: center;
background-color: #000;
border-radius: 100%;
}
.btn{
display: inline-block;
align-items: center;
height: 200px;
width: 200px;
border: 10px solid black;
text-align: center;
cursor: pointer;
}
.btn.green {
border-top-left-radius: 100%;
background-color: green;
}
.btn.red {
border-top-right-radius: 100%;
background-color: red;
}
.btn.yellow {
border-bottom-left-radius: 100%;
background-color: yellow;
}
.btn.blue {
border-bottom-right-radius: 100%;
background-color: blue;
}
.middle {
position: absolute;
bottom: 22%;
left: 22%;
height: 250px;
width: 250px;
background-color: #000;
border-radius: 100%;
color: white;
font-family: 'Ultra', serif;
font-size: 46px;
text-align:center;
z-index: 100;
}
.middle p{
margin: 50px auto 6px;
}
.start-btn {
color: white;
background-color: black;
outline: 0;
padding: 12px 24px;
border: 2px solid white;
border-radius: 8px;
cursor: pointer;
font-size: 12px;
}
.start-btn:active {
transform: scale(0.95);
}
.start-btn:focus {
box-shadow: 0px 0px 10px rgb(171, 223, 230);
}
.game-over {
background-color: red;
opacity: 0.8;
}
.pressed {
box-shadow: 0 0 5px white;
background-color: grey;
}