html {
font-family:sans-serif;
color:#080808;
overflow-y: scroll;
height: 100%;
font: 100%/1.5 sans-serif;
word-wrap: break-word;
margin: 1 auto;
padding: 1.5em;
}
body {
background-color: #F6F1EC;
margin:1 auto;
padding:1.5rem;
color: black;
font-size: 18px;
line-height: 130%;
}
@media (min-width: 768px) {
html {
font-size: 100%;
max-width: 100em;
}
}
@media(max-width:720px) {
html {
font-size: 100%;
max-width: 48em;
}
}
h1 {
text-align: center;
margin: auto;
color: purple;
}
pre {
text-align: center;
margin: auto;
color: purple;
}
#map {
width: 100%;
height: 80%;
margin: auto;
}
/* TOOLTIP formatting */
.maptooltip {
font-size: 14px;
background-color: black;
color: #F6F1EC;
padding: 20px;
margin: 0px 5px 0px 5px;
border-radius: 5px;
width: 110%;
height: 100%;
}
.maptooltip-left {
float: left;
text-align: left;
width: 50%;
height: 50%;
text-wrap: wrap;
}
.maptooltip-right {
float: right;
text-align: right;
width: 50%;
height: 50%;
text-wrap: wrap;
}
.maptooltip h3 {
text-align: center;
margin-top: 0px;
margin-bottom: 0px;
}
.maptooltip h4 {
text-align: center;
margin-top: 5px;
margin-bottom: 0px;
}
/* override default leaflet formatting */
.leaflet-tooltip {
background-color: transparent;
border: 5px;
box-shadow: none;
}
/* hide tooltip arrow */
.leaflet-tooltip-top:before,
.leaflet-tooltip-bottom:before,
.leaflet-tooltip-left:before,
.leaflet-tooltip-right:before {
border: none !important;
}
/* track list */
.tracks {
display: inline-block;
text-align: center;
width: 60%;
margin-left: 20%;
list-style: none;
}
.tracks .track a {
display: flex;
padding: 1em;
color: black;
cursor: pointer;
}
.tracks .track a:hover,
.tracks .track a:focus,
.tracks .track a:active {
text-decoration: none;
background: #f9e197;
}
.tracks .track date {
vertical-align: middle;
padding-right: 2rem;
color: grey;
}