Omphaloskepsis-2/assets/css/components/_chart.scss

24 lines
398 B
SCSS
Raw Normal View History

2025-01-04 19:22:41 +00:00
.chart-container {
2025-01-11 15:18:22 +00:00
position: relative;
margin-inline: auto;
block-size: 100vh;
inline-size: 95vw;
display: flex;
justify-content: center;
2025-01-04 19:22:41 +00:00
2025-01-11 15:18:22 +00:00
@media (orientation: landscape) {
block-size: 75vh;
inline-size: 95vw;
}
2025-01-04 19:22:41 +00:00
2025-01-11 15:18:22 +00:00
@include mq("large") {
block-size: auto;
max-block-size: 80vh;
inline-size: 50vw;
}
2025-01-04 19:22:41 +00:00
2025-01-11 15:18:22 +00:00
& + .chart-container {
margin-block-start: 1em;
}
2025-01-04 19:22:41 +00:00
}