-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy paththeme.css
93 lines (77 loc) · 1.22 KB
/
theme.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
:root {
--dark: #011627;
--light: #D8D8F6;
}
* {
overscroll-behavior: contain;
padding: 0;
margin: 0;
outline: 0;
overflow: hidden;
}
button {
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box;
background-color: var(--light);
color: var(--dark);
border: 0.1em solid var(--light);
border-radius: 0.25em;
font-size: 1.3em;
margin: 0.2em 0.2em 0 0;
cursor: pointer;
min-width: 1.5em;
min-height: 2em;
padding: 0.2em 0.5em;
}
button:hover {
background-color: var(--dark);
color: var(--light);
}
ul {
padding: 0;
margin: 0.5em 0 0 0;
display: grid;
}
[hidden]{
display:none;
}
.toolbar {
top: 1em;
left: 1em;
position: absolute;
display: grid;
}
.buttons {
display: flex;
}
html, body {
background-color: var(--dark);
margin: 0;
padding: 0;
width: 100%;
height: 100%;
overflow: hidden;
}
#map_container {
width: 100%;
height: 100%;
}
#map_zoomable {
transform-origin: 0px 0px;
transform: scale(1) translate(0px, 0px);
cursor: grab;
}
div#map_zoomable > img, canvas{
width: 100%;
height: auto;
}
#canvas {
image-rendering: pixelated;
width: 100%;
height: 100%;
}
#maplist {
overflow: scroll;
height: 60vh;
}