_sass/grid/tiles.sass in jekyll-bulma-0.2 vs _sass/grid/tiles.sass in jekyll-bulma-0.8
- old
+ new
@@ -1,24 +1,26 @@
+$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: -0.75rem
- margin-right: -0.75rem
- margin-top: -0.75rem
+ margin-left: $tile-spacing * -1
+ margin-right: $tile-spacing * -1
+ margin-top: $tile-spacing * -1
&:last-child
- margin-bottom: -0.75rem
+ margin-bottom: $tile-spacing * -1
&:not(:last-child)
- margin-bottom: 0.75rem
+ margin-bottom: $tile-spacing
&.is-child
margin: 0 !important
&.is-parent
- padding: 0.75rem
+ padding: $tile-spacing
&.is-vertical
flex-direction: column
& > .tile.is-child:not(:last-child)
margin-bottom: 1.5rem !important
// Responsiveness