X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/592c9401b18118e01de250d44878b9289b138f9c..8db46b44b9824b66f10c1b8030b1bdb5a5cc9795:/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; + } } }