Files
wetterstation/frontend/src/components/WeatherDashboard.css
Reinhard X. Fürst 9d47e3095c Script zum direkten deployen von docker-compose
Footer-Zeilen hinzugefügt
watchtower dazu
2026-02-10 21:02:20 +00:00

111 lines
1.6 KiB
CSS

.dashboard {
width: 100%;
max-width: 795px;
margin: 0 auto;
}
.current-values {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
gap: 0.75rem;
margin-bottom: 1.5rem;
}
.value-card {
background: white;
padding: 1rem;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
display: flex;
flex-direction: column;
gap: 0.5rem;
}
.value-label {
font-size: 0.8rem;
color: #666;
font-weight: 500;
}
.value-number {
font-size: 1.5rem;
font-weight: bold;
color: #333;
}
.charts-grid {
display: grid;
grid-template-columns: repeat(2, 1fr);
gap: 1rem;
}
.chart-container {
background: white;
padding: 1rem;
border-radius: 8px;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}
.chart-container h3 {
margin-bottom: 0.75rem;
color: #333;
font-size: 1rem;
}
.chart-wrapper {
width: 100%;
aspect-ratio: 2 / 1;
position: relative;
}
.chart-stats {
margin-top: 0.5rem;
text-align: center;
font-size: 0.85rem;
color: #666;
font-weight: 500;
}
.dashboard-footer {
margin-top: 2rem;
padding-top: 1rem;
}
.footer-divider {
border: none;
border-top: 1px solid #ccc;
margin: 0 0 1rem 0;
}
.footer-credits {
display: flex;
justify-content: space-between;
align-items: center;
font-size: 0.85rem;
color: #666;
margin-bottom: 0.75rem;
}
.footer-left {
text-align: left;
}
.footer-right {
text-align: right;
}
.footer-sponsor {
text-align: center;
font-size: 0.85rem;
color: #666;
}
.footer-sponsor a {
color: #0066cc;
text-decoration: none;
}
.footer-sponsor a:hover {
text-decoration: underline;
}