From 3f7a67f386956862904a647800e4945a5d8735a7 Mon Sep 17 00:00:00 2001 From: Phil Bajsicki Date: Sun, 8 Dec 2024 03:17:31 +0100 Subject: [PATCH] Pagination centered? --- assets/scss/general.scss | 3 ++- assets/scss/tufte.scss | 5 +---- layouts/index.html | 4 ++++ 3 files changed, 7 insertions(+), 5 deletions(-) diff --git a/assets/scss/general.scss b/assets/scss/general.scss index 33f134e..a20527b 100644 --- a/assets/scss/general.scss +++ b/assets/scss/general.scss @@ -121,8 +121,9 @@ table.lntable { // Styling for the page numbers/ buttons on the bottom of the home page -.previous-page, .next-page, .pagination-indicator { +.pagination { font-size: 1.5em; + margin: auto; } /* ------------------------------------------------------------------------ */ diff --git a/assets/scss/tufte.scss b/assets/scss/tufte.scss index e6dee39..38ba833 100644 --- a/assets/scss/tufte.scss +++ b/assets/scss/tufte.scss @@ -396,10 +396,7 @@ div.booktabs-wrapper { width: 50%; } -footer, -previous-page, -pagination-indicator, -next-page { +footer { width: 50%; margin: auto; } diff --git a/layouts/index.html b/layouts/index.html index 87e5041..802541c 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -33,6 +33,8 @@ {{ if and (.Paginator) (gt .Paginator.TotalPages 1) }}
+ + {{ end }} {{ partial "footer.html" . }}