X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/3be2da7359a9e68a577aa28a6a9d2ff0d3e0d8e4..689dab7f9aab019f0419133043bf02efcf469c93:/src/wolnelektury/static/scss/main/catalogue.scss diff --git a/src/wolnelektury/static/scss/main/catalogue.scss b/src/wolnelektury/static/scss/main/catalogue.scss index ba30e8271..29cc4af14 100644 --- a/src/wolnelektury/static/scss/main/catalogue.scss +++ b/src/wolnelektury/static/scss/main/catalogue.scss @@ -27,3 +27,29 @@ @include size(padding, 26px); } } + + +.collection-box { + display: inline-block; + vertical-align: top; + + @media screen and (min-width:500px) { + width: 465px; + } + + .description { + margin: 15px 0; + + @media screen and (min-width:500px) { + height: 75px; + overflow: hidden; + } + + p { + margin: 0 0 15px 0; + } + } + .covers { + line-height: 0; + } +}