bulma/docs/sass/bsa.sass

68 lines
1.3 KiB
Sass
Raw Normal View History

.bsa
padding: 2rem
2017-03-14 22:25:22 +00:00
.bsa-cpc
min-height: 1px
#_default_
.default-ad
2017-03-14 22:25:22 +00:00
background-color: rgba(black, 0.3)
border-radius: 2px
2017-03-14 22:25:22 +00:00
color: $white
display: inline-block
2017-03-14 22:25:22 +00:00
font-size: 10px
font-weight: bold
padding: 0 4px
text-transform: uppercase
vertical-align: top
& > a
background-color: $white
border-radius: $radius-large
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px rgba($black, 0.1)
2017-03-14 22:25:22 +00:00
color: $text
display: block
2017-03-14 22:25:22 +00:00
line-height: 1.375
margin-top: 15px
padding: 15px
padding-left: 70px
position: relative
&:hover,
&:focus
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px $link
&:active
box-shadow: inset 0 1px 2px rgba($black, 0.2), 0 0 0 1px $link
span
display: block
.default-image
display: block
left: 15px
height: 40px
position: absolute
top: 15px
width: 40px
img
display: block
height: 40px
width: 40px
.default-title
color: $text-strong
font-weight: $weight-bold
+tablet
2017-03-14 22:25:22 +00:00
.bsa
.columns
min-height: 120px
#_default_
display: flex
justify-content: center
position: relative
.default-ad
2017-03-13 15:22:20 +00:00
left: 100%
margin-left: 2rem
position: absolute
top: 0
& > a
2017-03-13 15:22:20 +00:00
margin: 0
&:not(:nth-child(2))
margin-left: 2rem