/* Custom styling for GeoJSON viewer */ | |
body, html { | |
margin: 0; | |
padding: 0; | |
width: 100vw; | |
height: 100vh; | |
font-family: 'Arial', sans-serif; | |
background-color: #e8eef1; | |
display: flex; | |
flex-direction: column; | |
align-items: center; | |
} | |
header { | |
width: 100%; | |
padding: 20px; | |
text-align: center; | |
background-color: #008080; | |
color: #fff; | |
font-size: 1.8em; | |
font-weight: bold; | |
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2); | |
} | |
#map { | |
width: 95%; | |
height: 70vh; | |
margin-top: 10px; | |
box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.1); | |
border-radius: 8px; | |
} | |
#stats { | |
width: 95%; | |
max-width: 800px; | |
margin: 20px auto; | |
padding: 20px; | |
background-color: #fff; | |
border-radius: 8px; | |
box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15); | |
} | |
#stats h3 { | |
font-size: 1.6em; | |
color: #333; | |
text-align: center; | |
margin-bottom: 10px; | |
} | |
#stats .stat-item { | |
display: flex; | |
justify-content: space-between; | |
align-items: center; | |
padding: 8px 0; | |
border-bottom: 1px solid #ddd; | |
} | |
#stats .stat-item:last-child { | |
border-bottom: none; | |
} | |
#stats .stat-label { | |
display: flex; | |
align-items: center; | |
font-weight: bold; | |
color: #555; | |
} | |
#stats .stat-label i { | |
font-style: normal; | |
color: #008080; | |
margin-right: 8px; | |
} | |
.value { | |
color: #008080; | |
font-weight: bold; | |
font-size: 1.1em; | |
} | |
footer { | |
padding: 10px; | |
text-align: center; | |
color: #666; | |
font-size: 0.9em; | |
} | |