Spaces:
Running
Running
File size: 1,841 Bytes
12311da e3d632c 12311da |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 |
html, body {
height: 100%;
margin: 0;
padding: 0;
}
html {
font-size: 11px;
}
body {
color:#e5e5e5;
font-family:Arial;
text-align: center;
}
a {
color:#3287c5;
}
a:hover {
color:#3faaf7;
}
h1 {
color: #152a47;
margin: 0.5rem;
font-size: 1.4rem;
/* font-size: 46px; */
}
#map {
border:2px solid #696969;
margin: 4px auto;
/* float:left; */
/* height: 100%; */
position: absolute;
right: 0;
bottom: 0;
left: 0;
top: 150px;
height: calc(100% - 150px - 10px);
/* top: 150px;
height: calc(100% - 150px - 10px); */
}
#header {
height: 150px;
/* height: 180px; */
padding: 0.5rem;
font-size: 1rem;
/* float:left; */
background:#ffffff;
/* border:1px solid #c6bb58; */
/* box-shadow: 2px 2px 6px #999; */
color:#666;
overflow: auto;
}
#legendContainer {
font-size: 0.9rem;
margin: 0 4px;
padding: 1rem;
}
.legend-item {
padding: 3px;
margin: 3px;
/* white-space: nowrap; */
}
.legend-item:hover {
background-color: #f0f0f0;
border-radius: 3px;
}
.legend-item.legend-active {
font-weight: bold;
background-color: #e8f4f8;
border-radius: 3px;
}
.legend-item.legend-inactive {
opacity: 0.4;
}
.legend-icon {
margin: 0 2px;
width: 7px;
display: inline-block;
height: 7px;
}
.legend-more {
display: none;
}
.leaflet-container {
background: rgb(221, 229, 241);
outline: 0;
}
.leaflet-popup-content {
max-height: 240px;
overflow-y: auto;
}
@media only screen and (min-width: 500px) {
/* Medium screen */
html {
font-size: 12px;
}
#map {
height: calc(100% - 160px - 10px);
top: 160px;
}
#header {
height: 160px;
}
}
@media only screen and (min-width: 768px) {
/* Large screen */
html {
font-size: 14px;
}
#map {
height: calc(100% - 130px - 10px);
top: 130px;
}
#header {
height: 130px;
}
} |