summaryrefslogtreecommitdiff
path: root/public/css/_sass/grid/tiles.sass
diff options
context:
space:
mode:
authorAdam Carpenter <gitlab@53hor.net>2019-10-26 15:33:52 -0400
committerAdam Carpenter <gitlab@53hor.net>2019-10-26 15:33:52 -0400
commit3be4959623190f0bb6d880fe1fc2a9c187c4171e (patch)
tree0e0007d1b3953b0c209b526ffd20583412ed28be /public/css/_sass/grid/tiles.sass
parent92f4799f50c94f2de1d3d94b0fb20ff6d93614eb (diff)
downloadcobalt-site-3be4959623190f0bb6d880fe1fc2a9c187c4171e.tar.xz
cobalt-site-3be4959623190f0bb6d880fe1fc2a9c187c4171e.zip
Updated Bulma!
Diffstat (limited to 'public/css/_sass/grid/tiles.sass')
-rw-r--r--public/css/_sass/grid/tiles.sass14
1 files changed, 8 insertions, 6 deletions
diff --git a/public/css/_sass/grid/tiles.sass b/public/css/_sass/grid/tiles.sass
index 1f6a626..15648c2 100644
--- a/public/css/_sass/grid/tiles.sass
+++ b/public/css/_sass/grid/tiles.sass
@@ -1,3 +1,5 @@
+$tile-spacing: 0.75rem !default
+
.tile
align-items: stretch
display: block
@@ -7,17 +9,17 @@
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)