forked from nextzen/d3-vector-tiles
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
102 lines (88 loc) · 2.17 KB
/
styles.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
body {
margin: 0;
}
.map {
position: relative;
overflow: hidden;
}
.layer {
position: absolute;
}
.zoom-container {
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
border-radius: 4px;
width: 26px;
position: absolute;
top: 10px;
right: 10px;
}
a.zoom {
background-color: #fff;
border-bottom: 1px solid #ccc;
width: 26px;
height: 26px;
line-height: 26px;
display: block;
text-align: center;
text-decoration: none;
color: black;
cursor: pointer;
}
a.zoom:hover {
background-color:#f4f4f4;
}
a.zoom:first-child {
border-top-left-radius: 4px;
border-top-right-radius: 4px;
}
a.zoom:last-child {
border-bottom-left-radius: 4px;
border-bottom-right-radius: 4px;
}
.tile {
position: absolute;
width: 256px;
height: 256px;
}
.tile path {
fill: none;
stroke: #fff;
stroke-linejoin: round;
stroke-linecap: round;
}
.tile .water-layer, .tile .river, .tile .stream, .tile .canal { fill: none; stroke: #9DD9D2; stroke-width: 1.5px; }
.tile .water, .tile .ocean { fill: #9DD9D2; }
.tile .riverbank { fill: #9DD9D2; }
.tile .water_boundary, .tile .ocean_boundary, .tile .riverbank_boundary { fill: none; stroke: #93cbc4; stroke-width: 0.5px; }
.tile .major_road { stroke: #fb7b7a; stroke-width: 1px; }
.tile .minor_road { stroke: #999; stroke-width: 0.5px; }
.tile .highway { stroke: #FA4A48; stroke-width: 1.5px; }
.tile .buildings-layer { stroke: #987284; stroke-width: 0.15px; }
.tile .park, .tile .nature_reserve, .tile .wood, .tile .protected_land { fill: #88D18A; stroke: #88D18A; stroke-width: 0.5px; }
.tile .pier { fill: #fff; stroke: #fff; stroke-width: 0.5px; }
.tile .rail { stroke: #503D3F; stroke-width: 0.5px; }
.info {
position: absolute;
bottom: 0px;
right: 0px;
background: #fff;
background: rgba(255, 255, 255, 0.8);
margin: 0;
padding: 0px 5px;
font: 12px/1.5 "Helvetica Neue", Arial, Helvetica, sans-serif;
font-size: 11px;
}
.info a {
text-decoration: none;
color: #0078a8;
}
.info a:hover {
text-decoration: underline;
}
/* For non touch devices, move control out of the way at small window widths */
@media (max-width: 752px) {
/* 767px - 15px for scrollbar */
.mapzen-demo-iframed .zoom-container {
top: 50px;
}
}