rf-web/_sass/layouts/post.scss

61 lines
822 B
SCSS
Raw Normal View History

2020-04-25 08:56:48 +00:00
.post-list {
margin: 0;
padding: 0;
margin-bottom: $size-128;
h2 {
margin-bottom: $size-32;
}
.post-item {
margin-bottom: $size-64;
.post-header {
margin-bottom: $size-16;
}
.post-content {
p {
display: inline;
}
}
}
}
.news-post {
margin-bottom: $size-64;
}
.post-item {
list-style: none;
padding: 0;
margin-bottom: $size-16;
.post-header {
display: flex;
justify-content: space-between;
margin-bottom: $size-32;
h2,
h3,
label {
display: inline-flex;
align-items: center;
@include textbox;
margin: 0;
}
a {
color: $black;
text-decoration: none;
&:hover,
&:visited {
font-style: normal;
}
}
}
.post-content {
@include textbox;
}
}