From 747da6d0cca960accf7bd9ac9a1607d4620376bb Mon Sep 17 00:00:00 2001 From: Vadim Kotlyarov Date: Sat, 13 Apr 2024 21:50:33 +0300 Subject: [PATCH 1/6] add header(not all) --- src/css/header.css | 73 +++++++++++++++++++++++++++++++++------- src/partials/header.html | 55 +++++++++++++++++++++++------- 2 files changed, 103 insertions(+), 25 deletions(-) diff --git a/src/css/header.css b/src/css/header.css index 39ff606..3459902 100644 --- a/src/css/header.css +++ b/src/css/header.css @@ -1,22 +1,71 @@ /* Header styles */ .header { - padding: 20px 0; } - -.nav-list { +.header-container { display: flex; align-items: center; - justify-content: flex-end; - gap: 40px; + justify-content: space-between; + position: absolute; +} +.header-logo-mob { + align-items: center; + justify-content: center; + display: flex; + gap: 4px; + padding: 20px 0; } +.header-logo-svg-mob { + fill: #FBFBFB; +} +.button-shop-now { + display: none; +} +.button-menu-open-mob { + background-color: transparent; + cursor: pointer; + line-height: 0; + border: none; -.nav-link { - font-weight: 500; - letter-spacing: 0.02em; - line-height: 1.5; } +.open-menu-mob-icon { + stroke-width: 3px; + stroke: #fbfbfb; +} +.nav { + display: none; +} +.header-logo-tablet-desc { + fill: #fbfbfb; + display: none; +} +.button-menu-open-td { + display: none; +} +/*** tablet ***/ +@media screen and (min-width:768px) { -.nav-link:hover, -.nav-link:focus { - color: #747bff; } +.open-menu-tablet-icon { +} +.header-logo-tablet-desc { +} +.header-logo-svg-tablet-desc { +} +/*** desctop ***/ +@media screen and (min-width:1280px) { + +} +.nav { +} +.nav-list { +} +.nav-item { +} +.header-logo-tablet-desc { +} +.header-logo-svg-tablet-desc { +} +.nav-link { +} +.button-shop-now { +} \ No newline at end of file diff --git a/src/partials/header.html b/src/partials/header.html index 28b450c..83f9893 100644 --- a/src/partials/header.html +++ b/src/partials/header.html @@ -1,15 +1,44 @@
- +
+
+ + + + + + +
+
+ + + + + + + + + + +
+
From c9db2d9f10868e23e86b763b9083c0c5c05f2cd2 Mon Sep 17 00:00:00 2001 From: Vadim Kotlyarov Date: Sat, 13 Apr 2024 23:38:16 +0300 Subject: [PATCH 2/6] add header(not all) --- src/css/header.css | 74 +++++++++++++--------------------------- src/partials/header.html | 35 ++++++++++--------- 2 files changed, 41 insertions(+), 68 deletions(-) diff --git a/src/css/header.css b/src/css/header.css index 3459902..9564577 100644 --- a/src/css/header.css +++ b/src/css/header.css @@ -3,69 +3,41 @@ } .header-container { display: flex; - align-items: center; justify-content: space-between; + align-items: center; position: absolute; + padding-top: 20px; + padding-bottom: 48px; } .header-logo-mob { - align-items: center; - justify-content: center; display: flex; - gap: 4px; - padding: 20px 0; -} -.header-logo-svg-mob { fill: #FBFBFB; } -.button-shop-now { - display: none; -} .button-menu-open-mob { - background-color: transparent; - cursor: pointer; - line-height: 0; - border: none; - -} -.open-menu-mob-icon { - stroke-width: 3px; - stroke: #fbfbfb; -} -.nav { - display: none; -} -.header-logo-tablet-desc { - fill: #fbfbfb; - display: none; + stroke: #FBFBFB; + background-color: transparent; + border: none; } .button-menu-open-td { display: none; } -/*** tablet ***/ -@media screen and (min-width:768px) { - -} -.open-menu-tablet-icon { -} -.header-logo-tablet-desc { -} -.header-logo-svg-tablet-desc { -} -/*** desctop ***/ -@media screen and (min-width:1280px) { - -} -.nav { -} -.nav-list { -} -.nav-item { -} -.header-logo-tablet-desc { -} -.header-logo-svg-tablet-desc { +.header-logo-tab { + display: none; } -.nav-link { +.open-menu-mob-icon { } -.button-shop-now { +@media screen and (min-width: 768px) { + .button-menu-open-td { + stroke: #FBFBFB; + background-color: transparent; + border: none; + } + .button-menu-open-mob { + display: none; + } + .open-menu-tablet-icon { + } + .header-logo-tab { + fill: #FBFBFB; + } } \ No newline at end of file diff --git a/src/partials/header.html b/src/partials/header.html index 83f9893..cc340c9 100644 --- a/src/partials/header.html +++ b/src/partials/header.html @@ -1,21 +1,22 @@
-
- - - - - - + -
- - - - - - -
+
From 01e71a697b2bfd8a6915f3b9c2c980a2cc594e4a Mon Sep 17 00:00:00 2001 From: Vadim Kotlyarov Date: Sat, 13 Apr 2024 23:42:44 +0300 Subject: [PATCH 3/6] add header(not all) --- src/css/header.css | 7 ++++++- src/partials/header.html | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) diff --git a/src/css/header.css b/src/css/header.css index 9564577..9d318e3 100644 --- a/src/css/header.css +++ b/src/css/header.css @@ -9,8 +9,13 @@ padding-top: 20px; padding-bottom: 48px; } -.header-logo-mob { +.footer-logo-link { display: flex; + gap: 4px; + align-items: center; + justify-content: center; +} +.header-logo-mob { fill: #FBFBFB; } .button-menu-open-mob { diff --git a/src/partials/header.html b/src/partials/header.html index cc340c9..cb0fd36 100644 --- a/src/partials/header.html +++ b/src/partials/header.html @@ -2,7 +2,7 @@
-