summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sass/front-page/bottom-text.sass8
-rw-r--r--sass/front-page/main-text.sass1
2 files changed, 5 insertions, 4 deletions
diff --git a/sass/front-page/bottom-text.sass b/sass/front-page/bottom-text.sass
index 60b83d6..54ac45d 100644
--- a/sass/front-page/bottom-text.sass
+++ b/sass/front-page/bottom-text.sass
@@ -1,10 +1,11 @@
@import ../settings.sass
-section.bottom-text
- div.bottom-text__inner
+.bottom-text
+ &__inner
padding: 138px 0 182px
max-width: 657px
margin-left: auto
+ text-align: center
margin-right: auto
+resp(lg)
padding: 138px 250px 182px
@@ -14,6 +15,5 @@ section.bottom-text
padding: 56px 50px 64px
+resp(esm)
padding: 56px 20px 64px
- h2.bottom-text__title
- text-align: center
+ h2
padding-bottom: 25px \ No newline at end of file
diff --git a/sass/front-page/main-text.sass b/sass/front-page/main-text.sass
index 2534165..170c866 100644
--- a/sass/front-page/main-text.sass
+++ b/sass/front-page/main-text.sass
@@ -5,6 +5,7 @@ section.main-text
margin-left: auto
margin-right: auto
padding: 143px 0
+ text-align: center
+resp(lg)
padding: 143px 0
+resp(md)