Skip to content
Snippets Groups Projects
Commit b0b52f95 authored by alexisben's avatar alexisben
Browse files

handle specific sequence

parent a4cbb0d2
No related branches found
No related tags found
No related merge requests found
......@@ -12,9 +12,10 @@
@content
@mixin in-page-without-sidebar
main > .blocks &,
body.full-width &,
@content
@include media-breakpoint-up(desktop)
main > .blocks &,
body.full-width &,
@content
// Use this mixin to override with-aside or without-aside rules
@mixin in-page-with-or-without-sidebar
......
......@@ -10,9 +10,20 @@
.block-title.hidden + .description
margin-top: 0
.heading
@include in-page-without-sidebar
h2
width: col(8)
// Specific
$backgrounded_blocks: ".block-call_to_action, .block-chapter--accent_background, .block-chapter--alt_background, .block-timeline--horizontal, .block-pages--cards"
.blocks
.block:first-child
&:not(#{$backgrounded_blocks})
padding-top: 0
// Heading + block_cta + full-width
.heading + .block-call_to_action
margin-top: $spacing3
padding-top: 0
\ No newline at end of file
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