-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.css
More file actions
85 lines (77 loc) · 1.5 KB
/
main.css
File metadata and controls
85 lines (77 loc) · 1.5 KB
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
html {
font-family: 'Roboto', sans-serif;
}
body {
font-size: 16px;
line-height: 20px;
margin: 0;
background-image: url(img/void.png);
background-color: black;
color: white;
}
html, body, #app, .fullHeight, .map {
height: 100%;
}
.mapContainer {
height: 100%;
position: relative;
}
.mapContainer.drawerClosed {
margin-right: 0;
}
.mapContainer.drawerOpen {
/* transition is copied from drawer, so it follows its animation */
transition: margin 450ms cubic-bezier(0.23, 1, 0.32, 1) 0ms;
margin-right: 256px;
}
.mainMenuButton {
position: absolute;
top: 10px;
right: 10px;
z-index: 500;
}
.menu-inset {
margin: 0px 16px;
}
.leaflet-container {
background: none;
}
.leaflet-tile {
image-rendering: pixelated;
}
.control-box {
margin: 10px;
padding: .5em .5em;
background-color: rgba(255,255,255, .95);
}
.coords-display {
position: absolute;
left: 36px;
padding: .5em 1em;
color: black;
}
.claim-name {
text-shadow: black 0px 0px 5px;
pointer-events: none !important;
/* http://howtocenterincss.com/#contentType=text&container.width=200px&container.height=200px&horizontal=center&vertical=middle&browser.IE=none
setting fixed width/height is done by leaflet
*/
display:flex;
text-align: center;
justify-content:center;
align-items:center;
}
.center-outer {
display: table;
position: absolute;
height: 100%;
width: 100%;
}
.center-middle {
display: table-cell;
vertical-align: middle;
}
.center-inner {
margin-left: auto;
margin-right: auto;
}