diff --git a/css/stylesheet.css b/css/stylesheet.css index 9363756..c76f41f 100644 --- a/css/stylesheet.css +++ b/css/stylesheet.css @@ -1,7 +1,38 @@ html { font-family:sans-serif; - color: white + 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; @@ -13,14 +44,10 @@ color: purple; } #map { - width: 1280px; - height: 720px; + width: 100%; + height: 80%; margin: auto; } -body { - background-color: #F6F1EC; -} - /* TOOLTIP formatting */ .maptooltip { font-size: 14px; @@ -61,7 +88,6 @@ margin-bottom: 0px; } - /* override default leaflet formatting */ .leaflet-tooltip { background-color: transparent; @@ -76,3 +102,29 @@ .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; +} diff --git a/index.html b/index.html index 7fd0160..3e9ae31 100644 --- a/index.html +++ b/index.html @@ -12,7 +12,9 @@