-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
90 lines (77 loc) · 1.38 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
body {
margin: 0;
font-family: 'Source Sans Pro', sans-serif;
user-select: none;
}
hr {
width: 75%;
}
/* Loading prompt */
#loading-prompt {
display: flex;
position: absolute;
justify-content: center;
align-items: center;
width: 100%;
height: 100vh;
background-color: #111;
color: #999;
font-weight: bold;
font-family: monospace;
text-align: center;
pointer-events: none;
}
#title {
clip-path: inset(0 3.3ch 0 0);
animation: l4 1s steps(4) infinite;
width: 600px;
height: 100px;
font-size: 48px;
}
#title:before {
content: "Downloading tiles...";
}
#subtitle {
font-size: 24px;
font-weight: normal;
margin-top: 10px;
}
@keyframes l4 {
to { clip-path: inset(0 -1.1ch 0 0); }
}
/* Menu */
#menu-button {
width: 50px;
height: 50px;
position: absolute;
top: 20px;
left: 20px;
border-radius: 25%;
background-color: #111;
color: #999;
border: solid 2px;
}
#menu-button:hover {
cursor: pointer;
background-color: #444;
}
.menu-kebab {
position: absolute;
width: 29px;
height: 4px;
background-color: #999;
left: 9px;
border-radius: 25%;
}
#menu {
width: 200px;
position: absolute;
top: 80px;
left: 20px;
background-color: #111;
color: #999;
border: solid 2px;
}
.menu-element {
padding: 5px 0 0 5px;
}