This repository has been archived on 2026-10-23. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
dns2019/src/css/blog.scss
T
2019-01-30 13:52:26 +01:00

50 lines
773 B
SCSS

.blog {
background: $color-yellow;
}
.post-list {
display: flex;
flex-wrap: wrap;
}
.post {
width: 26rem;
padding: 1.2rem;
margin: 0 1rem 1rem 0;
background: $color-white;
color: $color-black;
box-shadow: 0 0 0.4rem rgba(0, 0, 0, 0.3);
&-title {
display: block;
text-decoration: none;
color: inherit;
font-size: 1.6rem;
font-weight: bold;
line-height: 1.2;
margin-bottom: 0.4rem;
}
&-meta {
font-size: 0.8rem;
margin-bottom: 1rem;
}
}
.read-more {
display: inline-block;
padding: 0.4rem;
border-radius: 50%;
line-height: 1;
background: $color-orange;
color: $color-black;
text-decoration: none;
font-weight: bold;
&:hover {
background: $color-yellow;
color: $color-black;
}
}