-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
138 lines (121 loc) · 2.47 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
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
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
body {
background-color: #eee;
user-select: none;
-webkit-user-select: none;
}
canvas {
background-color: white;
}
#canvas-cover {
position: absolute;
background-color: black;
/* opacity controlled from js */
}
#choice-marker {
position: absolute;
top: 15px;
left: 835px;
width: 45px;
height: 10px;
border: 1px solid #457545;
opacity: 0;
background: linear-gradient(to right, #8BC34A, #e2ffe6);
}
.text-overlay {
position: absolute;
top: 350px;
/* left position is set for every msg from js */
text-align: center;
padding: 14px;
background-color: rgba(255, 255, 255, 0.2);
text-shadow: rgba(255, 255, 255, 0.5) 1px 1px 0px;
font-family: 'Dancing Script', cursive;
font-size: 35px;
}
.text-overlay:empty {
padding: 0;
}
.text-overlay.resetting {
color: white;
background-color: black;
padding: 0;
}
#text-measure-helper {
display: none;
}
#controls {
margin-top: 12px;
width: 900px;
height: 50px;
}
#controls #mute-button {
float: right;
line-height: 50px;
background-color: #ccc;
height: 50px;
width: 50px;
margin-left: 12px;
cursor: pointer;
}
#controls #mute-button img {
padding: 10px;
}
#controls #mobile-controls-button {
float: right;
background-color: #ccc;
width: 130px;
height: 50px;
line-height: 50px;
text-align: center;
padding-left: 12px;
padding-right: 12px;
cursor: pointer;
}
#controls #mobile-controls-button:hover, #controls #mobile-controls-button:active,
#controls #mute-button:hover, #controls #mute-button:active {
background-color: #caa;
}
#mobile-controls {
position: absolute;
top: 0;
left: 0;
width: 240px;
height: 240px;
display: none;
opacity: 0.5;
}
#mobile-controls .mobile-button {
position: absolute;
width: 0;
height: 0;
line-height: 80px;
text-align: center;
}
#mobile-controls #mobile-up {
top: 0;
left: 90px;
border-right: 50px solid transparent;
border-left: 50px solid transparent;
border-bottom: 80px solid black;
}
#mobile-controls #mobile-right {
top: 90px;
left: 200px;
border-top: 50px solid transparent;
border-bottom: 50px solid transparent;
border-left: 80px solid black;
}
#mobile-controls #mobile-down {
top: 200px;
left: 90px;
border-top: 80px solid black;
border-right: 50px solid transparent;
border-left: 50px solid transparent;
}
#mobile-controls #mobile-left {
top: 90px;
left: 0;
border-top: 50px solid transparent;
border-right: 80px solid black;
border-bottom: 50px solid transparent;
}