From dceaae82a3538f3c711051f510620822afb3fd8a Mon Sep 17 00:00:00 2001 From: Michael Rose Date: Thu, 27 Jun 2013 16:08:25 -0400 Subject: [PATCH] Add post pagination links and padding to Disqus comments. Resolves #7 --- _layouts/post.html | 8 ++++++++ assets/css/main.css | 2 ++ assets/less/page.less | 8 ++++++++ 3 files changed, 18 insertions(+) diff --git a/_layouts/post.html b/_layouts/post.html index 369b513..21ba634 100644 --- a/_layouts/post.html +++ b/_layouts/post.html @@ -32,6 +32,14 @@ {% if page.comments %}
{% endif %} + diff --git a/assets/css/main.css b/assets/css/main.css index 9f6ecfd..c115650 100644 --- a/assets/css/main.css +++ b/assets/css/main.css @@ -597,6 +597,8 @@ span+.entry-title{margin-top:0;} .entry-content{max-width:640px;width:100%;margin-right:auto;margin-left:auto;}.entry-content p:first-child{margin-top:0;} @media only screen and (min-width: 62.5em){.entry-content{float:left;}}.entry-content p>a,.entry-content li>a{border-bottom:1px dotted #b3b3b3;}.entry-content p>a:hover,.entry-content li>a:hover{border-bottom-style:solid;} .post-list li>a{border-bottom-width:0;} +.pagination{text-align:center;} +#disqus_thread{margin-top:2em;} #home .entry-title,#page .entry-title{text-align:center;max-width:100%;} @media only screen and (min-width: 62.5em){#home .entry-content,#page .entry-content{float:none;}} .post-list{margin:0;padding:0;list-style-type:none;}.post-list li{padding:8px 0;border-bottom:1px solid #cccccc;border-bottom:1px solid rgba(0, 0, 0, 0.1);*zoom:1;}.post-list li:before,.post-list li:after{display:table;content:"";line-height:0;} diff --git a/assets/less/page.less b/assets/less/page.less index 329cd0a..59c6370 100644 --- a/assets/less/page.less +++ b/assets/less/page.less @@ -292,6 +292,14 @@ span + .entry-title { border-bottom-width: 0; } } +// Pagination +.pagination { + text-align: center; +} +// Disqus Comments +#disqus_thread { + margin-top: 2em; +} // Page layout #home, #page {