forked from mirror/_s
Tidy up _clearings.scss
refactoring this code to make it easier to read and reduce number of lines required.
This commit is contained in:
parent
c3a4a7f860
commit
13d2654259
|
@ -1,23 +1,15 @@
|
|||
.clear:before,
|
||||
.clear:after,
|
||||
.entry-content:before,
|
||||
.entry-content:after,
|
||||
.comment-content:before,
|
||||
.comment-content:after,
|
||||
.site-header:before,
|
||||
.site-header:after,
|
||||
.site-content:before,
|
||||
.site-content:after,
|
||||
.site-footer:before,
|
||||
.site-footer:after {
|
||||
.clear,
|
||||
.entry-content,
|
||||
.comment-content,
|
||||
.site-header,
|
||||
.site-content,
|
||||
.site-footer {
|
||||
&::before,
|
||||
&::after {
|
||||
@include clearfix;
|
||||
}
|
||||
}
|
||||
|
||||
.clear:after,
|
||||
.entry-content:after,
|
||||
.comment-content:after,
|
||||
.site-header:after,
|
||||
.site-content:after,
|
||||
.site-footer:after {
|
||||
&::after {
|
||||
@include clearfix-after;
|
||||
}
|
||||
}
|
||||
|
|
Reference in New Issue