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

30 lines
579 B
SCSS
Raw Normal View History

2020-10-16 20:00:32 +00:00
.list {
.container {
display: grid;
2020-10-17 02:41:13 +00:00
grid-template-columns: 1fr;
2020-10-16 20:00:32 +00:00
gap: 1em;
}
.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;
2020-10-17 02:41:13 +00:00
line-height: 1.4;
2020-10-16 20:00:32 +00:00
}
&__date {
}
&:hover {
color: #0060ff;
}
}
}