From 79700e22d1d0a8df2c20ce2aca588cac23786c97 Mon Sep 17 00:00:00 2001 From: Oleksandr Pidlasko Date: Thu, 26 Dec 2024 13:06:21 +0100 Subject: [PATCH 1/7] MOYO Header --- src/index.html | 90 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/style.css | 79 +++++++++++++++++++++++++++++++++++++++++++- 2 files changed, 168 insertions(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index b39fe97123..469ebc0636 100644 --- a/src/index.html +++ b/src/index.html @@ -15,8 +15,98 @@ rel="stylesheet" href="./style.css" /> + + + +
+ + + + +

Moyo header

diff --git a/src/style.css b/src/style.css index 293d3b1f13..3bc4e5bc51 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,80 @@ -body { +html { + /* stylelint-disable-next-line font-family-name-quotes */ + font-family: 'Roboto', sans-serif; + font-size: 12px; + font-style: normal; + font-weight: 500; + text-transform: uppercase; +} + +* { margin: 0; } + +li { + list-style: none; + margin-left: 20px; +} + +li:first-child { + margin-left: 0; +} + +ul { + padding: 0; + display: flex; +} + +a { + text-decoration: none; + color: black; +} + +.header { + position: relative; + width: 100%; + margin: 0 auto; + display: flex; + align-items: center; + justify-content: space-between; + box-sizing: border-box; +} + +.header-top-logo { + margin-left: 50px; + width: 40px; + height: 40px; + padding-top: 10px; + padding-bottom: 10px; + display: flex; +} + +.active:hover { + color: #00acdc; +} + +.is-active { + position: relative; + color: #00acdc; +} + +.is-active::after { + content: ''; + display: block; + position: absolute; + border: solid #00acdc 2px; + height: 1px; + width: 35px; + border-radius: 8px; + background-color: #00acdc; + top: 33px; +} + +.nav-link { + line-height: 14px; + height: 60px; +} + +.navigation { + margin-right: 50px; +} From 6a74bf14786a1ed5598a98c2ffe9fd584c45f4b8 Mon Sep 17 00:00:00 2001 From: Oleksandr Pidlasko Date: Thu, 26 Dec 2024 14:46:13 +0100 Subject: [PATCH 2/7] MAYO Header --- src/style.css | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/src/style.css b/src/style.css index 3bc4e5bc51..103f38ea60 100644 --- a/src/style.css +++ b/src/style.css @@ -62,17 +62,17 @@ a { content: ''; display: block; position: absolute; - border: solid #00acdc 2px; - height: 1px; - width: 35px; - border-radius: 8px; + height: 4px; + width: 100%; background-color: #00acdc; - top: 33px; + bottom: 0; + border-radius: 8px; } .nav-link { - line-height: 14px; + line-height: 60px; height: 60px; + display: inline-block; } .navigation { From 71e7c7fae4915dbbf3c159402662f178841cc608 Mon Sep 17 00:00:00 2001 From: Oleksandr Pidlasko Date: Thu, 26 Dec 2024 15:01:33 +0100 Subject: [PATCH 3/7] fixed the issues --- src/index.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.html b/src/index.html index 469ebc0636..340da19e8c 100644 --- a/src/index.html +++ b/src/index.html @@ -67,7 +67,7 @@ laptops & computers @@ -82,7 +82,7 @@
  • tablets From d61a5c2d0c6c192bac60f2ef6c18d032d7af1ac1 Mon Sep 17 00:00:00 2001 From: Oleksandr Pidlasko Date: Thu, 26 Dec 2024 15:10:14 +0100 Subject: [PATCH 4/7] fixed the issues --- src/style.css | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/style.css b/src/style.css index 103f38ea60..f0ead07fa7 100644 --- a/src/style.css +++ b/src/style.css @@ -49,10 +49,6 @@ a { display: flex; } -.active:hover { - color: #00acdc; -} - .is-active { position: relative; color: #00acdc; @@ -69,6 +65,10 @@ a { border-radius: 8px; } +.active:hover { + color: #00acdc; +} + .nav-link { line-height: 60px; height: 60px; From e11f43272f493b4ad075222c5e8b5182cdf82ee9 Mon Sep 17 00:00:00 2001 From: Oleksandr Pidlasko Date: Fri, 27 Dec 2024 13:13:31 +0100 Subject: [PATCH 5/7] fixed the issues --- src/index.html | 6 +++--- src/style.css | 4 ++-- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/index.html b/src/index.html index 340da19e8c..874dd6d57f 100644 --- a/src/index.html +++ b/src/index.html @@ -33,8 +33,8 @@