From 3780bd9f5f1978a85c1adb3a113f2eb0c6e8954b Mon Sep 17 00:00:00 2001 From: SkyArrow Date: Wed, 25 Jan 2012 01:14:17 +0800 Subject: navigation --- sass/parts/_index.scss | 30 +++++++++++++++++++++++++++++- source/images/back.png | Bin 0 -> 1420 bytes source/images/more.png | Bin 1434 -> 1416 bytes source/index.html | 1 + 4 files changed, 30 insertions(+), 1 deletion(-) create mode 100644 source/images/back.png 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 Binary files /dev/null and b/source/images/back.png differ diff --git a/source/images/more.png b/source/images/more.png index eec6c26..f24a957 100644 Binary files a/source/images/more.png and b/source/images/more.png 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 %} {% endif %} + 文章彙整 \ No newline at end of file -- cgit v1.1-2-g2b99