From 995ab8c640d2ed1e643cdb2838f303ed9c8f0b26 Mon Sep 17 00:00:00 2001 From: Aaron van Geffen Date: Sat, 11 Nov 2023 15:44:49 +0100 Subject: [PATCH] PageIndexWidget: add shadow to floating page indices --- public/css/default.css | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/public/css/default.css b/public/css/default.css index 7470bc08..7516cd4c 100644 --- a/public/css/default.css +++ b/public/css/default.css @@ -72,9 +72,12 @@ a:hover { color: #ddd; } +.pagination .page-item { + box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3); +} + @media (max-width: 767px) { .pagination { - box-shadow: none; height: 52px; display: block; position: relative; @@ -86,7 +89,6 @@ a:hover { border-radius: var(--bs-pagination-border-radius) !important; } .pagination > :first-child, .pagination > :last-child { - box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3); display: inline-block; position: absolute; } @@ -220,6 +222,9 @@ i.nyan-cat { font-family: 'Coda', sans-serif; margin-bottom: 0.5em; } +.content-box .pagination .page-item { + box-shadow: none; +} /* Album and photo index pages