2023-02-06 20:11:19 +00:00
|
|
|
@font-face {
|
2023-02-08 08:23:27 +00:00
|
|
|
font-family: "JetBrains Mono";
|
|
|
|
src: url("assets/JetBrainsMono-Regular.woff2");
|
|
|
|
}
|
|
|
|
|
|
|
|
@font-face {
|
|
|
|
font-family: "JetBrains Mono Bold";
|
|
|
|
src: url("assets/JetBrainsMono-Bold.woff2");
|
2023-02-06 20:11:19 +00:00
|
|
|
}
|
2023-02-06 15:48:11 +00:00
|
|
|
|
2023-02-08 10:40:31 +00:00
|
|
|
*, *::before, *::after {
|
2023-02-06 15:48:11 +00:00
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
2023-02-08 10:40:31 +00:00
|
|
|
:root {
|
|
|
|
--brand-200: #D55D91;
|
|
|
|
--brand-300: #D14D86;
|
|
|
|
--brand: #C33271;
|
|
|
|
--brand-700: #0D3B45;
|
|
|
|
--brand-800: #0A2E36;
|
|
|
|
--brand-900: #061D22;
|
|
|
|
--light: #FFF;
|
|
|
|
--topbar-offset: 4rem;
|
|
|
|
}
|
|
|
|
|
2023-02-06 15:48:11 +00:00
|
|
|
body {
|
|
|
|
margin: 0;
|
|
|
|
height: 100vh;
|
2023-02-06 18:39:22 +00:00
|
|
|
font-family: "Open Sans", sans-serif;
|
2023-02-08 10:40:31 +00:00
|
|
|
background-color: var(--brand-900);
|
|
|
|
color: var(--light);
|
2023-02-06 18:39:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#topbar {
|
2023-02-08 10:40:31 +00:00
|
|
|
display: flex;
|
|
|
|
background-color: var(--brand);
|
|
|
|
color: var(--light);
|
2023-02-06 18:39:22 +00:00
|
|
|
text-align: center;
|
2023-02-08 10:40:31 +00:00
|
|
|
padding: 1rem 2rem;
|
|
|
|
box-shadow: 0px 5px 1px RGBA(127, 127, 127, 0.2);
|
2023-02-06 18:39:22 +00:00
|
|
|
}
|
|
|
|
|
2023-02-08 10:40:31 +00:00
|
|
|
#topbar h1 {
|
|
|
|
align-self: center;
|
2023-02-06 18:39:22 +00:00
|
|
|
margin: 0;
|
2023-02-08 10:40:31 +00:00
|
|
|
font-size: 1.5rem;
|
|
|
|
}
|
|
|
|
|
|
|
|
#dropdown-button {
|
|
|
|
border: none;
|
|
|
|
background-color: transparent;
|
2023-02-06 18:39:22 +00:00
|
|
|
font-size: 2rem;
|
2023-02-08 10:40:31 +00:00
|
|
|
transform: scale(1.5);
|
|
|
|
color: inherit;
|
|
|
|
margin-left: auto;
|
|
|
|
padding: 0 0.5rem;
|
|
|
|
transition: transform 0.2s;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
#dropdown-button:hover, #dropdown-button:focus {
|
|
|
|
transform: scale(1.7);
|
|
|
|
}
|
|
|
|
|
2023-02-08 12:25:02 +00:00
|
|
|
#dropdown-button:focus-visible {
|
2023-02-08 10:40:31 +00:00
|
|
|
outline: none;
|
|
|
|
background-color: var(--brand-300);
|
2023-02-08 12:25:02 +00:00
|
|
|
border-radius: 5px;
|
2023-02-08 10:40:31 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#dropdown-button:active {
|
|
|
|
transform: scale(2);
|
|
|
|
}
|
|
|
|
|
|
|
|
#dropdown {
|
|
|
|
position: absolute;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
top: var(--topbar-offset);
|
|
|
|
right: 0;
|
|
|
|
box-shadow: 0px 5px 1px RGBA(127, 127, 127, 0.2);
|
|
|
|
transform: scaleY(0);
|
|
|
|
transition: transform 0.2s;
|
|
|
|
transform-origin: 0% 0%;
|
2023-02-08 10:44:30 +00:00
|
|
|
border-radius: 0 0 0 5px;
|
2023-02-06 15:48:11 +00:00
|
|
|
}
|
|
|
|
|
2023-02-08 10:40:31 +00:00
|
|
|
#dropdown.enabled, #dropdown:focus-within {
|
|
|
|
transform: scaleY(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
#dropdown a {
|
2023-02-08 10:44:30 +00:00
|
|
|
background-color: var(--brand);
|
2023-02-08 10:40:31 +00:00
|
|
|
color: var(--light);
|
|
|
|
padding: 1rem 1rem;
|
|
|
|
font-weight: bold;
|
|
|
|
text-decoration: none;
|
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
2023-02-08 12:25:02 +00:00
|
|
|
#dropdown a:hover, #dropdown a:focus {
|
2023-02-08 10:40:31 +00:00
|
|
|
background-color: var(--brand-300);
|
|
|
|
}
|
|
|
|
|
2023-02-08 10:44:30 +00:00
|
|
|
#dropdown a:last-child {
|
|
|
|
border-radius: 0 0 0 5px;
|
|
|
|
}
|
|
|
|
|
2023-02-08 10:40:31 +00:00
|
|
|
|
2023-02-06 15:48:11 +00:00
|
|
|
main {
|
|
|
|
text-align: center;
|
2023-02-06 18:39:22 +00:00
|
|
|
padding: 1rem;
|
|
|
|
margin: auto;
|
2023-02-08 10:40:31 +00:00
|
|
|
max-width: 1000px;
|
2023-02-06 18:39:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
main > * {
|
2023-02-08 10:40:31 +00:00
|
|
|
margin-block: 2px;
|
2023-02-06 18:39:22 +00:00
|
|
|
}
|
|
|
|
|
2023-02-06 20:11:19 +00:00
|
|
|
code {
|
2023-02-08 08:23:27 +00:00
|
|
|
font-family: "JetBrains Mono Bold", monospace;
|
2023-02-06 20:11:19 +00:00
|
|
|
}
|
|
|
|
|
2023-02-06 18:39:22 +00:00
|
|
|
#search-bar {
|
|
|
|
width: 100%;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
2023-02-06 20:11:19 +00:00
|
|
|
margin-bottom: 15px;
|
2023-02-06 18:39:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#search-input {
|
2023-02-08 10:40:31 +00:00
|
|
|
transition: background-color 0.2s;
|
|
|
|
background-color: var(--brand-800);
|
2023-02-06 20:11:19 +00:00
|
|
|
flex: 1;
|
2023-02-08 10:40:31 +00:00
|
|
|
color: var(--light);
|
2023-02-06 20:11:19 +00:00
|
|
|
border-radius: 5px 0 0 5px;
|
2023-02-08 10:40:31 +00:00
|
|
|
border: none;
|
|
|
|
padding: 1rem;
|
2023-02-06 18:39:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#search-input:focus {
|
2023-02-08 10:40:31 +00:00
|
|
|
background-color: var(--brand-700);
|
2023-02-06 20:11:19 +00:00
|
|
|
outline: none;
|
2023-02-06 18:39:22 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#search-button {
|
2023-02-06 20:11:19 +00:00
|
|
|
cursor: pointer;
|
2023-02-06 18:39:22 +00:00
|
|
|
width: 5rem;
|
2023-02-08 10:40:31 +00:00
|
|
|
background-color: var(--brand);
|
|
|
|
color: var(--light);
|
2023-02-06 20:11:19 +00:00
|
|
|
border: none;
|
|
|
|
border-radius: 0 5px 5px 0;
|
|
|
|
transition-duration: 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search-button:hover, #search-button:focus {
|
2023-02-08 10:40:31 +00:00
|
|
|
background-color: var(--brand-300);
|
2023-02-06 20:11:19 +00:00
|
|
|
outline: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
#search-button:active {
|
2023-02-08 10:40:31 +00:00
|
|
|
background-color: var(--brand-200);
|
2023-02-06 15:48:11 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
#map {
|
2023-02-06 18:39:22 +00:00
|
|
|
width: 100%;
|
2023-02-06 20:11:19 +00:00
|
|
|
border-radius: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
#info {
|
2023-02-08 10:40:31 +00:00
|
|
|
background-color: var(--brand-800);
|
|
|
|
padding: 1rem;
|
2023-02-06 20:11:19 +00:00
|
|
|
border-radius: 5px;
|
|
|
|
font-size: 1.1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
#mouse-position, #coords {
|
2023-02-08 10:52:19 +00:00
|
|
|
color: white;
|
|
|
|
opacity: 0.5;
|
2023-02-06 20:11:19 +00:00
|
|
|
font-size: 0.9em;
|
2023-02-06 18:39:22 +00:00
|
|
|
}
|
|
|
|
|
2023-02-08 08:23:27 +00:00
|
|
|
#dot {
|
|
|
|
width: 15px;
|
|
|
|
height: 15px;
|
|
|
|
border-radius: 50%;
|
|
|
|
border: 2px solid black;
|
2023-02-08 10:40:31 +00:00
|
|
|
background-color: var(--brand);
|
2023-02-08 10:44:19 +00:00
|
|
|
filter: drop-shadow(1px 1px 2px black);
|
2023-02-08 11:18:48 +00:00
|
|
|
position: absolute;
|
2023-02-08 08:23:27 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2023-02-08 10:44:19 +00:00
|
|
|
|
|
|
|
#tooltip {
|
|
|
|
display: none;
|
2023-02-08 10:52:19 +00:00
|
|
|
position: fixed;
|
2023-02-08 10:44:19 +00:00
|
|
|
background-color: white;
|
|
|
|
color: black;
|
|
|
|
padding: 5px;
|
|
|
|
border: 1px solid black;
|
|
|
|
box-shadow: 2px 2px 2px black;
|
|
|
|
transition: opacity 0.2s;
|
|
|
|
}
|
|
|
|
|
|
|
|
@media screen and (max-width: 1000px) {
|
|
|
|
main {
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|