-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
108 lines (105 loc) · 1.82 KB
/
index.html
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
105
106
107
108
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width">
<title>斗六門</title>
<style>
body {
margin: 0;
height: 100vh;
width: 100vw;
overflow: hidden;
}
header {
background-color: #010101;
color: #ccc;
width: 100%;
height: 3em;
box-sizing: border-box;
position: fixed;
z-index: 1;
}
header a {
color: inherit;
text-decoration: none;
display: block;
padding: 0 1em;
}
h1 {
margin: 0;
font-size: 1.2rem;
padding: 0 1em;
line-height: 3rem;
display: inline-block;
}
nav {
display: inline-block;
line-height: 3rem;
}
nav ul {
list-style-type: none;
margin: 0;
padding: 0;
}
nav ul li {
display: inline-block;
}
.react-d3-map-core__zoom-control {
top: 4rem !important;
left: 1rem !important;
}
.polygon.boundry {
fill: none !important;
stroke: #319FD3;
stroke-width: 2;
stroke-dasharray: 5, 5;
}
.polygon.village {
fill: rgba(255, 255, 255, .6) !important;
stroke: #319FD3;
stroke-width: 1;
}
.polygon.village:hover {
fill: rgba(255, 0, 0, .2) !important;
stroke: #f00;
}
.bus-line {
stroke-width: 3 !important;
}
.route-101 .bus-line {
stroke: #46aa46 !important;
}
.route-102 .bus-line {
stroke: #4747f4 !important;
}
#info {
position: fixed;
bottom: 1em;
left: 1em;
font-size: 1.5em;
color: #fff;
background-color: #319FD3;
padding: .5em;
}
.tiles-enter {
opacity: 0.01;
}
.tiles-enter.tiles-enter-active {
opacity: 1;
transition: opacity 500ms ease-in;
}
.tiles-leave {
opacity: 1;
}
.tiles-leave.tiles-leave-active {
opacity: 0.01;
transition: opacity 300ms ease-in;
}
</style>
</head>
<body>
<div id="app"></div>
<script src="script.js"></script>
</body>
</html>