Initial commit
This commit is contained in:
commit
e7d99cc1bb
14 changed files with 352 additions and 0 deletions
58
public/index.html
Normal file
58
public/index.html
Normal file
|
|
@ -0,0 +1,58 @@
|
|||
<!DOCTYPE html>
|
||||
<html lang="en">
|
||||
<head>
|
||||
<meta charset="utf-8" />
|
||||
<title>神山町</title>
|
||||
<link rel="stylesheet" href="/leaflet_1.9.4.css"/>
|
||||
<style>
|
||||
html {
|
||||
background: #333;
|
||||
color: #eee;
|
||||
}
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
h1 {
|
||||
padding: 10px 0;
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
}
|
||||
#map {
|
||||
height: 100vh;
|
||||
}
|
||||
.leaflet-marker-icon {
|
||||
background-color: rgba(255, 255, 255, .8);;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.menu {
|
||||
padding: 8px;
|
||||
background-color: rgba(255, 255, 255, .5);
|
||||
color: #222;
|
||||
font-size: 1.2rem;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.menu-category {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
cursor: pointer;
|
||||
padding: 4px 8px;
|
||||
border-radius: 6px;
|
||||
}
|
||||
.menu-category:hover {
|
||||
background-color: rgba(255, 255, 255, .8);;
|
||||
}
|
||||
.menu-category.menu-disable {
|
||||
color: #777;
|
||||
}
|
||||
.menu-category img {
|
||||
height: 1.2rem;
|
||||
margin-right: 8px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<div id="map"></div>
|
||||
<script src="/leaflet_1.9.4.js"></script>
|
||||
<script src="/index.js"></script>
|
||||
</body>
|
||||
</html>
|
||||
Loading…
Add table
Add a link
Reference in a new issue