treeadvisor/server/static/index.html

66 lines
1.6 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Dresden Tree Advisor</title>
<link rel="stylesheet" href="leaflet.css" />
<script src="leaflet.js"></script>
<style>
#map { margin: 0; padding: 0; width: 100vw; height: 100vh; }
body { margin: 0; padding: 0; font-family: sans-serif; }
.leaflet-div-icon {
background: none;
border: none;
}
.tree-icon {
overflow: visible;
}
.tree-icon img {
border-radius: 100%;
}
.tree-label {
margin: 0;
overflow: visible;
text-align: center;
font-size: small;
line-height: 1.1em;
color: black;
text-shadow: -1px -1px 0px white, 1px -1px 0px white, -1px 1px 0px white, 1px 1px 0px white;
}
.tree-popup {
display: flex;
flex-flow: row;
align-items: stretch;
justify-content: center;
}
.tree-popup p {
line-height: 1.2em;
}
.tree-popup > div {
flex: 0 1 50%;
}
.tree-popup > div:nth-child(1) {
padding-right: 2rem;
}
.tree-popup p {
margin: 0.2rem 0rem;
}
.tree-popup h2 {
margin: 1rem 0 0.5rem;
}
.tree-popup h3 {
margin: 0.5rem 0 0.2rem;
padding: 0;
border-bottom: 1px solid #aaa;
}
</style>
<meta name="viewport" content="width=device-width, initial-scale=1, minimum-scale=1, maximum-scale=1, user-scalable=no">
</head>
<body>
<div id="map"></div>
<script src="app.js"></script>
</body>
</html>