qdouze-bludit-theme/scss/custom/_article.scss

43 lines
780 B
SCSS
Raw Normal View History

2024-04-10 20:54:20 +02:00
.article {
img {
max-width:100%;
height:auto;
margin:auto;
}
.thumbnail img {
width:100%;
aspect-ratio: 16 / 9;
border-radius: $card-radius;
object-fit: cover;
}
}
2024-11-19 19:56:34 +01:00
.description {
opacity: 0.8;
font-style: italic;
font-size: .95rem;
}
2024-04-10 20:54:20 +02:00
.article-meta {
.author-area {
display: flex;
align-items: center;
margin-bottom: $lineheight / 2;
img {
border-radius: 9999px;
width: $lineheight * 3;
height: auto;
margin: 0;
margin-right: $lineheight / 2;
}
}
.article-category {
.badge {
display: inline-block;
margin-bottom: $lineheight / 4;
}
}
}