From 47cc68482f309b71d7e3f1b473fb43e48da50e70 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Sat, 23 Sep 2023 09:52:46 -0700 Subject: [PATCH] Styles for the Hugo internal pagination controls --- assets/styles/root/050_pagination.css | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 assets/styles/root/050_pagination.css diff --git a/assets/styles/root/050_pagination.css b/assets/styles/root/050_pagination.css new file mode 100644 index 0000000..d48d5de --- /dev/null +++ b/assets/styles/root/050_pagination.css @@ -0,0 +1,25 @@ +ul.pagination { + display: flex; + margin-inline: 0; + justify-content: center; +} + +ul.pagination > li { + list-style-type: none; +} + +.page-item.active a { + color: var(--text-color); +} + +.page-item.active a:hover { + text-decoration: none; +} + +.page-item.disabled a { + color: rgb(var(--mid-gray)); +} + +.page-item.disabled a:hover { + text-decoration: none; +}