X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/891c65c58eef499c1ffc3a5fe690e1b6bff0f0db..b0fadf2591f3af957c1c8e0307d0bcef9e9f8538:/src/wolnelektury/static/2022/styles/layout/_books.scss diff --git a/src/wolnelektury/static/2022/styles/layout/_books.scss b/src/wolnelektury/static/2022/styles/layout/_books.scss index e08a4aa95..cdffc6430 100644 --- a/src/wolnelektury/static/2022/styles/layout/_books.scss +++ b/src/wolnelektury/static/2022/styles/layout/_books.scss @@ -29,10 +29,7 @@ box-shadow: 0 4px 10px rgba(0, 0, 0, 0); transition: all $ease-dynamic 350ms; outline: 0; - - @include rwd(tablet) { - padding: 16px; - } + margin: 5px; &.l-books__item--placeholder { opacity: 0; @@ -43,15 +40,6 @@ outline: 0; } - &:not(:last-child) { - margin-right: 17px; - - @include rwd(tablet) { - margin-right: 5px; - margin-left: 5px; - } - } - &:hover { box-shadow: 0 4px 10px rgba(0, 0, 0, 0.25); } @@ -88,8 +76,10 @@ } a { + color: currentColor; &:hover { - text-decoration: underline; + text-decoration: underline; + color: $color-primary; } } @@ -107,6 +97,9 @@ color: #808080; margin: 0; } + .other-info { + display: none; + } } .l-books__item__img { @@ -114,11 +107,7 @@ margin: 0 0 11px; img { - max-width: 170px; - - @include rwd(tablet) { - max-width: 140px; - } + width: 100%; } } @@ -293,4 +282,4 @@ line-height: 150%; color: #007880; } -} \ No newline at end of file +}