From ec27bdbf64751cf59d95dfa13086f506f7a8cda0 Mon Sep 17 00:00:00 2001 From: Hanju Jo Date: Sat, 7 Oct 2017 02:52:01 +0900 Subject: [PATCH] Post paginator --- _layouts/post.html | 25 +++++++++++++++++++++++++ style.scss | 8 ++++++++ 2 files changed, 33 insertions(+) diff --git a/_layouts/post.html b/_layouts/post.html index d27c48066a7..de34c484f93 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -13,5 +13,30 @@

{{ page.title }}

Written on {{ page.date | date: "%B %e, %Y" }} + + {% include disqus.html %} diff --git a/style.scss b/style.scss index d98cc86500a..6e86c83192d 100644 --- a/style.scss +++ b/style.scss @@ -432,9 +432,15 @@ nav { .pagination { font-weight: 300; padding: 2em 0; + display: block; + + @include mobile { + font-size: $small-font-size; + } > .prev { float: left; + width: 50%; a { color: $pagination-color; &:hover, &:focus { @@ -445,6 +451,8 @@ nav { > .next { float: right; + text-align: right; + width: 50%; a { color: $pagination-color; &:hover, &:focus {