Add is-halfheight to hero (#783)

* Add is-halfheight to hero

* Remove duplication
This commit is contained in:
Felipe Silva 2017-06-11 16:42:01 -03:00 committed by Jeremy Thomas
parent 16a7e2e068
commit eec09cc063

View File

@ -142,11 +142,15 @@
.hero-body
padding-bottom: 18rem
padding-top: 18rem
&.is-halfheight,
&.is-fullheight
min-height: 100vh
.hero-body
align-items: center
display: flex
& > .container
flex-grow: 1
flex-shrink: 1
&.is-halfheight
min-height: 50vh
&.is-fullheight
min-height: 100vh