bulma/docs/_sass/expo.sass

50 lines
869 B
Sass
Raw Normal View History

2017-07-30 21:27:54 +00:00
.expo
background-color: $background
background-color: $white
padding: 1.5rem
.website
display: block
position: relative
text-align: center
&:last-child
margin-bottom: 0
.website-image
align-items: center
display: flex
justify-content: center
margin-bottom: 1.5rem
position: relative
&:hover
.website-overlay
opacity: 0.25
.website-overlay
background-color: $black
opacity: 0
transition: opacity 200ms $easing
+mobile
.website:not(:last-child)
margin-bottom: 1.5rem
+tablet
.expo
padding-bottom: 3rem
padding-top: 3rem
.websites
display: flex
flex-wrap: wrap
justify-content: space-between
.website
2017-08-02 08:01:38 +00:00
margin-top: 3rem
2017-07-30 21:27:54 +00:00
width: calc(50% - 3rem)
2017-08-02 08:01:38 +00:00
&:nth-child(1),
&:nth-child(2)
margin-top: 0
2017-07-30 21:27:54 +00:00
&.is-highlighted
2017-08-02 08:01:38 +00:00
width: 100%
.website-image
margin-bottom: 3rem