43 lines
No EOL
780 B
SCSS
Executable file
43 lines
No EOL
780 B
SCSS
Executable file
.article {
|
|
img {
|
|
max-width:100%;
|
|
height:auto;
|
|
margin:auto;
|
|
}
|
|
|
|
.thumbnail img {
|
|
width:100%;
|
|
aspect-ratio: 16 / 9;
|
|
border-radius: $card-radius;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
|
|
.description {
|
|
opacity: 0.8;
|
|
font-style: italic;
|
|
font-size: .95rem;
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
} |