hacker.tours-website/themes/zen/assets/sass/components/divider/_divider.scss

17 lines
341 B
SCSS
Raw Normal View History

2024-06-13 22:14:05 +02:00
// Divider
//
// Can be used as an `<hr>`, an empty `<div>` or as a container.
.divider,
%divider {
// Add vertical rhythm margins.
@include margin-block(1);
border: 0;
border-top: 1px solid var(--color-border);
// If used as a container, add a top margin to the first child.
> :first-child {
@include margin-top(1);
}
}