/* * Typography */ body { font-family: Verdana, Arial, sans-serif; font-size: 16px; margin: 0; } .page-title { font-size: 3em; text-align: center; margin-top: 0; } details h2 { display: inline; } .positive, .negative { font-weight: bold; } .positive { color: darkgreen; } .negative { color: red; } .small { font-variant: italic; font-size: 0.8em; } /* * Layout */ .page-header { background-color: #a4ecfc; border-bottom: 5px solid black; } .other-links { display: block; margin: auto; overflow: auto; } .other-links ul { list-style: none; margin: 0 auto; width: fit-content; } .other-links li { background-color: #5adefc; float: left; margin-left: 1.5em; border: 2px solid white; border-radius: 1em; } .other-links li:first-of-type { margin-left: 0; } .other-links li:hover { background-color: #2389a0; } .other-links li p { padding: 0.5em 1em; margin: 0; } .other-links li p a { color: #fff; font-weight: bold; text-decoration: none; } .trip-meta { display: block; width: 100%; text-align: center; } .main--list { margin: auto; width: 100%; max-width: 980px; } #routeContainer { display: grid; } #mapContainer { grid-column-start: 1; grid-column-end: 3; } #map { height: 400px; } #checkinList { grid-column-start: 1; grid-column-end: 3; border-top: 5px solid black; padding: 0 1em; } .checkin { border-top: 1px solid black; padding: 1em 0; } .checkin__summary { cursor: pointer; } .checkin[open] .checkin__summary { margin-bottom: 1em; border-bottom: 1px solid gray; } .checkin__meta { margin: 0; } .checkin[open] .checkin__meta { margin-bottom: 1em; } #checkinList li:first-child .checkin { border-top: none; } .leaflet-popup { max-width: 85vw; max-height: 85vh; min-width: 60vw; } .leaflet-popup-content { width: auto !important; } .popup__image { width: auto; height: auto; max-width: 70vw; max-height: 45vh; margin-top: 1em; display: block; } /* * Large Display */ @media screen and (min-width: 1024px) { .page-header { padding: 1em; } .page-title { text-align: left; display: inline-block; margin-bottom: 0; } .other-links { display: inline-block; vertical-align: bottom; } .trip-meta { text-align: left; } #routeContainer { grid-template-columns: 2fr 1fr; } #mapContainer { grid-column-end: 2; height: fit-content; border-bottom: 5px solid black; } #map { height: auto; min-height: 800px; } #checkinList { grid-column-start: 2; border-top: 0; border-left: 5px solid black; } #checkinList ol { margin-top: 0; margin-right: 1em; } .leaflet-popup { min-width: 350px; } .popup__image { max-width: 100%; max-height: none; margin-top: 1em; } }