From 2417f76783239c0332fb6f146b6268fa9ac75172 Mon Sep 17 00:00:00 2001 From: Volodymyr Date: Fri, 10 Nov 2023 16:32:36 +0100 Subject: [PATCH] add footer markup and styles --- src/css/footer.css | 117 ++++++++++++++++++++++++++++++++++++ src/partials/footer.html | 12 ++++ src/partials/rentblock.html | 0 3 files changed, 129 insertions(+) create mode 100644 src/partials/rentblock.html diff --git a/src/css/footer.css b/src/css/footer.css index e69de29..d90cc26 100644 --- a/src/css/footer.css +++ b/src/css/footer.css @@ -0,0 +1,117 @@ +.footer_section { + padding-top: 0; + padding-bottom: 0; +} +.footer_container { + border: 1.5px solid #111111; + border-radius: 8px; + border-radius: 8px; + padding-top: 13px; + padding-bottom: 14px; + height: 72px; + display: flex; + justify-content: center; + align-items: center; +} + +.footer_container_shop { + background-color: white; +} + +@media screen and (min-width: 768px) { + .footer_container_shop { + background-color: white; + } +} + +.shop { + position: absolute; + bottom: 0; + left: 50%; + transform: translateX(-50%); + width: 100%; +} + +.footer_wrapper { + text-align: center; + color: #202024; + font-size: 14px; + font-weight: 400; + line-height: 1.125; +} +@media screen and (min-width: 768px) { + .footer_wrapper { + font-size: 16px; + line-height: 1.2; + } +} + +/* .footer_icon { + fill: var(--color-blue-component); +} +.footer_icon:hover, +.footer_icon:focus { + fill: var(--color-yellow-componemt); +} */ + +.footer_text_left { + margin-bottom: 10px; +} + +@media screen and (min-width: 768px) { + .footer_text_left { + display: inline-block; + margin-bottom: 0px; + } +} + +.footer_text_right { + justify-content: center; + align-items: center; + display: inline-flex; + gap: 10px; +} + +/* .heart_beats { + -webkit-animation: heart-beats 3s infinite; + animation: heart-beats 2s infinite; +} + +@keyframes heart-beats { + 7% { + transform: scale(1.2); + } + 12% { + transform: scale(1.1); + } + 20% { + transform: scale(1.3); + } + 60% { + transform: scale(1); + } + 100% { + transform: scale(0.99); + } +} + +@-webkit-keyframes heart-beats { + 0% { + -webkit-transform: scale(1); + } + 7% { + -webkit-transform: scale(1.2); + } + 12% { + -webkit-transform: scale(1.1); + } + 20% { + -webkit-transform: scale(1.3); + } + 60% { + -webkit-transform: scale(1); + } + 100% { + -webkit-transform: scale(0.99); + } +} */ diff --git a/src/partials/footer.html b/src/partials/footer.html index e69de29..cd331db 100644 --- a/src/partials/footer.html +++ b/src/partials/footer.html @@ -0,0 +1,12 @@ + diff --git a/src/partials/rentblock.html b/src/partials/rentblock.html new file mode 100644 index 0000000..e69de29