bulma/docs/_sass/patreon.sass

72 lines
1.4 KiB
Sass
Raw Normal View History

2018-01-10 11:48:03 +00:00
.bd-banner
2018-04-13 23:21:03 +00:00
border-radius: $radius-large
display: block
2018-01-10 11:48:03 +00:00
overflow: hidden
2018-04-13 23:21:03 +00:00
margin-top: 1.5rem
padding: 1.5rem
2018-01-10 11:48:03 +00:00
position: relative
2018-04-13 23:21:03 +00:00
text-align: center
transition-duration: $speed
transition-property: border-color, color
2017-11-14 10:30:37 +00:00
strong
color: currentColor
2018-01-10 11:48:03 +00:00
.tag
2018-04-13 23:21:03 +00:00
margin-bottom: 0.25em
2018-01-10 11:48:03 +00:00
&.is-patreon
background-color: $patreon-blue
color: $white
&.is-fortyfour
2018-04-13 23:21:03 +00:00
background-color: $white
border: 2px solid $background
2018-01-10 11:48:03 +00:00
.button
transform-origin: center
transition-duration: $speed
transition-property: transform
&:hover
2018-04-13 23:21:03 +00:00
border-color: $link
color: $link
.bd-banner-title
color: currentColor
2018-01-10 11:48:03 +00:00
.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
2018-04-13 23:21:03 +00:00
.bd-banner-title
color: $text-strong
font-size: 1.25em
font-weight: $weight-semibold
line-height: 1.25
margin-bottom: 0.25em
2018-01-10 11:48:03 +00:00
.bd-banner-text
2018-04-13 23:21:03 +00:00
font-size: 0.875em
2017-11-14 10:30:37 +00:00
line-height: 1.25
2018-04-13 23:21:03 +00:00
padding: 0 0.5em
2018-01-10 11:48:03 +00:00
position: relative
2017-11-14 10:30:37 +00:00
2018-04-13 23:21:03 +00:00
.bd-banner-image
height: 176px
margin-bottom: 1rem
margin-top: 1rem
img
display: inline-block
vertical-align: top
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