summaryrefslogtreecommitdiff
path: root/design/sass/_pagination.scss
diff options
context:
space:
mode:
Diffstat (limited to 'design/sass/_pagination.scss')
-rw-r--r--design/sass/_pagination.scss44
1 files changed, 44 insertions, 0 deletions
diff --git a/design/sass/_pagination.scss b/design/sass/_pagination.scss
new file mode 100644
index 0000000..404aeb7
--- /dev/null
+++ b/design/sass/_pagination.scss
@@ -0,0 +1,44 @@
+.pagination {
+ @include generic_sans;
+ margin-top: 2em;
+ margin-bottom: 2em;
+ font-weight: 400;
+ line-height: 2.3;
+ li {
+ display: inline;
+ }
+ a {
+ text-decoration: none;
+ border: 1px solid lighten($body_font, 30);
+ color: lighten($body_font, 20);
+ padding: 9px 6px 6px 6px;
+ margin-left: .25em;
+ margin-right: .25em;
+ }
+ .prev {
+ border: none;
+ &:before {
+ content: "\2190";
+ }
+ }
+ .next {
+ border: none;
+ &:after {
+ content: "\2192";
+ margin-left: .35em;
+ }
+ }
+ @include breakpoint(beta) {
+ .prev {
+ margin-right: 2em;
+ }
+ .next {
+ margin-left: 2em;
+ }
+ .current {
+ color: $link_color;
+ margin-right: .5em;
+ margin-left: .5em;
+ }
+ }
+}