1
1
mirror of https://github.com/primer/css.git synced 2024-12-23 22:24:11 +03:00
css/modules/primer-page-sections/lib/page-section.scss
2017-05-11 15:07:16 -04:00

19 lines
382 B
SCSS

// Styles for page sections
.page-section {
padding: $spacer-5 0;
margin-top: 0;
@include breakpoint(md) {
padding: $spacer-6 + $spacer-3 0;
}
}
// Adds a little extra headroom for sections linked to via in-page anchor links
.page-section-jumplink:target {
padding-top: ($spacer-6 * 2) + $spacer-5;
@include breakpoint(md) {
padding-top: $spacer-6 * 2;
}
}