_sass/_layout.scss in jekyll-theme-mehdix-rtl-0.1.21 vs _sass/_layout.scss in jekyll-theme-mehdix-rtl-0.2.0
- old
+ new
@@ -7,14 +7,20 @@
.content {
display: table-row;
height: 100%;
}
-.content-body {
- display: table-cell;
- padding: 20px;
- background: #e7e7e7;
+.wrapper {
+ max-width: -webkit-calc(800px - (#{$spacing-unit} * 2));
+ max-width: calc(800px - (#{$spacing-unit} * 2));
+ margin: 0 auto;
+ padding: 0 $spacing-unit;
+
+ @include media-query($on-laptop) {
+ width: 89vw;
+ padding: 0 $spacing-unit / 2;
+ }
}
.site-header {
min-height: 56px;
position: relative;
@@ -151,5 +157,6 @@
path {
fill: $grey-color;
}
}
}
+