diff --git a/static/skin/index.css b/static/skin/index.css index ff90b571..191a071b 100644 --- a/static/skin/index.css +++ b/static/skin/index.css @@ -231,6 +231,7 @@ position: relative; width: var(--tile-width); left: calc(0px - var(--tile-border-width)); + text-decoration: none; } .book__download > img { @@ -239,7 +240,6 @@ } .book__download > span { - text-decoration: none; position: relative; font-family: roboto; color: white; diff --git a/static/templates/no_js_library_page.html b/static/templates/no_js_library_page.html index cb747929..dd34a9b7 100644 --- a/static/templates/no_js_library_page.html +++ b/static/templates/no_js_library_page.html @@ -50,20 +50,11 @@ pointer-events: none; } - .book__link__wrapper { - grid-column: 1 / 3; - grid-row: 1 / 3; - } - - .book__link { - grid-row: 2 / 3; - } - .kiwixHomeBody__results { flex-basis: 100%; } - #book__title>a, .book__download a { + #book__title>a { text-decoration: none; all: unset; } @@ -117,25 +108,32 @@