Sha256: 4e847f2af34ecf86e4f09e7a617d0ba87a9a02ff62b2a0063744250b09f1798d

Contents?: true

Size: 1.23 KB

Versions: 7

Compression:

Stored size: 1.23 KB

Contents

$title-color: $grey-darker !default
$title-size: $size-3 !default
$title-weight: $weight-semibold !default
$title-strong-color: inherit !default
$title-strong-weight: inherit !default

$subtitle-color: $grey-dark !default
$subtitle-size: $size-5 !default
$subtitle-weight: $weight-normal !default
$subtitle-strong-color: $grey-darker !default
$subtitle-strong-weight: $weight-semibold !default

.title,
.subtitle
  +block
  word-break: break-word
  em,
  span
    font-weight: inherit
  .tag
    vertical-align: middle

.title
  color: $title-color
  font-size: $title-size
  font-weight: $title-weight
  line-height: 1.125
  strong
    color: $title-strong-color
    font-weight: $title-strong-weight
  & + .highlight
    margin-top: -0.75rem
  &:not(.is-spaced) + .subtitle
    margin-top: -1.5rem
  // Sizes
  @each $size in $sizes
    $i: index($sizes, $size)
    &.is-#{$i}
      font-size: $size

.subtitle
  color: $subtitle-color
  font-size: $subtitle-size
  font-weight: $subtitle-weight
  line-height: 1.25
  strong
    color: $subtitle-strong-color
    font-weight: $subtitle-strong-weight
  &:not(.is-spaced) + .title
    margin-top: -1.5rem
  // Sizes
  @each $size in $sizes
    $i: index($sizes, $size)
    &.is-#{$i}
      font-size: $size

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
diproart-bulma-rails-0.6.1.pre.3 vendor/assets/stylesheets/bulma/sass/elements/title.sass
bulma-rails-0.6.1 app/assets/stylesheets/sass/elements/title.sass
bulma-sass-0.6.0 app/assets/stylesheets/sass/elements/title.sass
bulma-rails-0.6.0 app/assets/stylesheets/sass/elements/title.sass
bulma-rails-0.5.3 app/assets/stylesheets/sass/elements/title.sass
bulma-rails-0.5.2 app/assets/stylesheets/sass/elements/title.sass
bulma-rails-0.5.1 app/assets/stylesheets/sass/elements/title.sass