X-Git-Url: https://git.mdrn.pl/wolnelektury.git/blobdiff_plain/349f8b311ecdf30a181b94a8c7747867bacca356..f3ee4c1bfbf4e3856268fa79c63465f591f3499e:/src/wolnelektury/static/2022/styles/components/_support.scss diff --git a/src/wolnelektury/static/2022/styles/components/_support.scss b/src/wolnelektury/static/2022/styles/components/_support.scss index cde1ba85e..413269849 100644 --- a/src/wolnelektury/static/2022/styles/components/_support.scss +++ b/src/wolnelektury/static/2022/styles/components/_support.scss @@ -1,49 +1,73 @@ +$green: #96C13D; +$teal: #007880; +$darkteal: #083F4D; + + .c-support { display: flex; + flex-direction: column-reverse; margin-top: 50px; - background: #96C13D; + background: $darkteal; border-radius: 15px; overflow: hidden; justify-content: center; - align-items: center; + align-items: stretch; + @include rwd($break-flow) { + flex-direction: row; + } + h2 { - margin: 0 auto; + margin: 0 auto 35px; font-style: italic; font-weight: 400; font-size: 34px; line-height: 47px; letter-spacing: -0.02em; color: #ffffff; + span { - color: #007880; + color: $green; } } - figure { - margin: 0; - font-size: 0; - position: relative; + div { + display: flex; + flex-direction: column; + justify-content: space-between; + padding: 20px 30px 30px; + } + + .bg { + flex-basis: 193px; + flex-grow: 0; + flex-shrink: 0; + background-image: url('/static/2022/images/dziecko.jpeg'); + background-size: cover; + background-position: 50% 20%; + + @include rwd($break-flow) { + flex-basis: 270px; + } } a { width: 100%; - margin: 40px auto 0; font-weight: 600; font-size: 22px; line-height: 28px; - color: #ffffff; + color: $darkteal; display: flex; align-items: center; justify-content: center; text-align: center; padding: 12px 22px 14px 28px; - background: #007880; + background: $color-yellow; border-radius: 5px; transition: all $ease-dynamic 350ms; &:hover { - background: $color-yellow; + background: $green; } } }