Where-in-the-World-is-Ben/public/css/app.css
2022-08-29 21:34:11 +00:00

94 lines
1.2 KiB
CSS

#pageHeader {
text-align: center;
}
.positive, .negative {
font-weight: bold;
}
.positive {
color: darkgreen;
}
.negative {
color: red;
}
.small {
font-variant: italic;
font-size: 0.8em;
}
#routeContainer {
display: grid;
}
#map {
height: 400px;
grid-column-start: 1;
grid-column-end: 3;
}
#checkinList {
grid-column-start: 1;
grid-column-end: 3;
}
details h2 {
display: inline;
}
details {
border-top: 1px solid black;
padding: 1em 0;
}
details[open] summary {
margin-bottom: 1em;
}
#checkinList li:first-child details {
border-top: none;
}
.leaflet-popup {
max-width: 85vw;
max-height: 85vh;
min-width: 60vw;
}
.leaflet-popup-content {
width: auto !important;
}
.popup__image {
width: auto;
height: auto;
max-width: 70vw;
}
@media screen and (min-width: 1024px) {
#routeContainer {
grid-template-columns: 3fr 1fr;
}
#map {
height: auto;
min-height: 800px;
grid-column-end: 2;
}
#checkinList {
grid-column-start: 2;
}
.leaflet-popup {
min-width: 350px;
}
.popup__image {
max-width: 50vw;
}
}