1
0
web-semprace/sass/news.scss

30 lines
603 B
SCSS
Raw Normal View History

2023-11-21 21:04:25 +01:00
.news-wrapper {
display: flex;
flex-direction: column;
gap: 1rem;
color: var(--clr-murrey);
.news-card {
position: relative;
background-color: var(--clr-cards);
border-radius: 1rem;
padding: 1rem;
.pin-img {
width: 1rem;
position: absolute;
right: 1rem;
display: none;
}
}
.pinned {
order: -1;
}
.pinned .pin-img {
display: block;
}
iframe.video {
border-radius: 15px;
aspect-ratio: 16/9;
width: min(560px, 100%);
}
}