yannstatic/_sass/layout/_article.scss

30 lines
666 B
SCSS
Raw Permalink Normal View History

2024-10-31 20:18:37 +01:00
.article__sharing {
margin: map-get($spacers, 4) 0;
}
.article__section-navigator {
padding-top: map-get($spacers, 3);
margin: map-get($spacers, 4) 0 map-get($spacers, 3) 0;
word-wrap: break-word;
@include split-line(top, 4px);
& > .previous, & > .next {
width: 50%;
& > span {
font-weight: map-get($base, font-weight-bold);
color: $text-color-l;
}
& > a {
display: block;
@include link-colors($text-color, $main-color-1);
}
}
& > .previous {
float: left;
padding-right: map-get($spacers, 2);
}
& > .next {
float: right;
padding-left: map-get($spacers, 2);
text-align: right;
}
}