133 lines
2.1 KiB
CSS
133 lines
2.1 KiB
CSS
@font-face {
|
|
font-family: "JetBrains Mono";
|
|
src: url("assets/JetBrainsMono-Regular.woff2");
|
|
}
|
|
|
|
@font-face {
|
|
font-family: "JetBrains Mono Bold";
|
|
src: url("assets/JetBrainsMono-Bold.woff2");
|
|
}
|
|
|
|
* {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
margin: 0;
|
|
height: 100vh;
|
|
font-family: "Open Sans", sans-serif;
|
|
background-color: #E1F5FE;
|
|
}
|
|
|
|
#topbar {
|
|
background-color: #03A9F4;
|
|
color: white;
|
|
text-align: center;
|
|
margin: 0;
|
|
padding: 0.5rem;
|
|
box-shadow: 0px 3px 3px #01579B;
|
|
}
|
|
|
|
#topbar > h1 {
|
|
margin: 0;
|
|
font-size: 2rem;
|
|
}
|
|
|
|
main {
|
|
text-align: center;
|
|
padding: 1rem;
|
|
margin: auto;
|
|
width: 50%;
|
|
}
|
|
|
|
main > * {
|
|
margin: 2px;
|
|
}
|
|
|
|
code {
|
|
font-family: "JetBrains Mono Bold", monospace;
|
|
}
|
|
|
|
#search-bar {
|
|
width: 100%;
|
|
display: flex;
|
|
flex-direction: row;
|
|
margin-bottom: 15px;
|
|
filter: drop-shadow(0 2px 2px #9E9E9E);
|
|
}
|
|
|
|
#search-input {
|
|
background-color: white;
|
|
padding: 5px;
|
|
flex: 1;
|
|
border: 1px solid #666;
|
|
border-radius: 5px 0 0 5px;
|
|
}
|
|
|
|
#search-input:focus {
|
|
background-color: #FAFAFA;
|
|
outline: none;
|
|
}
|
|
|
|
#search-button {
|
|
cursor: pointer;
|
|
width: 5rem;
|
|
background-color: #03A9F4;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 0 5px 5px 0;
|
|
transition-duration: 0.2s;
|
|
}
|
|
|
|
#search-button:hover, #search-button:focus {
|
|
background-color: #039BE5;
|
|
outline: none;
|
|
}
|
|
|
|
#search-button:active {
|
|
background-color: #0288D1;
|
|
}
|
|
|
|
#map {
|
|
width: 100%;
|
|
border-radius: 5px;
|
|
box-shadow: 0 2px 4px #9E9E9E;
|
|
border: 1px solid #7E7E7E;
|
|
}
|
|
|
|
#info {
|
|
background-color: white;
|
|
padding: 5px;
|
|
border-radius: 5px;
|
|
border: 1px solid #7E7E7E;
|
|
box-shadow: 0 2px 2px #9E9E9E;
|
|
}
|
|
|
|
#info {
|
|
font-size: 1.1em;
|
|
width: 100%;
|
|
}
|
|
|
|
#mouse-position, #coords {
|
|
color: #7E7E7E;
|
|
font-size: 0.9em;
|
|
}
|
|
|
|
#dot {
|
|
width: 15px;
|
|
height: 15px;
|
|
border-radius: 50%;
|
|
border: 2px solid black;
|
|
filter: drop-shadow(1px 1px 2px black);
|
|
background-color: red;
|
|
position: absolute;
|
|
display: none;
|
|
}
|
|
|
|
@media screen and (max-width: 1000px) {
|
|
main {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|