mirror of
https://github.com/standardebooks/web.git
synced 2025-07-20 13:24:48 -04:00
Made ellipses appear only when there are pages between the current page and the start or end.
This commit is contained in:
parent
63c86973ed
commit
5c59facd54
1 changed files with 5 additions and 1 deletions
|
@ -1484,8 +1484,12 @@ main.ebooks nav ol li.highlighted::after{
|
||||||
|
|
||||||
article nav ol li.highlighted:first-child::before,
|
article nav ol li.highlighted:first-child::before,
|
||||||
article nav ol li.highlighted:last-child::after,
|
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: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;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue