File: D:/HostingSpaces/SBogers10/ste.komma.pro/resources/sass/4-Layouts/_layouts.block.scss
.l-block {
margin-bottom: space(10);
// Top margin only on consecutive blocks
& + & {
margin-top: space(10);
}
}
.l-block--rounded-corner-bl {
position: relative;
margin-bottom: 0;
padding-bottom: space(6);
&::before,
&::after {
content: '';
position: absolute;
z-index: -1;
left: 0;
bottom: space(-10);
width: map-get($border-radius, xl);
height: map-get($border-radius, xl);
background-color: palette(primary, 100);
}
&::after {
background-color: palette(neutral, 0);
border-bottom-left-radius: map-get($border-radius, xl);
}
@include mq(1060) {
&::before,
&::after {
width: map-get($border-radius, xxl);
height: map-get($border-radius, xxl);
}
&::after {
border-bottom-left-radius: map-get($border-radius, xxl);
}
}
}