abdullahtarawneh.com/assets/scss/base/list.scss

33 lines
743 B
SCSS
Raw Normal View History

2020-10-16 20:00:32 +00:00
.list {
.container {
display: grid;
grid-template-columns: repeat(auto-fill, minmax(240px,1fr));
gap: 3em;
2020-10-16 20:00:32 +00:00
}
.list-item {
color: inherit;
text-decoration: none;
transition: color 0.2s ease-in-out;
&__image {
width: 100%;
height: auto;
}
&__title {
font-size: 1.5em;
2021-10-18 08:33:36 +00:00
font-weight: 700;
margin: 1.5em 0 0.5em;
2020-10-16 20:00:32 +00:00
}
&__summary {
margin-bottom: 0.5em;
2020-10-17 02:41:13 +00:00
line-height: 1.4;
2020-10-16 20:00:32 +00:00
}
&__date {
display: block;
margin-bottom: 1em;
2020-10-16 20:00:32 +00:00
}
&__readmore {
margin-bottom: 1em;
display: block;
2020-10-16 20:00:32 +00:00
}
}
}