Remove %page-width-container from common

This commit is contained in:
Mathieu Magnin 2017-07-06 14:15:57 +02:00
parent e2735b4238
commit 0528b83fcc
2 changed files with 5 additions and 8 deletions
app/assets/stylesheets/new_design

View file

@ -1,5 +1,4 @@
@import "constants"; @import "constants";
@import "mixins";
%horizontal-list { %horizontal-list {
list-style-type: none; list-style-type: none;
@ -14,12 +13,6 @@
display: inline-block; display: inline-block;
} }
%page-width-container {
@include horizontal-padding($default-padding);
max-width: $page-width + 2 * $default-padding;
margin: 0 auto;
}
%animation { %animation {
animation-fill-mode: forwards; animation-fill-mode: forwards;
animation-duration: 0.3s; animation-duration: 0.3s;

View file

@ -1,3 +1,5 @@
@import "constants";
@import "mixins";
@import "placeholders"; @import "placeholders";
@import "typography"; @import "typography";
@ -13,5 +15,7 @@ h1 {
} }
.container { .container {
@extend %page-width-container; @include horizontal-padding($default-padding);
max-width: $page-width + 2 * $default-padding;
margin: 0 auto;
} }