Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/yihui/hugo-xmag.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYihui Xie <xie@yihui.name>2017-07-14 23:44:28 +0300
committerYihui Xie <xie@yihui.name>2017-07-14 23:44:28 +0300
commite86b8810fcee52bd16a116078d5f90acee91d339 (patch)
tree2bea037e80d4d3233872bc34663e7e0a1bea952e
parent1db88e1009840c11942877766f308887c6cb35f5 (diff)
simplify post navigation css
-rw-r--r--static/css/style.css11
1 files changed, 4 insertions, 7 deletions
diff --git a/static/css/style.css b/static/css/style.css
index 58134d7..375cd24 100644
--- a/static/css/style.css
+++ b/static/css/style.css
@@ -157,14 +157,11 @@ tr:nth-child(even) { background: #eee }
font-size: 1.2em;
}
.terms { padding-left: 0; }
-.post-nav { margin: .5em 0; }
-.post-nav span {
- display: inline-block;
- vertical-align: top;
+.post-nav {
+ margin: .5em 0;
+ display: flex;
+ justify-content: space-between;
}
-.post-nav .nav-prev, .post-nav .nav-next { width: calc(50% - 1em); }
-.nav-prev { text-align: right; }
-.nav-next { text-align: left; }
.footnotes { font-size: .9em; }
.footnotes hr {
width: 50%;