@font-face { font-family: 'Ubuntu'; font-style: normal; font-weight: 400; src: local('Ubuntu'), url('../fonts/Ubuntu-Regular.woff2') format('woff2'); } html { height: 100%; } body { margin: 0; height: 100%; } h1 { text-align: center; font-size: 32px; text-align: center; text-shadow: 2px 2px 2px #202020; transform: skewY(-2deg) translate(-1rem,-0.4rem); text-underline-offset: 4%; text-decoration: underline; text-decoration-color: #bd93f9; text-decoration-thickness: 5px; } h2 { font-size: 20px; margin: 0px; transform: skewY(-2deg) translate(-1rem,-0.4rem); padding-left: 16px; padding-top: 20px; padding-bottom: 10px; text-decoration: underline; text-decoration-color: currentcolor; text-decoration-thickness: auto; text-decoration-color: #ff79c6; text-decoration-thickness: 3px; } .item { position: relative; cursor: default; } .span-date { position: absolute; bottom: 125%; left: 0; background: #ddd; color: #262c30; padding: 6px 10px; border-radius: 6px; font-size: 12px; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; white-space: nowrap; } .item:hover .span-date { opacity: 1; } select::-ms-expand { display: none; } select { -webkit-appearance: none; -moz-appearance: none; text-indent: 1px; text-overflow: ''; } #sortSelect { box-sizing: border-box; background-image: url('/static/icons/sort.svg'); background-repeat: no-repeat; width: 165px; font-size: 16px; border: 1px solid #262c30; padding: 12px 20px 12px 40px; margin-bottom: 12px; border-radius: 5px; background-position: 10px 10px; background-color: #1c2024; color: #fff; scroll-margin-top: 10px; margin-left: 5px; text-align: center; } div.about,div.contributors { padding-left: 20px; overflow-y: scroll; } div.contributors ul { padding-left: 15px; } div.contributors li { margin-left: unset; } #navlinks { max-height: 0; overflow: hidden; transition: all 0.5s ease; grid-column: 1 / -1; } #navlinks.open { padding-top: 20px; max-height: 300px; } .filter-bar { margin-left: auto; margin-right: auto; display: flex; } #search { box-sizing: border-box; background-image: url('/static/icons/search.svg'); background-repeat: no-repeat; width: 100%; font-size: 16px; border: 1px solid #262c30; padding: 12px 20px 12px 40px; margin-bottom: 12px; border-radius: 5px; background-position: 10px 10px; background-color: #1c2024; color: #fff; scroll-margin-top: 10px; margin-right: 5px; } #search li a:hover:not(.header) { background-color: #262c30; } input:focus { outline: none; } /*#navlinks { display: none; padding-top: 20px; grid-column: 1 / -1; } */ #navlinks a { color: white; padding: 14px 16px; text-decoration: none; font-size: 17px; display: block; transition: max-height 0.5s ease; } a.icon { top: 50%; justify-self: end; cursor: pointer; } #navlinks a:hover { background-color: #ddd; color: black; border-radius: 5px; } .wrapper { height: 100%; margin-left: 20px; margin-right: 20px; /*padding-bottom: 1px;*/ } #map { width: 100%; height: 70vh; } .map-link { min-height: 95%;; padding: 10px; } li { list-style-position: outside; margin-left: 20px; padding-top: 5px; padding-bottom: 5px; } li::before { content: ''; background-image: url("/static/icons/pin.svg"); background-size: 10px; width: 10px; height: 10px; } header img.banner { display: block; margin-right: auto; max-width: 60vw; } header img.source-code { height:unset; } a.source-code { /* display: flex; align-items: center; justify-content: center; position: absolute; right: 0; top: 50%; transform: translateY(-50%); padding: 15px; */ padding: 15px; display: inline-block; text-align: center; } .grid { gap: 20px; } .grid header { display: grid; padding: 20px; position: relative; } header { grid-template-columns: 1fr auto; align-items: center; background-color: unset !important; padding: 5px !important; } .grid > * { background-color: #262c30; margin-top: 20px; margin-bottom: 20px; border-radius: 5px; } .leaflet-popup-content img { width: 100%; height: auto; display: block; margin-left: auto; margin-right: auto; padding-bottom: 5px; cursor: zoom-in; } /*.leaflet-popup .leaflet-zoom-animated { width: 100%; }*/ .leaflet-popup-content { width: 80vw; font-size: 14px; padding-bottom: 5px; text-align: center; margin: 0px; /* Zoom script */ align-items: center; justify-content: center; overflow: hidden !important; padding: 0 !important; } .leaflet-popup-content-wrapper { font-size: 14px; padding: 10px; color: #333; } .leaflet-popup-tip { background-color: #fff; } body { background: #1C2024; color: #fff; margin: auto; font-size: 16px; line-height: 1.6; font-family: 'Ubuntu', sans-serif; letter-spacing: 0.1px; } a, a:visited { text-decoration: none;; font-weight: bold; color: #DBDBDB; } a:hover { text-decoration: none; color: #ffffff; cursor: pointer; } @media only screen and (min-width: 768px) { .grid { display: grid; grid-template-columns: 2fr 1fr; grid-template-rows: auto 1fr; height: 100vh; } /* #navlinks.hover { position: absolute; right: 0; top: 100%; grid-column: auto; background: #262c30; width: 200px; padding-top: unset; border-radius: 5px; border-color: white; } */ header img.banner { height: 10vh; } header img { margin-left: auto; } header { position: relative; /* anchor for dropdown */ background-color: #262c30 !important; padding: 20px !important; } .grid > * { margin: 0; } .grid header { grid-column: 1 / -1; margin-top: 20px; } .img { width: 100%; height: 100%; } #map { height: 100%; } #links { overflow-y: scroll; } .wrapper { height: calc(100% - 20px); margin-left: 20px; margin-right: 20px; } }