63 lines
1.1 KiB
SCSS
63 lines
1.1 KiB
SCSS
.article {
|
|
img {
|
|
max-width:100%;
|
|
height:auto;
|
|
margin:auto;
|
|
}
|
|
|
|
.thumbnail img {
|
|
width:100%;
|
|
aspect-ratio: 16 / 9;
|
|
border-radius: $card-radius;
|
|
object-fit: cover;
|
|
}
|
|
}
|
|
|
|
.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;
|
|
}
|
|
}
|
|
}
|
|
|
|
.wp-block-image {
|
|
&.size-full,
|
|
&.size-large {
|
|
text-align: center;
|
|
margin:auto;
|
|
}
|
|
}
|
|
|
|
.wp-block-gallery {
|
|
display:flex;
|
|
justify-content: space-between;
|
|
align-items: start;
|
|
.wp-block-image {
|
|
width: 220px;
|
|
text-align: center;
|
|
align-self: start;
|
|
}
|
|
img {
|
|
width:200px;
|
|
height:200px;
|
|
object-fit: cover;
|
|
display:block;
|
|
margin:auto;
|
|
}
|
|
}
|