bulma/docs/_sass/patreon.sass

92 lines
1.8 KiB
Sass
Raw Normal View History

2018-12-05 08:39:03 +00:00
.bd-side-sponsrs
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
2019-10-18 18:05:37 +00:00
color: var(--#{$prefix}-border-hover)
2018-05-03 00:39:33 +00:00
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
2019-10-18 18:05:37 +00:00
color: var(--#{$prefix}-scheme-main)
2018-06-25 08:30:44 +00:00
// &.is-fortyfour
2019-10-18 18:05:37 +00:00
// background-color: var(--#{$prefix}-scheme-main)
2018-06-25 08:30:44 +00:00
// border: 2px solid $background
2018-01-10 11:48:03 +00:00
.button
transform-origin: center
transition-duration: $speed
transition-property: transform
&:hover
2019-10-18 18:05:37 +00:00
border-color: var(--#{$prefix}-link)
color: var(--#{$prefix}-link)
2018-04-13 23:21:03 +00:00
.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
2019-10-18 18:05:37 +00:00
color: var(--#{$prefix}-text-strong)
2018-04-13 23:21:03 +00:00
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