150 lines
2.4 KiB
CSS
150 lines
2.4 KiB
CSS
body {
|
|
font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
background-color: #F8F9FA;
|
|
color: #212529;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 100vh;
|
|
margin: 0;
|
|
}
|
|
|
|
main {
|
|
flex-grow: 1;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
|
|
.navbar {
|
|
padding: 1rem 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.hero, .hero-overlay {
|
|
display: none; /* Hidden to make map primary */
|
|
}
|
|
|
|
.btn-primary {
|
|
background-color: #00CC99;
|
|
border-color: #00CC99;
|
|
padding: 0.75rem 1.5rem;
|
|
border-radius: 0.5rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.btn-primary:hover {
|
|
background-color: #00b386;
|
|
border-color: #00b386;
|
|
}
|
|
|
|
section {
|
|
padding: 4rem 0;
|
|
}
|
|
|
|
#map-widget {
|
|
flex-grow: 1;
|
|
padding: 0;
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-height: 80vh; /* Ensure section has height */
|
|
}
|
|
|
|
h2 {
|
|
font-size: 2.5rem;
|
|
font-weight: 700;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.card {
|
|
border: none;
|
|
border-radius: 0.5rem;
|
|
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
|
|
}
|
|
|
|
.contact-form {
|
|
background-color: #FFFFFF;
|
|
padding: 3rem;
|
|
border-radius: 0.5rem;
|
|
}
|
|
|
|
.footer {
|
|
background-color: #003366;
|
|
color: white;
|
|
padding: 3rem 0;
|
|
flex-shrink: 0;
|
|
}
|
|
|
|
.footer a {
|
|
color: #00CC99;
|
|
}
|
|
|
|
#cyclone-widget {
|
|
background-color: #FFFFFF;
|
|
}
|
|
|
|
#cyclone-data .card {
|
|
background-color: #F8F9FA;
|
|
}
|
|
|
|
#wildfire-widget {
|
|
background-color: #FFFFFF;
|
|
}
|
|
|
|
#wildfire-data .card {
|
|
background-color: #F8F9FA;
|
|
}
|
|
|
|
html, body {
|
|
height: 100%;
|
|
width: 100%;
|
|
margin: 0;
|
|
padding: 0;
|
|
overflow: hidden; /* Prevent scrollbars */
|
|
}
|
|
|
|
#cesiumContainer {
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
right: 0;
|
|
bottom: 0;
|
|
border: none; /* Remove the debug border */
|
|
}
|
|
|
|
#controls {
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 20px;
|
|
background: rgba(42, 42, 42, 0.8);
|
|
color: #fff;
|
|
padding: 15px;
|
|
border-radius: 8px;
|
|
font-family: sans-serif;
|
|
z-index: 10;
|
|
box-shadow: 0 2px 10px rgba(0,0,0,0.2);
|
|
}
|
|
|
|
.control-group h3 {
|
|
margin-top: 0;
|
|
margin-bottom: 10px;
|
|
font-size: 16px;
|
|
border-bottom: 1px solid #555;
|
|
padding-bottom: 5px;
|
|
}
|
|
|
|
.control-group label {
|
|
display: block;
|
|
margin-bottom: 5px;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.control-group input[type="range"] {
|
|
width: 100%;
|
|
margin-top: 5px;
|
|
}
|
|
|
|
.control-group #windAltitudeLabel {
|
|
display: block;
|
|
text-align: center;
|
|
margin-top: 5px;
|
|
font-size: 14px;
|
|
} |