bulma/docs/_sass/bootstrap.sass

97 lines
1.6 KiB
Sass
Raw Normal View History

2017-07-30 14:11:22 +00:00
$bootstrap: #6f5499
$bootstrap-invert: #fff
.bootstrap
.hero
background-color: $bootstrap
color: $bootstrap-invert
.title,
.subtitle
color: currentColor
.subtitle
color: rgba($bootstrap-invert, 0.5)
.subtitle a
border-bottom: 1px solid currentColor
color: currentColor
&:hover
2017-07-31 15:06:31 +00:00
color: $bootstrap-invert
.pros-heading
2017-07-31 16:32:41 +00:00
padding: 0 2rem
2017-07-31 15:06:31 +00:00
text-align: center
.pros-icon
2017-07-31 16:32:41 +00:00
margin-bottom: 3rem
2017-07-31 15:06:31 +00:00
text-align: center
svg
height: 3rem
width: auto
.pros-list
margin: 0 auto
max-width: 540px
.pro
.icon
position: relative
top: -1px
.title
margin-bottom: 0.5rem
.pro + .pro
margin-top: 2rem
padding-top: 2rem
.pro-content
p:not(:last-child)
margin-bottom: 0.5rem
.pro.is-bulma
.icon
color: $primary
.pro.is-bootstrap
.icon
color: $bootstrap
.separator
color: $border
2017-07-31 16:32:41 +00:00
margin: 0 0.25em
.comparison
margin: 0 auto
max-width: 42rem
.table
2017-07-31 16:42:53 +00:00
color: $red
thead,
tfoot
th
font-size: 1.5rem
text-align: center
svg
height: 1.5rem
margin-right: 1rem
position: relative
top: 0.25rem
width: auto
2017-07-31 16:32:41 +00:00
tbody
2017-07-31 16:42:53 +00:00
th
font-size: 1.25rem
text-align: center
td
2017-07-31 16:32:41 +00:00
font-family: $family-monospace
2017-07-31 16:42:53 +00:00
width: 50%
a
color: currentColor
2017-07-31 16:32:41 +00:00
&:hover
text-decoration: underline
.is-empty
background-color: $background
color: $text-light
2017-07-31 16:42:53 +00:00
.is-unique
background-color: rgba($green, 0.25)
color: $text-strong
font-weight: $weight-bold
2017-07-31 16:32:41 +00:00
.comparison-header
margin-bottom: 3rem