Improve style

This commit is contained in:
Danang Probo Sayekti 2015-07-30 11:57:38 +07:00
commit 3aed148d5c
3 changed files with 7 additions and 3 deletions

View file

@ -429,6 +429,7 @@ iframe {
}
.pager {
margin-top:30px;
margin-bottom: 0px;
}
/* share section */
@ -584,7 +585,10 @@ ul.month {
}
.main-nav .navbar-toggle, #navbar {
float:none!important;
text-align:Center;
text-align: center;
}
.pager {
margin-bottom: 30px;
}
}
/* Small devices (tablets, 768px and up) */

View file

@ -73,7 +73,7 @@
</section><!--//section-->
<?php endforeach; ?>
<?php if (!empty($pagination['prev']) || !empty($pagination['next'])): ?>
<div class="pager" style="margin-bottom:0;">
<div class="pager">
<?php if (!empty($pagination['prev'])): ?>
<span class="newer pull-left"><a class="btn btn-cta-secondary" href="?page=<?php echo $page - 1 ?>" rel="prev">Newer</a></span>
<?php endif; ?>

View file

@ -29,7 +29,7 @@
<?php endforeach; ?>
</ul>
<?php if (!empty($pagination['prev']) || !empty($pagination['next'])): ?>
<div class="pager" style="margin-bottom:0;">
<div class="pager">
<?php if (!empty($pagination['prev'])): ?>
<span class="newer pull-left"><a class="btn btn-cta-secondary" href="?page=<?php echo $page - 1 ?>" rel="prev">Newer</a></span>
<?php endif; ?>