Files
ETPlot/assets/css/responsive.css
T
Kylian Schmidt d111c5e8ee Version 0.1.0
2025-07-31 15:27:34 +02:00

60 lines
1008 B
CSS

/* ========================================
RESPONSIVE DESIGN
======================================== */
@media (max-width: 768px) {
body {
padding: 0.5rem;
}
.grid {
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
gap: 0.8rem;
}
.sidebar {
width: 100%;
right: -100%;
}
.navigation {
gap: 0.3rem;
}
.nav-btn {
padding: 0.4rem 0.8rem;
font-size: 0.8rem;
}
.search-container {
max-width: 100%;
}
/* View controls responsive */
.controls-container {
flex-direction: column;
gap: 1rem;
align-items: stretch;
}
.sort-controls {
justify-content: center;
}
.view-controls {
margin-right: 0.5rem !important;
padding: 8px 12px !important;
justify-content: center;
}
.view-btn {
min-width: 40px !important;
min-height: 40px !important;
padding: 8px 12px !important;
}
.view-btn svg {
width: 16px !important;
height: 16px !important;
}
}