This repository has been archived by the owner on Dec 6, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
/
style.css
100 lines (93 loc) · 1.55 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
html, body {
background-color: #000;
color: #eee;
margin: 0px;
padding: 0px;
position: fixed;
overflow: hidden;
top: 0;
bottom: 0;
left: 0;
right: 0;
/* Prevent user selection. */
user-select: none;
touch-callout: none;
-webkit-touch-callout: none;
-webkit-user-select: none;
}
.dialog {
display: none;
align-items: center;
justify-content: center;
font-family: sans-serif;
font-size: 170%;
position: absolute;
width: 100%;
height: 100%;
background: rgba(255, 255, 255, 0.2);
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
.dialog.visible {
display: flex;
}
.dialog .wrap {
padding: 30px 60px;
margin: 20px auto;
width: 60%;
background: rgba(0, 0, 0, 0.8);
border-radius: 5px;
}
.dialog h1 {
margin: 0;
}
a, a:visited {
color: skyblue;
}
#watermark img {
position: fixed;
overflow: hidden;
left: 0;
bottom: 0;
opacity: 0.3;
width: 24px;
height: 24px;
padding: 12px;
-webkit-user-select: none;
-moz-user-select: none;
user-select: none;
}
#watermark img:hover {
opacity: 1;
-webkit-filter: drop-shadow(white 0 0 5px);
}
canvas {
cursor: -webkit-grab;
}
canvas:active {
cursor: -webkit-grabbing;
}
#play-overlay {
position: fixed;
width: 100%;
height: 100%;
left: 0;
top: 0;
right: 0;
bottom: 0;
background-color: rgba(0, 0, 0, 0.5);
display: none;
align-items: center;
justify-content: center;
}
#play-overlay.visible {
display: flex;
}
#play-overlay img {
width: 30%;
height: 30%;
}
#error .message {
font-family: monospace;
}