diff options
-rw-r--r-- | sass/parts/_index.scss | 30 | ||||
-rw-r--r-- | source/images/back.png | bin | 0 -> 1420 bytes | |||
-rw-r--r-- | source/images/more.png | bin | 1434 -> 1416 bytes | |||
-rw-r--r-- | source/index.html | 1 |
4 files changed, 30 insertions, 1 deletions
diff --git a/sass/parts/_index.scss b/sass/parts/_index.scss index 2d90e17..e20323b 100644 --- a/sass/parts/_index.scss +++ b/sass/parts/_index.scss @@ -1,2 +1,30 @@ -#content{ +#pagenavi{ + padding: 20px 0; + height: 20px; + line-height: 20px; + position: relative; + @include border-shadow(); + a{ + &:hover{ + text-decoration: underline; + } + } + .prev, .next{ + position: absolute; + } + .prev{ + background: image-url('back.png') 0 center no-repeat; + padding-left: 30px; + left: 0; + } + .next{ + background: image-url('more.png') right center no-repeat; + padding-right: 30px; + right: 0; + } + .center{ + text-align: center; + width: 100%; + display: block; + } }
\ No newline at end of file diff --git a/source/images/back.png b/source/images/back.png Binary files differnew file mode 100644 index 0000000..bbc0aeb --- /dev/null +++ b/source/images/back.png diff --git a/source/images/more.png b/source/images/more.png Binary files differindex eec6c26..f24a957 100644 --- a/source/images/more.png +++ b/source/images/more.png diff --git a/source/index.html b/source/index.html index df4533d..fdf16e1 100644 --- a/source/index.html +++ b/source/index.html @@ -14,4 +14,5 @@ layout: default {% if paginator.next_page %} <a href="{{paginator.next_page}}" class="next">下一頁</a> {% endif %} + <a href="{{ root_url }}/blog/archives" class="center">文章彙整</a> </nav>
\ No newline at end of file |