Use module for vars

This commit is contained in:
Anton Vakhrushev 2018-04-29 12:42:56 +03:00
parent 533b8d466e
commit f1385ed562
4 changed files with 8 additions and 6 deletions

View File

@ -1,7 +1,8 @@
@import '../common/base_style.scss'; @import '../styles/vars';
@import '../styles/base_style';
.content { .content {
width: 840px; width: $preferred-width;
margin: 0 auto; margin: 0 auto;
@media (max-width: 839px) { @media (max-width: 839px) {

View File

@ -1,4 +1,5 @@
@import '../common/base_style.scss'; @import '../styles/vars';
@import '../styles/base_style';
.navigation { .navigation {
display: block; display: block;
@ -16,15 +17,14 @@
margin: { margin: {
top: 1em; top: 1em;
bottom: 1em; bottom: 1em;
}; }
} }
.navigation__link { .navigation__link {
} }
.page { .page {
width: 840px; width: $preferred-width;
margin: 0 auto; margin: 0 auto;
@media (max-width: 839px) { @media (max-width: 839px) {

View File

@ -0,0 +1 @@
$preferred-width: 840px;