Style reorganization

This commit is contained in:
2018-06-17 16:41:13 +03:00
parent 54185a59ac
commit 870cbe0147
6 changed files with 58 additions and 39 deletions

View File

@ -0,0 +1,21 @@
.navigation {
display: block;
border-bottom: 1px solid #eee;
&__actions {
list-style: none;
margin: 0;
padding: 0;
}
&__action {
display: inline-block;
margin: {
top: 1em;
bottom: 1em;
}
}
&__link {
}
}

View File

@ -1,34 +1,17 @@
@import '../vars';
@import '../base_style';
.navigation {
display: block;
border-bottom: 1px solid #eee;
}
.navigation__actions {
list-style: none;
margin: 0;
padding: 0;
}
.navigation__action {
display: inline-block;
margin: {
top: 1em;
bottom: 1em;
}
}
.navigation__link {
}
@import 'navigation';
.page {
width: $preferred-width;
margin: 0 auto;
@media (max-width: 480px) {
@media (max-width: $first-media-step) {
width: auto;
margin: {
left: $mobile-margin;
right: $mobile-margin;
}
}
}