website/static/src/scss/_blocks.scss

31 lines
426 B
SCSS
Raw Normal View History

2022-06-28 21:59:38 +01:00
@mixin center-block {
width: $embed-width;
margin: 0 auto;
max-width: $embed-width;
min-width: $embed-width;
}
2022-06-27 20:40:55 +01:00
div.block-image {
figcaption {
font-size: 85%;
2022-06-28 21:59:38 +01:00
margin-top: 5px;
}
figure {
@include center-block;
2022-06-27 20:40:55 +01:00
}
}
2022-06-28 21:59:38 +01:00
.content > div[class^="block-"] {
&:not(:last-child) {
margin-bottom: $content-block-margin-bottom;
}
}
div.block-embed {
lite-youtube {
2022-06-28 21:59:38 +01:00
@include center-block;
}
}