From e86b8810fcee52bd16a116078d5f90acee91d339 Mon Sep 17 00:00:00 2001 From: Yihui Xie Date: Fri, 14 Jul 2017 15:44:28 -0500 Subject: simplify post navigation css --- static/css/style.css | 11 ++++------- 1 file 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%; -- cgit v1.2.3