From 394fe2abff49109847c5568ae08f2f4fca6a4bd7 Mon Sep 17 00:00:00 2001 From: Trapizon Ihor Date: Thu, 19 Sep 2024 21:08:33 +0200 Subject: [PATCH 1/3] add files for test --- readme.md | 4 +-- src/index.html | 84 ++++++++++++++++++++++++++++++++++++++++++++++++++ src/style.css | 64 ++++++++++++++++++++++++++++++++++++++ 3 files changed, 150 insertions(+), 2 deletions(-) diff --git a/readme.md b/readme.md index e72b8051e7..fa0064999e 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://internal77.github.io/layout_moyo-header/) +- [TEST REPORT LINK](https://internal77.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 b39fe97123..1b5ae30374 100644 --- a/src/index.html +++ b/src/index.html @@ -1,6 +1,10 @@ +

Moyo header

+
+ + +
diff --git a/src/style.css b/src/style.css index 293d3b1f13..a97b6c2a7c 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,67 @@ +html { + font-family: Roboto, sans-serif; +} + body { margin: 0; } + +.header { + display: flex; + justify-content: space-between; + align-items: center; + padding: 0 50px; +} + +.logo { + display: flex; + margin: 0; + padding: 0; + justify-content: center; +} + +.nav_list { + display: flex; + list-style: none; + margin: 0; + padding: 0; +} + +.nav_item { + font-size: 12px; + line-height: 14px; + font-weight: 500; + text-transform: uppercase; + margin-left: 20px; +} + +.nav_item:first-child { + margin-left: 0; +} + +.nav_link { + display: block; + line-height: 60px; + color: black; + text-decoration: none; +} + +.is-active { + position: relative; + color: #00acdc; +} + +.is-active::after { + display: block; + position: absolute; + bottom: 0; + content: ''; + width: 100%; + height: 4px; + border-radius: 8px; + background-color: #00acdc; +} + +.nav_link:hover { + color: #00acdc; +} From 845fd8f17f58e6712124a726bf6aca8835dbde2d Mon Sep 17 00:00:00 2001 From: Trapizon Ihor Date: Fri, 20 Sep 2024 14:54:21 +0200 Subject: [PATCH 2/3] add edited files --- src/index.html | 57 ++++++++++++++++++++++++++++---------------------- src/style.css | 10 ++++----- 2 files changed, 37 insertions(+), 30 deletions(-) diff --git a/src/index.html b/src/index.html index 1b5ae30374..ad1fd75f05 100644 --- a/src/index.html +++ b/src/index.html @@ -33,68 +33,75 @@

Moyo header

/>