Skip to content
Snippets Groups Projects
Unverified Commit 82d4d70f authored by Alexis BENOIT's avatar Alexis BENOIT Committed by GitHub
Browse files

Merge pull request #214 from noesya/block-spacing-config

create variable to handle block spacings
parents ada3edbf ced6d22c
No related branches found
No related tags found
No related merge requests found
......@@ -293,6 +293,8 @@ $table-body-size: $body-size !default
$table-body-size-desktop: $body-size-desktop !default
// BLOCKS
// Base
$block-space-y: $spacing3 !default
// Block call to action
$block-call-to-action-background: $color-accent !default
......
.block
margin-top: $spacing3
margin-bottom: $spacing3
margin-top: $block-space-y
margin-bottom: $block-space-y
.block-title
@include h5
.top
......
......@@ -7,4 +7,4 @@
@include in-page-without-sidebar
padding-top: 0
margin-top: $spacing3
\ No newline at end of file
margin-top: $block-space-y
\ No newline at end of file
......@@ -71,7 +71,7 @@
margin-top: 0
.block-content
@include grid(12, false, 0)
padding-top: $spacing3
padding-top: $block-space-y
padding-bottom: $spacing2
.top
grid-column: 1 / -1
......
......@@ -8,9 +8,12 @@ ul.categories
white-space: nowrap
&--grid
@include list-reset
@include grid(1)
@include grid(4, md)
display: flex
flex-direction: column
gap-y: $spacing1
@include grid(3, md)
@include grid(4, xxl)
.categories__term
main
padding-bottom: $spacing3
\ No newline at end of file
padding-bottom: $spacing3
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment