Style the list and article paginators

* Remove the list item bullets
* Style the list items with "space between" so they will spread evenly
master
Kevin C. Coram 2019-12-09 21:35:56 -05:00
parent 3a187409f4
commit 831b32fcdb
Signed by: kevin
GPG Key ID: 0342351B3D61AD35
3 changed files with 11 additions and 3 deletions

View File

@ -1,4 +1,4 @@
<nav> <nav class="paginator">
<ul> <ul>
<li> <li>
{{if .HasPrev}} {{if .HasPrev}}

View File

@ -1,5 +1,5 @@
{{ if not .Params.Menu }} {{ if not .Params.Menu }}
<nav> <nav class="paginator">
<ul> <ul>
<li> <li>
{{ if .NextInSection }} {{ if .NextInSection }}

View File

@ -19,4 +19,12 @@ nav.site-menu ul {
nav.site-menu ul li { nav.site-menu ul li {
padding: 0.5em 0.5em 0.5em 0.5em; padding: 0.5em 0.5em 0.5em 0.5em;
} }
nav.paginator ul {
display: flex;
justify-content: space-between;
list-style-type: none;
padding-inline-start: 1em;
padding-inline-end: 1em;
}