mirror of
https://github.com/selfhosters-cc/container-census.git
synced 2026-05-20 22:38:44 -05:00
172 lines
2.7 KiB
CSS
172 lines
2.7 KiB
CSS
* {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
body {
|
|
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
|
|
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
|
min-height: 100vh;
|
|
padding: 20px;
|
|
}
|
|
|
|
.container {
|
|
max-width: 1200px;
|
|
margin: 0 auto;
|
|
}
|
|
|
|
header {
|
|
text-align: center;
|
|
color: white;
|
|
margin-bottom: 40px;
|
|
}
|
|
|
|
.header-content {
|
|
display: flex;
|
|
justify-content: center;
|
|
align-items: center;
|
|
gap: 20px;
|
|
}
|
|
|
|
header h1 {
|
|
font-size: 3em;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.subtitle {
|
|
font-size: 1.2em;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
.version-badge {
|
|
background-color: rgba(255, 255, 255, 0.2);
|
|
padding: 8px 16px;
|
|
border-radius: 20px;
|
|
font-size: 0.9rem;
|
|
font-weight: 500;
|
|
backdrop-filter: blur(10px);
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.summary-cards {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
|
|
gap: 20px;
|
|
margin-bottom: 30px;
|
|
}
|
|
|
|
.card {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 30px;
|
|
text-align: center;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
transition: transform 0.2s;
|
|
}
|
|
|
|
.card:hover {
|
|
transform: translateY(-5px);
|
|
}
|
|
|
|
.card-value {
|
|
font-size: 2.5em;
|
|
font-weight: bold;
|
|
color: #667eea;
|
|
margin-bottom: 10px;
|
|
}
|
|
|
|
.card-label {
|
|
font-size: 1em;
|
|
color: #666;
|
|
}
|
|
|
|
.filters {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 20px;
|
|
margin-bottom: 30px;
|
|
display: flex;
|
|
align-items: center;
|
|
gap: 20px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.filters label {
|
|
font-weight: 500;
|
|
color: #333;
|
|
}
|
|
|
|
.filters select {
|
|
padding: 8px 12px;
|
|
border: 1px solid #ddd;
|
|
border-radius: 6px;
|
|
font-size: 1em;
|
|
margin-left: 10px;
|
|
}
|
|
|
|
.filters button {
|
|
padding: 8px 16px;
|
|
background: #667eea;
|
|
color: white;
|
|
border: none;
|
|
border-radius: 6px;
|
|
font-size: 1em;
|
|
cursor: pointer;
|
|
transition: background 0.2s;
|
|
}
|
|
|
|
.filters button:hover {
|
|
background: #5568d3;
|
|
}
|
|
|
|
.chart-container {
|
|
background: white;
|
|
border-radius: 12px;
|
|
padding: 30px;
|
|
margin-bottom: 30px;
|
|
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
|
|
}
|
|
|
|
.chart-container h2 {
|
|
margin-bottom: 20px;
|
|
color: #333;
|
|
font-size: 1.5em;
|
|
}
|
|
|
|
canvas {
|
|
max-height: 400px;
|
|
}
|
|
|
|
footer {
|
|
text-align: center;
|
|
color: white;
|
|
margin-top: 40px;
|
|
padding: 20px;
|
|
opacity: 0.9;
|
|
}
|
|
|
|
footer p {
|
|
margin: 5px 0;
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
header h1 {
|
|
font-size: 2em;
|
|
}
|
|
|
|
.summary-cards {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
|
|
.filters {
|
|
flex-direction: column;
|
|
align-items: stretch;
|
|
}
|
|
|
|
.filters select {
|
|
margin-left: 0;
|
|
margin-top: 5px;
|
|
}
|
|
}
|