From a793c61f8fbf4ec58915022af8d3363dbf155234 Mon Sep 17 00:00:00 2001 From: Yevhen Loboda Date: Thu, 12 Sep 2024 19:25:40 +0200 Subject: [PATCH 1/6] moyo header kommit for review --- src/index.html | 95 +++++++++++++++++++++++++++++++++++++++++++++++++- src/style.css | 81 ++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 175 insertions(+), 1 deletion(-) diff --git a/src/index.html b/src/index.html index b39fe97123..9b07e5923c 100644 --- a/src/index.html +++ b/src/index.html @@ -15,8 +15,101 @@ rel="stylesheet" href="./style.css" /> + + + + -

Moyo header

+
+ + +
diff --git a/src/style.css b/src/style.css index 293d3b1f13..786857eaa2 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,84 @@ body { margin: 0; + padding: 0; +} + +html { + font-family: Roboto, sans-serif; + font-size: 12px; + font-weight: 500; + line-height: 14.06px; + + --active-color: #00acdc; +} + +.header { + display: flex; + width: 100%; + align-items: center; + justify-content: space-between; + + /* background-color: blue; */ +} + +.nav { + display: inline-block; + margin-right: 50px; +} + +.nav__list { + display: flex; + margin: 0; + padding: 0; + list-style: none; +} + +.nav__item { + display: block; + height: 60px; + line-height: 60px; + padding: 0 10px; + color: #000; + text-decoration: none; + text-transform: uppercase; + + /* background-color: yellow; */ +} + +.is-active::after { + position: absolute; + bottom: 0; + display: block; + content: ''; + height: 4px; + width: 100%; + background-color: var(--active-color); + border-radius: 8px; +} + +.logo__image { + width: 40px; + height: 40px; + margin-left: 50px; +} + +a:link { + color: #000; +} + +a:visited { + color: var(--active-color); +} + +a:hover { + color: var(--active-color); +} + +.is-active { + color: var(--active-color); + position: relative; +} + +.nav__item [hover] { + color: var(--active-color); } From ea42d357317d79a6dc948fa6c329a6609b31c6b6 Mon Sep 17 00:00:00 2001 From: Yevhen Loboda Date: Thu, 12 Sep 2024 22:23:01 +0200 Subject: [PATCH 2/6] bags fixing --- readme.md | 4 ++-- src/index.html | 16 ++++++++-------- src/style.css | 32 +++++++++++++++++++++----------- 3 files changed, 31 insertions(+), 21 deletions(-) diff --git a/readme.md b/readme.md index e72b8051e7..dbb932b6a5 100644 --- a/readme.md +++ b/readme.md @@ -27,8 +27,8 @@ The page should match the design Pixel Perfect: all the sizes, colors and distan ❗️ Replace `` with your Github username and copy the links to `Pull Request` description: -- [DEMO LINK](https://.github.io/layout_moyo-header/) -- [TEST REPORT LINK](https://.github.io/layout_moyo-header/report/html_report/) +- [DEMO LINK](https://yevhen-loboda.github.io/layout_moyo-header/) +- [TEST REPORT LINK](https://yevhen-loboda.github.io/layout_moyo-header/report/html_report/) ❗️ Copy this `Checklist` to the `Pull Request` description after links, and put `- [x]` before each point after you checked it. diff --git a/src/index.html b/src/index.html index 9b07e5923c..e503abc6c0 100644 --- a/src/index.html +++ b/src/index.html @@ -45,7 +45,7 @@