Sha256: d60016bebe17f2cbb9504b3f24435739a7a38176c07842898f111f8b763e525e

Contents?: true

Size: 663 Bytes

Versions: 7

Compression:

Stored size: 663 Bytes

Contents

.card-image
  display: block
  position: relative
  img
    display: block
  &.is-square,
  &.is-4x3,
  &.is-3x2
    img
      +overlay
      height: 100%
      width: 100%
  &.is-square
    padding-top: 100%
  &.is-4x3
    padding-top: 75%
  &.is-3x2
    padding-top: 66.6666%

.card-content
  padding: 20px
  .title + .subtitle
    margin-top: -20px

.card-footer
  background: $background
  display: block
  padding: 10px

.card
  background: white
  box-shadow: 0 2px 3px rgba(black, 0.1), 0 0 0 1px rgba(black, 0.1)
  max-width: 100%
  position: relative
  width: 300px
  .media:not(:last-child)
    margin-bottom: 10px
  &.is-rounded
    border-radius: 5px

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bulma-rails-0.0.15 app/assets/stylesheets/bulma/components/card.sass
bulma-rails-0.0.14 app/assets/stylesheets/bulma/components/card.sass
bulma-rails-0.0.12 app/assets/stylesheets/bulma/components/card.sass
bulma-rails-0.0.11 app/assets/stylesheets/bulma/components/card.sass
bulma-rails-0.0.10 app/assets/stylesheets/bulma/components/card.sass
bulma-rails-0.0.8 app/assets/stylesheets/bulma/components/card.sass
bulma-rails-0.0.4.1 app/assets/stylesheets/bulma/components/card.sass