mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-17 23:07:50 +00:00
Add bare bones and memory management categories
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user