summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrii-Moshenskyi <andrii.moshenskyi@gmail.com>2021-01-21 13:05:14 +0200
committerAndrii-Moshenskyi <andrii.moshenskyi@gmail.com>2021-01-21 13:05:14 +0200
commitb2bd4ca0d550a5c7287a04793ea9f7739c5b16df (patch)
treeb53c9dc46a69a9f9385097111503c5032572b0eb
parent7db3add7156413c25aa9461dfa5fdcc50c35be3a (diff)
downloadcommunity.vyos.net-b2bd4ca0d550a5c7287a04793ea9f7739c5b16df.tar.gz
community.vyos.net-b2bd4ca0d550a5c7287a04793ea9f7739c5b16df.zip
Fix some initial styling on main page
-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)