-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
78 lines (73 loc) · 1.25 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
@import url('https://fonts.googleapis.com/css?family=Raleway&display=swap');
html, body {
margin: 0;
padding: 0;
overflow: hidden;
font-family: 'Raleway';
user-select: none;
cursor: grab;
color: rgba(255, 255, 255, 0.4);
}
canvas {
display: block;
}
:active{
cursor: grabbing;
}
/*------------ Texts --------------*/
.title {
position: absolute;
top: 0;
left: 50%;
transform: translateX(-50%);
text-align: center;
color: rgba(255, 255, 255, 0.6);
font-size: 1.2em;
font-weight: bold;
}
.by {
font-size: 0.8em;
}
.helper{
position: absolute;
top: 30%;
left: 50%;
transform: translateX(-50%);
text-align: center;
font-weight: bold;
}
.hint {
position: absolute;
bottom: 5%;
left: 50%;
transform: translateX(-50%);
font-weight: bold;
color: rgba(255, 255, 255, 0.5);
}
.classify {
margin: 1em;
font-size: 0.8em;
}
.current{
position: absolute;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
font-size: 10em;
}
/*------------ Others --------------*/
.hide{
display: none;
}
.prediction{
width: 30px;
height: 30px;
font-size: 1.2em;
font-weight: bold;
line-height: 30px;
text-align: center;
cursor: none;
transform: translate(-50%, -50%);
border-radius: 50%;
color: white;
}