summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSkyArrow <tommy351@gmail.com>2012-01-24 18:14:17 +0100
committerSkyArrow <tommy351@gmail.com>2012-01-24 18:14:17 +0100
commit3780bd9f5f1978a85c1adb3a113f2eb0c6e8954b (patch)
treea5926ef5d38757f76fab54f52ffdd3b52a30f777
parent3e2c0885ac494bab9778a8b48ed0e7788a6c3ece (diff)
downloadoctopress-theme-jeyzu-3780bd9f5f1978a85c1adb3a113f2eb0c6e8954b.zip
octopress-theme-jeyzu-3780bd9f5f1978a85c1adb3a113f2eb0c6e8954b.tar.gz
navigation
-rw-r--r--sass/parts/_index.scss30
-rw-r--r--source/images/back.pngbin0 -> 1420 bytes
-rw-r--r--source/images/more.pngbin1434 -> 1416 bytes
-rw-r--r--source/index.html1
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
new file mode 100644
index 0000000..bbc0aeb
--- /dev/null
+++ b/source/images/back.png
Binary files differ
diff --git a/source/images/more.png b/source/images/more.png
index eec6c26..f24a957 100644
--- a/source/images/more.png
+++ b/source/images/more.png
Binary files differ
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