Files
website/static/static/css/radio.scss
2025-05-22 18:08:15 +02:00

60 lines
1.2 KiB
SCSS

@use "colors";
.page-radio-trains {
.video-zone {
display: flex;
justify-content: center;
align-items: center;
padding: 1rem;
#video-player {
aspect-ratio: 16 / 9;
max-width: 80%;
max-height: 50vh;
width: 100%;
}
}
h1 {
padding: 0 1rem;
text-align: center;
}
main {
display: grid;
gap: 1rem;
padding: 1rem;
grid-template-columns: repeat(4, 1fr);
& > div {
img {
width: 100%;
}
&.active {
background-color: oklch(from colors.$background-color calc(l - 0.05) c h);
}
p {
margin: .5em;
a {
text-decoration: none;
color: black;
}
}
}
@media screen and (max-width: 992px) {
grid-template-columns: repeat(3, 1fr);
}
@media screen and (max-width: 768px) {
grid-template-columns: repeat(2, 1fr);
}
@media screen and (max-width: 576px) {
grid-template-columns: 1fr;
}
}
}