30 lines
609 B
SCSS
30 lines
609 B
SCSS
.list {
|
|
.container {
|
|
display: grid;
|
|
grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
|
|
gap: 1em;
|
|
align-items: start;
|
|
}
|
|
.list-item {
|
|
color: inherit;
|
|
text-decoration: none;
|
|
transition: color 0.2s ease-in-out;
|
|
&__image {
|
|
width: 100%;
|
|
height: auto;
|
|
}
|
|
&__title {
|
|
font-size: 1.5em;
|
|
margin: 0.5em 0;
|
|
}
|
|
&__summary {
|
|
margin-bottom: 1.5em;
|
|
}
|
|
&__date {
|
|
|
|
}
|
|
&:hover {
|
|
color: #0060ff;
|
|
}
|
|
}
|
|
} |