revert moving section and aside padding to style.css - it brings trouble to other layouts

This commit is contained in:
Mario Vavti 2015-07-11 12:42:11 +02:00
parent edb3d970ca
commit d8e7f36c74
2 changed files with 14 additions and 5 deletions

View File

@ -17,6 +17,7 @@ main {
aside { aside {
display: table-cell; display: table-cell;
vertical-align: top; vertical-align: top;
padding: 80px 7px 0px 7px;
} }
@ -24,4 +25,17 @@ section {
width: 100%; width: 100%;
display: table-cell; display: table-cell;
vertical-align: top; vertical-align: top;
padding: 80px 7px 200px 7px;
}
@media screen and (max-width: 767px) {
section {
padding: 65px 7px 200px 7px;
}
aside#region_1 {
padding: 65px 7px 0px 7px;
}
} }

View File

@ -28,17 +28,12 @@ aside#region_1 {
width: $aside_widthpx; width: $aside_widthpx;
min-width: $aside_widthpx; min-width: $aside_widthpx;
max-width: $aside_widthpx; max-width: $aside_widthpx;
padding: 80px 7px 0px 7px;
} }
main { main {
max-width: $main_widthpx; max-width: $main_widthpx;
} }
section {
padding: 80px 7px 200px 7px;
}
h1, .h1, h2, .h2 { h1, .h1, h2, .h2 {
font-size: 1.667em; font-size: 1.667em;
} }