bulma/docs/_sass/global.sass

66 lines
1.2 KiB
Sass
Raw Normal View History

2017-07-02 22:49:54 +00:00
svg
max-height: 100%
max-width: 100%
$carbon-space: 15px
2017-09-05 21:53:21 +00:00
#carboncontainer
align-items: center
display: flex
justify-content: center
2017-07-02 22:49:54 +00:00
margin-left: auto
margin-right: auto
max-width: 340px
min-height: 120px + ($carbon-space * 2)
2017-09-05 21:53:21 +00:00
#carbon
flex-grow: 1
2017-10-24 09:31:45 +00:00
min-height: 100px + ($carbon-space * 2)
2017-07-02 22:49:54 +00:00
padding: 0
position: relative
&:hover
box-shadow: 0 2px 3px rgba($black, 0.1), 0 0 0 1px $primary
+tablet
width: 340px
#carbonads
font-size: 14px
text-align: left
a,
span
display: block
.carbon-wrap
2017-09-05 21:53:21 +00:00
min-height: 130px
2017-07-02 22:49:54 +00:00
position: relative
.carbon-img
2017-09-05 21:53:21 +00:00
bottom: 0
2017-07-02 22:49:54 +00:00
float: left
2017-09-05 21:53:21 +00:00
left: 0
min-height: 130px
padding: 15px 0 15px 15px
position: absolute
top: 0
width: 145px
2017-07-02 22:49:54 +00:00
img
display: block
height: 100px
width: 130px
2017-09-05 21:53:21 +00:00
&:hover
opacity: 0.9
&:active
opacity: 0.8
a:hover
text-decoration: underline
2017-07-02 22:49:54 +00:00
.carbon-text
display: block
color: $text-strong
line-height: 20px
padding: 15px 15px 35px 160px
.carbon-poweredby
2017-09-05 21:53:21 +00:00
bottom: 10px
2017-07-02 22:49:54 +00:00
color: $text-light
2017-09-05 21:53:21 +00:00
display: inline
2017-07-02 22:49:54 +00:00
font-size: $size-small
position: absolute
2017-10-24 09:31:45 +00:00
right: 10px