postnummer-app/frontend/style.css

118 lines
1.8 KiB
CSS
Raw Normal View History

2023-02-06 20:11:19 +00:00
@font-face {
font-family: "Jetbrains Mono";
src: url("assets/JetbrainsMono-Regular.woff2");
}
2023-02-06 15:48:11 +00:00
* {
box-sizing: border-box;
}
body {
margin: 0;
height: 100vh;
2023-02-06 18:39:22 +00:00
font-family: "Open Sans", sans-serif;
2023-02-06 20:11:19 +00:00
background-color: #E1F5FE;
2023-02-06 18:39:22 +00:00
}
#topbar {
2023-02-06 20:11:19 +00:00
background-color: #03A9F4;
color: white;
2023-02-06 18:39:22 +00:00
text-align: center;
margin: 0;
padding: 0.5rem;
2023-02-06 20:11:19 +00:00
box-shadow: 0px 3px 3px #01579B;
2023-02-06 18:39:22 +00:00
}
#topbar > h1 {
margin: 0;
font-size: 2rem;
2023-02-06 15:48:11 +00:00
}
main {
text-align: center;
2023-02-06 18:39:22 +00:00
padding: 1rem;
margin: auto;
width: 50%;
}
main > * {
margin: 2px;
}
2023-02-06 20:11:19 +00:00
code {
font-family: "Jetbrains Mono", monospace;
font-weight: bold;
}
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;
filter: drop-shadow(0 2px 2px #9E9E9E);
2023-02-06 18:39:22 +00:00
}
#search-input {
2023-02-06 20:11:19 +00:00
background-color: white;
padding: 5px;
flex: 1;
border: 1px solid #666;
border-radius: 5px 0 0 5px;
2023-02-06 18:39:22 +00:00
}
#search-input:focus {
2023-02-06 20:11:19 +00:00
background-color: #FAFAFA;
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-06 20:11:19 +00:00
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;
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;
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;
2023-02-06 18:39:22 +00:00
}
@media screen and (max-width: 1000px) {
main {
width: 100%;
}
2023-02-06 15:48:11 +00:00
}