X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/f546d1dd07dd4d86e1dcde26a1b02f0ffe783f7c..0a7090f11131631647db366ff87976407e788412:/src/wolnelektury/static/2022/styles/components/_collectionbox.scss diff --git a/src/wolnelektury/static/2022/styles/components/_collectionbox.scss b/src/wolnelektury/static/2022/styles/components/_collectionbox.scss new file mode 100644 index 000000000..5cf7dcb8a --- /dev/null +++ b/src/wolnelektury/static/2022/styles/components/_collectionbox.scss @@ -0,0 +1,22 @@ +.c-collectionbox { + border: 1px solid #D9D9D9; + border-radius: 10px; + padding: 21px; + width: 3*172px + 2*21px + 2px; + font-size: 18px; + line-height: 24px; + + a { + display: block; + } + .c-collectionbox-covers { + display: flex; + margin-bottom: 15px; + img { + width: 172px; + @media screen and (max-width: 3*172px + 2*21px + 2px + 2*16px) { + width: calc((100vw - 2*16px - 2px - 2*21px) / 3); + } + } + } +}