1
0
forked from orson/bachemap
bachemap/static/styles.css

161 lines
2.6 KiB
CSS
Raw Normal View History

body, html {
2024-08-17 19:05:28 +00:00
font-family: Arial, sans-serif;
margin: 0;
2024-08-21 19:38:01 +00:00
padding: 0px;
overflow: hidden;
height: 100%;
2024-09-05 22:04:32 +00:00
width: 100%;
2024-08-17 19:05:28 +00:00
}
h1 {
text-align: center;
}
section#pinner-modal form {
2024-08-17 19:05:28 +00:00
max-width: 400px;
margin: 0 auto;
padding: 20px;
border: 1px solid #ccc;
border-radius: 5px;
2024-09-05 05:15:16 +00:00
background-color: rgba(202, 216, 3, 0.7);
font-size: 100%;
2024-08-17 19:05:28 +00:00
}
form p {
margin: 10px 0;
}
#map {
width: 100%;
2024-08-21 19:38:01 +00:00
height: 100vh;
margin: 0 0;
position: relative;
2024-08-21 19:38:01 +00:00
}
main {
margin:0;
padding:0;
2024-09-05 22:04:32 +00:00
position: absolute;
top: 0;
left: 0;
2024-08-21 19:38:01 +00:00
}
div.leaflet-popup-content {
2024-08-21 19:38:01 +00:00
}
section#pinner-modal {
2024-08-21 19:38:01 +00:00
position: absolute;
top: 7vh;
left: 0rem;
2024-08-21 19:38:01 +00:00
color: white;
padding: 1rem;
text-align: left;
2024-08-21 19:38:01 +00:00
transition: bottom 0.5s ease;
box-shadow: 0px -4px 15px rgba(0, 0, 0, 0.2);
z-index: 999;
display: flex;
flex-shrink: 1;
2024-08-17 19:05:28 +00:00
}
2024-08-21 19:38:01 +00:00
section.pinner-modal.active {
2024-08-21 19:38:01 +00:00
bottom: 0;
2024-09-05 03:22:51 +00:00
background-color: rgba(202, 216, 3, 0.7);
}
section.pinner-modal form {
2024-09-05 03:22:51 +00:00
background-color: rgba(202, 216, 3, 0.7);
}
nav {
position:absolute;
top:0;
left: 0;
right: 0;
2024-09-05 03:22:51 +00:00
background-color: rgba(202, 216, 3, 0.7);
padding: 5px;
z-index: 1000;
2024-09-05 22:33:55 +00:00
font-size: 100%;
overflow: hidden;
}
nav ul {
flex-wrap: wrap;
}
nav ul li {
padding-top: 0;
padding-bottom: 0;
flex:1 1 auto;
}
.leaflet-marker-icon {
background-color: transparent !important;
border: rgba(0, 0, 0, 0);
2024-09-01 22:04:31 +00:00
padding: 0;
margin: 0;
}
.fa, .far, .fas {
2024-09-05 03:22:51 +00:00
color:black;
text-shadow: -1px 0 rgb(255, 136, 0), 0 1px rgb(255, 136, 0), 1px 0 rgb(255, 136, 0), 0 -1px rgb(255, 136, 0);
2024-09-01 22:04:31 +00:00
margin-left: -10px;
margin-top: -10px;
font-size: 1.5rem;
2024-09-05 03:22:51 +00:00
filter:drop-shadow(0 0 0.2rem orange);
2024-09-01 01:23:49 +00:00
}
2024-09-05 03:22:51 +00:00
path-derping {
2024-09-05 03:22:51 +00:00
fill:orangered;
stroke: orangered;
stroke-width:1px;
stroke-dasharray: 2,2;
stroke-linejoin: round;
2024-09-01 01:23:49 +00:00
}
.flashes {
2024-09-05 03:22:51 +00:00
position: relative;
display: flex;
2024-09-05 03:22:51 +00:00
z-index: 1001;
border-radius: 20px;
background-color: rgba(202, 216, 3, 0.7);
2024-09-05 03:22:51 +00:00
top: 8%;
padding: 1rem;
border: black;
border-width: 1px;
-webkit-animation: cssAnimation 7s forwards;
animation: cssAnimation 7s forwards;
}
@keyframes cssAnimation {
0% {opacity: 1;}
90% {opacity: 1;}
100% {opacity: 0;}
}
@-webkit-keyframes cssAnimation {
0% {opacity: 1;}
90% {opacity: 1;}
100% {opacity: 0;}
2024-09-05 05:15:16 +00:00
}
#pinner-top {
background-color: green;
}
input#submit {
background-color: green;
}
button a {
color: black;
}
main {
display: flex;
align-items: center;
justify-content: center;
}
#lng, #lat {
font-size: 0.8rem;
background-color: grey;
2024-09-05 03:22:51 +00:00
}