Style the list and article paginators
* Remove the list item bullets * Style the list items with "space between" so they will spread evenlymaster
parent
3a187409f4
commit
831b32fcdb
|
@ -1,4 +1,4 @@
|
|||
<nav>
|
||||
<nav class="paginator">
|
||||
<ul>
|
||||
<li>
|
||||
{{if .HasPrev}}
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
{{ if not .Params.Menu }}
|
||||
<nav>
|
||||
<nav class="paginator">
|
||||
<ul>
|
||||
<li>
|
||||
{{ if .NextInSection }}
|
||||
|
|
|
@ -20,3 +20,11 @@ nav.site-menu ul {
|
|||
nav.site-menu ul li {
|
||||
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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue