Skip to content

Commit

Permalink
11_09
Browse files Browse the repository at this point in the history
  • Loading branch information
mor10 committed Dec 15, 2016
1 parent a11b6c0 commit b3092ad
Show file tree
Hide file tree
Showing 4 changed files with 75 additions and 4 deletions.
8 changes: 6 additions & 2 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,12 @@

endwhile;

the_posts_navigation();

the_posts_pagination( array(
'prev_text' => __( 'Older', 'humescores' ),
'next_text' => __( 'Newer', 'humescores' ),
'before_page_number' => '<span class="screen-reader-text">' . __( 'Page', 'humescores' ) . '</span>',
));

else :

get_template_part( 'template-parts/content', 'none' );
Expand Down
2 changes: 1 addition & 1 deletion sass/maps/style.css.map

Large diffs are not rendered by default.

34 changes: 33 additions & 1 deletion sass/navigation/_content-navigation.scss
Original file line number Diff line number Diff line change
Expand Up @@ -90,4 +90,36 @@
border-bottom-color: white;
}

}
}

.pagination {

font-family: $font__sans;

.nav-links {
display: flex;
justify-content: center;
flex-wrap: wrap;
}

a,
span {
padding: .5em 1em;
background: white;
}

a {
text-decoration: none;

&:focus,
&:hover {
color: white;
background: $color__interactive;
}
}

.current {
font-weight: 600;
color: $color__interactive;
}
}
35 changes: 35 additions & 0 deletions style.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b3092ad

Please sign in to comment.