diff --git a/templates/EbookGrid.php b/templates/EbookGrid.php index 2a137142..1c19b7b4 100644 --- a/templates/EbookGrid.php +++ b/templates/EbookGrid.php @@ -17,13 +17,15 @@ $ebooks = $ebooks ?? []; GetCollectionPosition($collection) !== null){ ?> - GetCollectionPosition($collection) !== null){ ?> data-ordinal="GetCollectionPosition($collection) ?>"> - - CoverImage2xAvifUrl !== null){ ?> - - The cover for the Standard Ebooks edition of <?= Formatter::ToPlainText(strip_tags($ebook->TitleWithCreditsHtml)) ?> - - +
+ GetCollectionPosition($collection) !== null){ ?> data-ordinal="GetCollectionPosition($collection) ?>"> + + CoverImage2xAvifUrl !== null){ ?> + + The cover for the Standard Ebooks edition of <?= Formatter::ToPlainText(strip_tags($ebook->TitleWithCreditsHtml)) ?> + + +

Title) ?>

Authors as $author){ ?> diff --git a/www/css/core.css b/www/css/core.css index fc539ac4..10dde5b8 100644 --- a/www/css/core.css +++ b/www/css/core.css @@ -1236,11 +1236,11 @@ ol.ebooks-list.list > li + li { margin-top: 2rem; } -ol.ebooks-list.list > li > a{ +ol.ebooks-list.list > li .thumbnail-container{ grid-row: 1 / span 3; } -.opds ol.ebooks-list.list > li > a{ +.opds ol.ebooks-list.list > li .thumbnail-container{ grid-row: 1 / span 5; } @@ -1326,7 +1326,7 @@ ol.ebooks-list.list > li > p:nth-of-type(1) > a{ display: inline; } -ol.ebooks-list > li > a:first-child{ +ol.ebooks-list > li .thumbnail-container > a:first-child{ font-size: 0; /* for correct focus outline */ } @@ -1403,20 +1403,17 @@ ul.tags{ display: flex; justify-content: center; flex-wrap: wrap; - margin-top: .5rem; + gap: 1rem; + margin-top: 1rem; } .rss ul.tags{ justify-content: flex-start; - margin: 0; + margin: .5rem auto; } ul.tags li{ - margin: .5rem; -} - -ul.tags li:first-child{ - margin: .5rem; + margin: 0; } ul.tags li a, diff --git a/www/opds/style.php b/www/opds/style.php index fac6bedc..63897c29 100644 --- a/www/opds/style.php +++ b/www/opds/style.php @@ -33,16 +33,18 @@ print("\n")
  1. - - - - - The cover for the Standard Ebooks edition of Winnie-the-Pooh, by A. A. Milne - - - - - +

    @@ -68,7 +70,7 @@ print("\n")

    -

    Download

    +

    Read