blokmap/src/css/map.css

140 lines
1.9 KiB
CSS
Raw Normal View History

2014-12-09 18:54:50 +00:00
html, body {
2020-05-20 15:00:25 +00:00
margin: 0px;
padding: 0px;
width: 100%;
height: 100%;
2014-12-09 18:54:50 +00:00
}
#map {
2020-05-20 15:00:25 +00:00
width: 100%;
height: 100%;
2014-12-09 18:54:50 +00:00
}
2014-12-09 19:44:33 +00:00
.leaflet-popup-content-wrapper,
2014-12-09 19:53:19 +00:00
.leaflet-control-zoom {
2020-05-20 15:00:25 +00:00
border-radius: 0px;
2014-12-09 18:54:50 +00:00
}
2014-12-09 20:11:31 +00:00
.leaflet-popup-content-wrapper {
2020-05-20 15:00:25 +00:00
width: 600px;
max-height: 400px;
overflow-y: auto;
2020-05-21 00:59:29 +00:00
overflow-wrap: anywhere;
2014-12-10 21:26:09 +00:00
}
.leaflet-popup-content {
2020-05-20 15:00:25 +00:00
width: auto !important;
2014-12-09 20:11:31 +00:00
}
2014-12-11 14:32:31 +00:00
a img {
border: none;
2020-05-13 18:46:10 +00:00
max-height: 60px;
2014-12-11 14:32:31 +00:00
}
2014-12-10 14:59:49 +00:00
h4 {
margin-top: 5px;
margin-bottom: 5px;
}
2020-05-21 00:59:29 +00:00
.location, .period {
margin-bottom: 3px;
}
2014-12-10 14:59:49 +00:00
table {
padding-bottom: 10px;
border-spacing: 0;
2014-12-10 21:26:09 +00:00
width: 100%
}
.desktop tr td {
padding-right: 5px;
width: 75;
2014-12-11 20:03:08 +00:00
vertical-align: top;
2014-12-10 14:59:49 +00:00
}
2014-12-10 18:10:08 +00:00
2014-12-10 21:26:09 +00:00
.mobile tr td:first-child {
2020-05-20 15:00:25 +00:00
padding: 0;
padding-right: 10px;
2014-12-09 20:11:31 +00:00
}
2014-12-10 13:00:57 +00:00
2014-12-10 21:26:09 +00:00
.mobile tr:nth-child(2n) {
2014-12-10 18:10:08 +00:00
background: rgb(244,244,244);
}
2014-12-10 13:00:57 +00:00
.info {
padding: 6px 8px;
font: 14px/16px Arial, Helvetica, sans-serif;
background: white;
2014-12-10 13:02:26 +00:00
background: rgba(255,255,255,0.0);
2020-05-20 14:53:32 +00:00
text-align: right;
2014-12-11 20:36:36 +00:00
}
2020-05-20 14:53:32 +00:00
.author-icon {
margin-left: 10px;
}
2014-12-11 20:36:36 +00:00
.legend {
2020-05-20 15:00:25 +00:00
height: 52px;
width: 130px;
background-color: #fff;
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
2014-12-10 13:38:15 +00:00
}
2015-12-24 16:50:50 +00:00
.holiday-legend {
2020-05-20 15:00:25 +00:00
height: 72px;
width: 145px;
background-color: #fff;
box-shadow: 0 1px 5px rgba(0,0,0,0.65);
2015-12-24 16:50:50 +00:00
}
.legend .holiday {
2020-05-20 15:00:25 +00:00
display: none;
2015-12-24 16:50:50 +00:00
}
2014-12-10 13:38:15 +00:00
.type {
2014-12-10 18:10:08 +00:00
position: absolute;
2014-12-10 13:38:15 +00:00
top: 15px;
right: 15px;
2014-12-10 13:00:57 +00:00
}
2014-12-10 21:26:09 +00:00
.mobile {
display: none;
}
@media screen and (max-width: 1000px) {
.leaflet-popup-content-wrapper {
width: 250px;
}
2020-05-14 12:13:27 +00:00
.type {
display: none;
}
2014-12-10 21:26:09 +00:00
.desktop {
display: none;
}
.mobile {
display: block;
width: 213px;
}
2020-05-21 00:59:29 +00:00
.location, .period {
margin-bottom: 8px;
2014-12-10 21:26:09 +00:00
}
}
2014-12-11 20:50:17 +00:00
@media screen and (max-width: 800px) {
2020-05-20 14:53:32 +00:00
.author-icon {
display: block;
2014-12-11 20:50:17 +00:00
}
}
2014-12-10 21:26:09 +00:00
@media screen and (max-height: 400px) {
.leaflet-popup-content-wrapper {
max-height: 150px;
}
}