From 5c59facd5462e024d8e8e33a867c4b2d26215680 Mon Sep 17 00:00:00 2001 From: mgbennet Date: Thu, 14 Mar 2019 23:15:28 -0700 Subject: [PATCH] Made ellipses appear only when there are pages between the current page and the start or end. --- www/css/core.css | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/www/css/core.css b/www/css/core.css index 6324ad0a..ab5aaee0 100644 --- a/www/css/core.css +++ b/www/css/core.css @@ -1484,8 +1484,12 @@ main.ebooks nav ol li.highlighted::after{ article nav ol li.highlighted:first-child::before, article nav ol li.highlighted:last-child::after, +article nav ol li.highlighted:nth-child(2)::before, +article nav ol li.highlighted:nth-last-child(2)::after, main.ebooks nav ol li.highlighted:first-child::before, -main.ebooks nav ol li.highlighted:last-child::after{ +main.ebooks nav ol li.highlighted:last-child::after, +main.ebooks nav ol li.highlighted:nth-child(2)::before, +main.ebooks nav ol li.highlighted:nth-last-child(2)::after{ display: none; }