82 lines
1.2 KiB
SCSS
82 lines
1.2 KiB
SCSS
.news-detail__title {
|
|
max-width: 900px;
|
|
margin: auto;
|
|
margin-bottom: 2rem;
|
|
font-size: 3rem;
|
|
text-align: left;
|
|
|
|
@media (min-width: $breakpoint-md) {
|
|
font-size: 4rem;
|
|
}
|
|
}
|
|
|
|
.news-detail__main-image {
|
|
max-width: 900px;
|
|
margin: auto;
|
|
margin-bottom: 2rem;
|
|
|
|
img {
|
|
width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
margin: 0 auto;
|
|
}
|
|
}
|
|
|
|
.news-detail__teaser {
|
|
max-width: 900px;
|
|
margin: auto;
|
|
margin-bottom: 2rem;
|
|
font-weight: 600;
|
|
}
|
|
|
|
.news-detail__bodytext {
|
|
max-width: 900px;
|
|
margin: auto;
|
|
margin-bottom: 2rem;
|
|
}
|
|
|
|
.news-detail__content-elements {
|
|
max-width: 900px;
|
|
margin: auto;
|
|
|
|
margin-bottom: 2rem;
|
|
|
|
.container {
|
|
padding: 0;
|
|
}
|
|
> * {
|
|
margin-bottom: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.news-detail__gallery {
|
|
margin-top: 2rem;
|
|
|
|
&--grid {
|
|
display: grid;
|
|
grid-template-columns: repeat(3, 1fr);
|
|
gap: 1rem;
|
|
|
|
.news-detail__gallery-item {
|
|
img {
|
|
max-width: 100%;
|
|
height: auto;
|
|
display: block;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
@media (max-width: 768px) {
|
|
.news-detail__gallery--grid {
|
|
grid-template-columns: repeat(3, 1fr);
|
|
}
|
|
}
|
|
|
|
@media (max-width: 480px) {
|
|
.news-detail__gallery--grid {
|
|
grid-template-columns: 1fr;
|
|
}
|
|
}
|