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 {
width: 840px;
width: $preferred-width;
margin: 0 auto;
@media (max-width: 839px) {

View File

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

View File

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