diff options
author | Chris Concannon <cc@Chriss-MacBook-Pro.local> | 2020-05-18 04:54:51 +0300 |
---|---|---|
committer | Chris Concannon <cc@Chriss-MacBook-Pro.local> | 2020-05-18 04:54:51 +0300 |
commit | f014b9eb2e1dea9358ee3c3cdff589f9f64c94f0 (patch) | |
tree | 9563a328edf4c5d51725eca1f804a838565359e7 | |
parent | 0ee31aea08b84b8ccd798e70673545485f49e740 (diff) |
limit width of bottom nav links and fix justification
-rw-r--r-- | layouts/_default/single.html | 4 | ||||
-rw-r--r-- | layouts/partials/styles.html | 2 |
2 files changed, 4 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index b47b8f4..d20c4f8 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -15,10 +15,10 @@ <div id=links> {{ if .PrevInSection }} - <a class="basic-alignment left" href="{{.PrevInSection.Permalink}}">« {{.PrevInSection.Title}}</a> + <a class="left-justify" href="{{.PrevInSection.Permalink}}">« {{.PrevInSection.Title}}</a> {{ end }} {{ if .NextInSection }} - <a class="basic-alignment left" href="{{.NextInSection.Permalink}}">{{.NextInSection.Title}} »</a> + <a class="right-justify" href="{{.NextInSection.Permalink}}">{{.NextInSection.Title}} »</a> {{ end }} </div> </section> diff --git a/layouts/partials/styles.html b/layouts/partials/styles.html index bcea6b8..8647880 100644 --- a/layouts/partials/styles.html +++ b/layouts/partials/styles.html @@ -35,10 +35,12 @@ .left-justify { float: left; + width: 45%; } .right-justify { float:right; + width: 45%; } pre, code { |