Add bare bones and memory management categories

This commit is contained in:
Philipp Oppermann
2015-12-17 02:28:41 +01:00
parent f0cf691229
commit 5f8b058cd3
3 changed files with 71 additions and 22 deletions

View File

@@ -86,3 +86,33 @@
margin-bottom: 2em;
margin-top: -2em;
}
@mixin category-posts($color) {
border: 2px solid $color;
border-radius: 5px;
margin-bottom: 2rem;
}
@mixin category-title($color) {
color: $color;
margin-right: 0.5rem;
text-transform: uppercase;
font-size: 0.8rem;
text-align: right;
}
.posts.bare-bones {
@include category-posts(#99f);
}
.post-category.bare-bones {
@include category-title(#66f);
}
.posts.memory-management {
@include category-posts(#cc0);
}
.post-category.memory-management {
@include category-title(#990);
}