bulma/docs/_sass/patreon.sass

53 lines
983 B
Sass
Raw Normal View History

2018-01-10 11:48:03 +00:00
.bd-banner
2017-11-14 10:30:37 +00:00
align-items: center
display: flex
justify-content: center
2018-01-10 11:48:03 +00:00
overflow: hidden
padding: 1rem
position: relative
2017-11-14 10:30:37 +00:00
strong
color: currentColor
2018-01-10 11:48:03 +00:00
.tag
margin-right: 0.5em
&.is-patreon
background-color: $patreon-blue
color: $white
&.is-fortyfour
background-color: $fortyfour
color: $white
.button
transform-origin: center
transition-duration: $speed
transition-property: transform
&:hover
.button
transform: scale(1.1)
2017-11-14 10:30:37 +00:00
2018-01-10 11:48:03 +00:00
.bd-banner-background
+overlay
background-image: url("/images/fortyfour-background.jpg")
background-position: center center
background-size: cover
opacity: 0.5
.bd-banner-text
2017-11-14 10:30:37 +00:00
line-height: 1.25
margin-right: 0.5rem
2018-01-10 11:48:03 +00:00
position: relative
2017-11-14 10:30:37 +00:00
2018-01-10 11:48:03 +00:00
.bd-banner-button
2017-11-14 10:30:37 +00:00
display: inline-block
flex-shrink: 0
2017-11-14 12:14:58 +00:00
height: 34px
2018-01-10 11:48:03 +00:00
position: relative
2017-11-14 12:14:58 +00:00
width: 145px
img
max-height: 100%
2017-11-14 10:30:37 +00:00
2017-11-15 13:01:33 +00:00
.hero.bd-is-patreon
background-color: $patreon
2017-11-14 10:30:37 +00:00
+from(480px)
2018-01-10 11:48:03 +00:00
.bd-banner-text
2017-11-14 10:30:37 +00:00
margin-right: 1rem