-
Notifications
You must be signed in to change notification settings - Fork 8
/
Copy pathstyle.css
104 lines (94 loc) · 1.91 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
/* I did this so that the canvas can fit the window */
html, body {
overflow: hidden;
user-select: none;
padding: 0;
margin: 0;
font-family: Tahoma;
font-size: 14px;
}
a {
background-color: black;
}
.touch-control {
position: absolute;
left: 0;
right: 0;
margin-left: auto;
margin-right: auto;
width: 100px;
}
#mobile-block {
width: 100%;
height: 100%;
color: white;
background: black;
display: none;
position: absolute;
top: 0; left: 0;
}
/*
@media (pointer:none), (pointer:coarse) {
#mobile-block {
display:block;
}
} */
.movement-pad {
position: absolute;
}
.movement-pad .region {
position: absolute;
width: 100px;
height: 100px;
background: radial-gradient(rgba(218, 225, 230, 0.25) 5%, rgba(218, 225, 230, 0.50) 95%),
url("../images/nav.png") center center no-repeat;
border: 2px solid rgba(218, 225, 230, 0.25);
border-radius: 90px;
box-shadow: 0px 0px 5px rgba(194, 200, 204, 0.55);
user-select: none;
}
#click-warning-overlay {
position: absolute;
top: 0;
left: 0;
color: white;
background: rgba(0, 0, 0, 0.8);
width: 100vw;
height: 100vh;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
font-size: 2em;
cursor: pointer;
font-family: courier;
}
.movement-pad .handle {
opacity: 0.1;
position: absolute;
height: 30px;
width: 30px;
top: 0px;
left: 0px;
background: radial-gradient(rgba(215, 225, 255, 0.70) 0%, rgba(215, 225, 255, 0.50) 100%);
/*border: 1px solid rgba(145, 105, 245, 0.90);*/
border-radius: 50%;
box-shadow: 0px 0px 7px rgba(195, 205, 245, 0.9);
text-align: center;
font: 24px/44px "Courier New", Courier, monospace;
user-select: none;
}
canvas {
width: 100%;
height: 100%;
padding: 0;
}
a {
font-size: 150%;
}
@media only screen and (max-width: 600px)
{
a {
font-size: 55%;
}
}