Tidy up _clearings.scss

refactoring this code to make it easier to read and reduce number of lines required.
This commit is contained in:
Nuclear Ape 2019-01-18 12:34:25 +00:00 committed by GitHub
parent c3a4a7f860
commit 13d2654259
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 13 additions and 21 deletions

View File

@ -1,23 +1,15 @@
.clear:before, .clear,
.clear:after, .entry-content,
.entry-content:before, .comment-content,
.entry-content:after, .site-header,
.comment-content:before, .site-content,
.comment-content:after, .site-footer {
.site-header:before, &::before,
.site-header:after, &::after {
.site-content:before, @include clearfix;
.site-content:after, }
.site-footer:before,
.site-footer:after {
@include clearfix;
}
.clear:after, &::after {
.entry-content:after, @include clearfix-after;
.comment-content:after, }
.site-header:after,
.site-content:after,
.site-footer:after {
@include clearfix-after;
} }