Fix container

This commit is contained in:
Jeremy Thomas
2016-12-22 20:33:10 +00:00
parent da1006527c
commit 102a5d41f1
6 changed files with 63 additions and 620 deletions

View File

@@ -1,13 +1,3 @@
.footer
background-color: $background
padding: 40px 20px 80px
a
&,
&:visited
color: $text
&:hover
color: $text-strong
&:not(.icon)
border-bottom: 1px solid $border
&:hover
border-bottom-color: $link
padding: 3rem 1.5rem 6rem

View File

@@ -18,31 +18,32 @@
display: none
.hero-buttons
margin-top: 20px
margin-top: 1.5rem
// Responsiveness
+mobile
.button
display: flex
&:not(:last-child)
margin-bottom: 10px
margin-bottom: 0.75rem
+tablet
display: flex
justify-content: center
.button:not(:last-child)
margin-right: 20px
margin-right: 1.5rem
// Containers
.hero-head,
.hero-foot
flex-grow: 0
flex-shrink: 0
.hero-body
flex-grow: 1
flex-shrink: 0
padding: 40px 20px
padding: 3rem 1.5rem
// Responsiveness
+from(1240px)
+from($widescreen)
padding-left: 0
padding-right: 0
@@ -131,13 +132,13 @@
&.is-medium
+tablet
.hero-body
padding-bottom: 120px
padding-top: 120px
padding-bottom: 9rem
padding-top: 9rem
&.is-large
+tablet
.hero-body
padding-bottom: 240px
padding-top: 240px
padding-bottom: 18rem
padding-top: 18rem
&.is-fullheight
min-height: 100vh
.hero-body