@@ -15,7 +15,8 @@ layout: default
{% include author.html %}
-
-
+
diff --git a/src/scss/_featurepost.scss b/src/scss/_featurepost.scss
index de4c1d6..ea89bd7 100644
--- a/src/scss/_featurepost.scss
+++ b/src/scss/_featurepost.scss
@@ -61,7 +61,7 @@ $m: 'featurepost';
margin: 0 pxToRem(-20px);
.featurepost {
- display: block;
+ display: block;
width: 100%;
@include mq($from: small) {
diff --git a/src/scss/_section.scss b/src/scss/_section.scss
index 42d1439..e92b04e 100644
--- a/src/scss/_section.scss
+++ b/src/scss/_section.scss
@@ -65,22 +65,56 @@ $m: 'section';
&--post {
.#{$m} {
-
&__sidebar {
- display: inline-block;
- width: 30%;
- vertical-align: top;
- padding-left: pxToRem(40px);
+ display: block;
+ width: 100%;
+ margin-top: pxToRem(120px);
+ margin-left: pxToRem(-20px);
+ margin-right: pxToRem(-20px);
.featurepost {
max-width: 100%;
+ @include mq($from: small, $to: medium) {
+ width: 49%;
+ }
+
+ margin-bottom: pxToReM(60px);
+
+ @include mq($to: medium) {
+ &__preview {
+ display: block;
+ height: 1px;
+ }
+ }
}
+ &-title {
+ @include font-claim();
+ text-align: center;
+ margin-bottom: pxToRem(40px);
+
+ @include mq($from: medium) {
+ @include visuallyhidden();
+ }
+ }
+
+ @include mq($from: medium) {
+ display: inline-block;
+ width: 30%;
+ vertical-align: top;
+ margin: 0;
+ padding-left: pxToRem(40px);
+ }
+
}
&__main {
display: inline-block;
width: 69%;
vertical-align: top;
+
+ @include mq($to: medium) {
+ width: 100%;
+ }
}
}
}