bulma/docs/_sass/patreon.sass

92 lines
1.7 KiB
Sass
Raw Normal View History

2018-05-03 00:39:33 +00:00
.bd-side-sponsors
2018-06-25 08:30:44 +00:00
margin-top: 3rem
text-align: center
2018-05-03 00:39:33 +00:00
2018-06-25 08:30:44 +00:00
.bd-side-sponsor-label,
.bd-banner-label
2018-05-03 00:39:33 +00:00
color: $grey-light
font-size: 0.75rem
margin-bottom: 0.75rem
.bd-side-sponsor
display: inline-block
height: 50px
vertical-align: top
img
display: block
max-height: 100%
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-06-25 08:30:44 +00:00
margin-top: 3rem
padding-bottom: 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
2018-06-25 08:30:44 +00:00
// &.is-fortyfour
// 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
2018-06-25 08:30:44 +00:00
transform: scale(1.05)
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-06-25 08:30:44 +00:00
display: none
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-06-25 08:30:44 +00:00
margin-bottom: 0.5rem
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
2018-06-25 08:30:44 +00:00
// left: -8px
// position: relative
2018-04-13 23:21:03 +00:00
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