mirror of
https://git.adityakumar.xyz/hugo-theme-introduction.git
synced 2024-11-14 17:09:45 +00:00
ecb89b781b
* Remove extra font files * Update hard-coded variables * Upgrade Bulma to v0.9.0
34 lines
777 B
Sass
Generated
34 lines
777 B
Sass
Generated
$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: ($i / 12) * 100%
|