Skip to content
Snippets Groups Projects
Commit 7bfd62e1 authored by Arnaud Levy's avatar Arnaud Levy
Browse files

Fix chapter

parent fb2c58a1
No related branches found
No related tags found
No related merge requests found
......@@ -31,27 +31,27 @@
a
@include link($block-chapter-layout-accent-color)
&--alt_background, &--accent_background
&--alt_background,
&--accent_background
margin-bottom: 0
+ .block-chapter--alt_background, + .block-chapter--accent_background
+ .block-chapter--alt_background,
+ .block-chapter--accent_background
margin-top: 0
@include media-breakpoint-down(desktop)
&--alt_background, &--accent_background
&--alt_background,
&--accent_background
padding-top: var(--grid-gutter)
padding-bottom: var(--grid-gutter)
&--with-image
&.block-chapter--alt_background, &.block-chapter--accent_background
padding-top: half(var(--grid-gutter))
@include in-page-with-sidebar
figure
max-width: columns(6)
&.image-portrait,
&.image-square
max-width: columns(4)
&--alt_background, &--accent_background
&--alt_background,
&--accent_background
background: none
padding-bottom: 0
padding-top: 0
......@@ -61,15 +61,16 @@
margin-bottom: 0
figcaption
padding-left: var(--grid-gutter)
&--alt_background
.chapter
background: $block-chapter-layout-alt-background
&--accent_background
.chapter
background: $block-chapter-layout-accent-background
@include in-page-without-sidebar
&--alt_background, &--accent_background
&--alt_background,
&--accent_background
padding-top: var(--grid-gutter)
padding-bottom: var(--grid-gutter)
margin-bottom: 0
......
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