blob: cae1816f2ffbd5edf8c4990d9afb89dfc5ba4d77 [file]
.blogList {
position: relative;
border: 1px solid var(--color-border);
border-radius: var(--radius-lg);
overflow: hidden;
background-color: var(--color-surface);
box-shadow: var(--shadow-xs);
transition: border-color var(--motion-fast),
box-shadow var(--motion-fast),
transform var(--motion-fast);
&:hover {
border-color: var(--color-accent);
box-shadow: var(--shadow-md);
transform: translateY(-2px);
}
header {
a {
text-decoration: none;
color: inherit;
}
}
/* Cover image fits header without rounded corners overlap */
img {
border-radius: 0;
border: none;
margin: 0;
box-shadow: none;
}
}
.blogDetail {
header {
margin-bottom: 32px;
}
/* Sits below the author row rather than beside the title, which already
competes for width on narrow viewports. */
.blogAiActions {
margin-top: 20px;
}
.tags {
display: flex;
align-items: center;
margin-top: 24px;
.text {
margin-right: 12px;
color: var(--color-text-muted);
}
}
}
article[itemProp="blogPost"] {
border-radius: var(--radius-lg);
&:nth-last-of-type(1),
&:nth-last-of-type(2) {
margin-bottom: 0;
}
}