123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164 |
- @import "../components/navigation/navigation-top";
- @import "../components/navigation/social-menu";
- @import "../components/navigation/navigation-fixed";
- .comment-navigation,
- .posts-navigation,
- .post-navigation {
- align-items: flex-start;
- border-top: 1px solid $color__border-transparent;
- clear: both;
- display: flex;
- flex-wrap: wrap;
- overflow: hidden;
- padding: ($baseline * 1.5) 0 ($baseline * 1.5);
- position: relative;
- z-index: 3;
- .screen-reader-text {
- @include show-screen-reader-text();
- @include widget-title();
- color: $color__link-hover;
- margin: 0 0 ($baseline * .5);
- padding: 0 ($gutter / 2);
- width: 100%;
- flex: 1 1 100%;
- }
- .nav-links {
- flex: 2 1 calc((100% / 8) * 6);
- a {
- display: block;
- padding: 0 ($gutter / 2);
- }
- }
- .nav-previous,
- .nav-next {
- @include nav-title();
- }
- .nav-previous {
- float: left;
- width: 50%;
- }
- .nav-next {
- float: right;
- width: 50%;
- }
- .meta-nav {
- @include list-item();
- color: #CCC;
- display: block;
- font-family: $font__main;
- font-style: normal;
- }
- }
- .comment-navigation {
- border-top: 1px solid $color__border-transparent;
- margin: 0;
- padding-left: 0;
- padding-right: 0;
- width: 100%;
- }
- @include breakpoint( mobileonly ) {
- .post-navigation, {
- .nav-previous,
- .nav-next {
- float: none;
- width: 100%;
- }
- .nav-links .nav-previous + .nav-next {
- margin-top: $mobile-baseline;
- }
- }
- .comment-navigation {
- border-bottom: 1px solid $color__border-transparent;
- margin: 0 0 ( $baseline * 1.5 );
- .screen-reader-text {
- display: none;
- }
- }
- .posts-navigation {
- border-top: none;
- .screen-reader-text {
- display: none;
- }
- }
- }
- @include breakpoint( tabletonly ) {
- .posts-navigation {
- .screen-reader-text {
- display: none;
- }
- }
- .comment-navigation {
- border-bottom: 1px solid $color__border-transparent;
- }
- }
- @include breakpoint( tablet ) {
- .comment-navigation,
- .post-navigation {
- padding: ($baseline * 1.5) 0 ($baseline * 1.5);
- .screen-reader-text {
- margin: 0;
- padding: 0 ($gutter / 2);
- flex: 1 1 calc((100% / 8) * 2);
- }
- }
- .posts-navigation {
- padding: ($baseline * 1.5) 0 ($baseline * 1.5);
- .screen-reader-text {
- margin: 0;
- padding: 0 ($gutter / 2);
- flex: 1 1 calc((100% / 8) * 2);
- }
- }
- .comment-navigation {
- padding: ($baseline * 1.5) 0 ($baseline * 1.5);
- }
- }
|