X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/528a34731579d8b81df43879f2b63c2754005a86..d8a368e376f9f50ff0e3714ef716df548e86bd7f:/src/wolnelektury/static/2022/styles/layout/_books.scss?ds=sidebyside diff --git a/src/wolnelektury/static/2022/styles/layout/_books.scss b/src/wolnelektury/static/2022/styles/layout/_books.scss index 70a6e315c..e08a4aa95 100644 --- a/src/wolnelektury/static/2022/styles/layout/_books.scss +++ b/src/wolnelektury/static/2022/styles/layout/_books.scss @@ -27,11 +27,29 @@ border-radius: 9px; padding: 21px; box-shadow: 0 4px 10px rgba(0, 0, 0, 0); - transition: all $ease-dynamic 350ms; + outline: 0; + + @include rwd(tablet) { + padding: 16px; + } + + &.l-books__item--placeholder { + opacity: 0; + visibility: hidden; + } + + & * { + outline: 0; + } &:not(:last-child) { margin-right: 17px; + + @include rwd(tablet) { + margin-right: 5px; + margin-left: 5px; + } } &:hover { @@ -97,6 +115,10 @@ img { max-width: 170px; + + @include rwd(tablet) { + max-width: 140px; + } } }