metar-analyzer/public/style.css

114 lines
1.8 KiB
CSS

body {
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
background-color: #f4f7f9;
color: #333;
margin: 0;
padding: 20px;
}
.container {
max-width: 1200px;
margin: 0 auto;
background-color: #fff;
padding: 20px 40px;
border-radius: 8px;
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}
h1, h2, h3 {
color: #2c3e50;
border-bottom: 2px solid #e0e0e0;
padding-bottom: 10px;
}
.controls {
display: flex;
gap: 10px;
margin-bottom: 20px;
flex-wrap: wrap;
}
.controls input, .controls select {
padding: 10px;
border: 1px solid #ccc;
border-radius: 4px;
font-size: 16px;
}
.controls button {
padding: 10px 20px;
background-color: #3498db;
color: white;
border: none;
border-radius: 4px;
font-size: 16px;
cursor: pointer;
transition: background-color 0.3s;
}
.controls button:hover {
background-color: #2980b9;
}
.hidden {
display: none;
}
#loading {
font-size: 18px;
color: #3498db;
text-align: center;
padding: 20px;
}
#error {
color: #e74c3c;
background-color: #fbecec;
border: 1px solid #e74c3c;
padding: 15px;
border-radius: 4px;
margin-top: 20px;
}
.charts-grid {
display: grid;
grid-template-columns: 1fr;
gap: 30px;
margin-top: 20px;
}
@media (min-width: 900px) {
.charts-grid {
grid-template-columns: repeat(2, 1fr);
}
}
.chart-container {
position: relative;
height: 40vh;
min-height: 300px;
}
#analysis-summary {
background-color: #ecf0f1;
padding: 15px;
border-radius: 5px;
line-height: 1.6;
}
#raw-data-container table {
width: 100%;
border-collapse: collapse;
margin-top: 15px;
}
#raw-data-container th, #raw-data-container td {
border: 1px solid #ddd;
padding: 8px;
text-align: left;
}
#raw-data-container th {
background-color: #f2f2f2;
}