X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/d019a9b5e928dcf777852d0c8d5413fd3d69b4dd..a98d18bc92d7d28d54c0cc1c1a636c9d79e6a648:/src/wolnelektury/static/2022/styles/components/_media.scss?ds=inline diff --git a/src/wolnelektury/static/2022/styles/components/_media.scss b/src/wolnelektury/static/2022/styles/components/_media.scss index 520654ddb..576174be9 100644 --- a/src/wolnelektury/static/2022/styles/components/_media.scss +++ b/src/wolnelektury/static/2022/styles/components/_media.scss @@ -1,9 +1,17 @@ .c-media { - margin: 0 auto; + margin: 0 auto; + + .only-s { + .l-button--fav { + margin-top: -10px; + } + } } .c-media__actions { - display: flex; + display: flex; + column-gap: 38px; + row-gap: 10px; } .c-media__btn { @@ -11,9 +19,9 @@ text-align: center; align-items: center; - &:nth-child(1) { padding-right: 19px; } - &:nth-child(2) { padding-left: 19px; padding-right: 19px; } - &:nth-child(3) { padding-left: 19px; } + //&:nth-child(1) { padding-right: 19px; } + //&:nth-child(2) { padding-left: 19px; padding-right: 19px; } + //&:nth-child(3) { padding-left: 19px; } .l-button { width: 100%; @@ -42,16 +50,11 @@ background: #F2F2F2; padding: 15px 24px; border-radius: 0 0 5px 5px; - max-width: 830px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; - .project-logo { - padding-left: 35px; - } - .icons {} .content { padding-left: 35px; @@ -80,12 +83,14 @@ z-index: 10; top: 0; left: 0; - width: 100%; height: 100%; - align-items: center; + align-items: flex-start; justify-content: center; background-color: rgba($color-black, 0.35); display: none; + overflow-y: scroll; + padding: 10vh 40px 40px 40px; + width: 100%; &.is-open { display: flex; @@ -219,3 +224,7 @@ opacity: 1; } } + +.book-cover-small img { + max-width: calc((100vw - 3 * 16px) / 2); +}