-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
112 lines (93 loc) · 1.61 KB
/
style.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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
body {
font-family: Arial, Helvetica, sans-serif;
}
header {
text-align: center;
}
#simon-says {
position: relative;
margin: 0 auto;
width: 400px;
height: 400px;
background-color: rgb(0, 0, 0);
border-radius: 100%;
user-select: none;
}
#score-board {
position: absolute;
top: 180px;
width: 100%;
text-align: center;
color: white;
}
#red {
border-color: rgb(200, 0, 0);
border-width: 80px 0 0 80px;
border-radius: 100% 0 0 0;
top: 30px;
left: 30px;
}
#red.light {
border-color: rgb(255, 180, 180);
}
#blue {
border-color: rgb(0, 0, 200);
border-width: 80px 80px 0 0;
border-radius: 0 100% 0 0;
top: 30px;
right: 30px;
}
#blue.light {
border-color: rgb(180, 180, 255);
}
#yellow {
border-color: rgb(200, 200, 0);
border-width: 0 0 80px 80px;
border-radius: 0 0 0 100%;
left: 30px;
bottom: 30px;
}
#yellow.light {
border-color: rgb(255, 255, 200);
}
#green {
border-color: rgb(0, 150, 0);
border-width: 0 80px 80px 0;
border-radius: 0 0 100% 0;
right: 30px;
bottom: 30px;
}
#green.light {
border-color: rgb(200, 255, 200);
}
.loss {
background-color: red !important;
}
.correct {
background-color: green !important;
}
.segment {
position: absolute;
border-style: solid;
display: inline-block;
width: 80px;
height: 80px;
cursor: pointer;
}
.label {
position: absolute;
font-weight: bold;
font-size: 30px;
}
.label.top {
top: -20px;
}
.label.right {
right: -20px;
}
.label.bottom {
bottom: -20px;
}
.label.left {
left: -20px;
}