depot/web/lukegbcom/lib/PostsList/index.module.scss

54 lines
822 B
SCSS

.container {
display: flex;
flex-direction: column;
align-items: center;
}
.postsList {
max-width: 40rem;
display: flex;
flex-direction: column;
align-items: flex-start;
list-style: none;
padding: 0;
margin: 0 2rem;
}
.postHeader {
font-size: 1.2rem;
font-weight: 900;
margin-bottom: 0.1rem;
}
.postTimestamp {
font-size: 0.75rem;
opacity: 0.6;
}
.postBlurb {
font-size: 0.85rem;
margin: 0.4rem 0;
}
.postReadMoreButtonLink {
color: #46be77;
&:hover {
color: #22846c;
text-decoration: none;
}
}
.postReadMoreButton {
display: inline-flex;
padding: 0 1rem;
line-height: 2rem;
font-weight: 100;
text-align: center;
border-radius: 3px;
transition: all 0.2s;
background: rgba(251, 252, 252, 0.2);
border: 1px solid currentColor;
font-size: 0.8rem;
}