This repository has been archived on 2024-04-03. You can view files and clone it, but cannot push or open issues or pull requests.
kspace-wordpress-theme/scss/custom/_article.scss

64 lines
1.1 KiB
SCSS
Raw Normal View History

.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;
}
}
2023-05-20 14:53:05 +02:00
}
.wp-block-image {
&.size-full,
&.size-large {
text-align: center;
2023-10-04 15:30:00 +02:00
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;
2023-05-20 14:53:05 +02:00
}
2023-10-04 15:30:00 +02:00
img {
width:200px;
height:200px;
object-fit: cover;
display:block;
margin:auto;
}
}