Sha256: 60c9029e1a4f8c22a32260ab268697032b8454d0ca6f5a03a671780849aa6672

Contents?: true

Size: 851 Bytes

Versions: 3

Compression:

Stored size: 851 Bytes

Contents

@import "../utilities/mixins"

$tile-spacing: 0.75rem !default

.tile
  align-items: stretch
  display: block
  flex-basis: 0
  flex-grow: 1
  flex-shrink: 1
  min-height: min-content
  // Modifiers
  &.is-ancestor
    margin-left: $tile-spacing * -1
    margin-right: $tile-spacing * -1
    margin-top: $tile-spacing * -1
    &:last-child
      margin-bottom: $tile-spacing * -1
    &:not(:last-child)
      margin-bottom: $tile-spacing
  &.is-child
    margin: 0 !important
  &.is-parent
    padding: $tile-spacing
  &.is-vertical
    flex-direction: column
    & > .tile.is-child:not(:last-child)
      margin-bottom: 1.5rem !important
  // Responsiveness
  +tablet
    &:not(.is-child)
      display: flex
    @for $i from 1 through 12
      &.is-#{$i}
        flex: none
        width: (divide($i, 12)) * 100%

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
jekyll-theme-opentoolbox-2.0.2 node_modules/bulma/sass/grid/tiles.sass
jekyll-theme-opentoolbox-2.0.1 node_modules/bulma/sass/grid/tiles.sass
jekyll-theme-opentoolbox-2.0.0 node_modules/bulma/sass/grid/tiles.sass