From fb77b3e8e6bde305bb67f632f34f4e6216893bf3 Mon Sep 17 00:00:00 2001 From: Anna Onyshchenko Date: Thu, 19 Dec 2024 21:57:44 +0300 Subject: [PATCH 01/11] add task solution --- readme.md | 4 +-- src/index.html | 68 ++++++++++++++++++++++++++++++++++++++++++++----- src/style.css | 69 ++++++++++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 132 insertions(+), 9 deletions(-) diff --git a/readme.md b/readme.md index e72b8051e7..965177e65f 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://Anna-0805.github.io/layout_moyo-header/) +- [TEST REPORT LINK](https://Anna-0805.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..633b150fd9 100644 --- a/src/index.html +++ b/src/index.html @@ -6,17 +6,71 @@ name="viewport" content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0" /> - - Moyo header + MOYO Header -

Moyo header

+
+ + +
diff --git a/src/style.css b/src/style.css index 293d3b1f13..33accb8f88 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,72 @@ + body { margin: 0; + font-family: Roboto, sans-serif; +} + +.header { + background-color: #fff; + padding: 0 50px; + display: flex; + justify-content: space-between; +} + +.logo img { + width: 40px; + height: 40px; + padding-top: 10px; +} + +.panel { + display: flex; + gap: 20px; + flex-direction: row-reverse; +} + +.panel a { + text-decoration: none; + font-size: 12px; + font-weight: 500; + text-transform: uppercase; + line-height: 60px; + text-align: center; +} + +.panel a.is-active { + color: #00acdc; + position: relative; +} + +.panel a.is-active::after { + content: ''; + position: absolute; + left: 0; + bottom: 0; + width: 100%; + height: 4px; + background-color: #00acdc; + border-radius: 8px; +} + +a:link, +a:visited, +a:active { + color: inherit; + background-color: transparent; +} + +.panel .black a { + color: #000; +} + +.panel .blue a { + color: #000; +} + +.panel .is-active a:hover { + color: #00acdc; +} + +.panel .blue a:hover { + color: #00acdc; } From 3b96c56c167cd2006c7b9f36484fa11556b5ab08 Mon Sep 17 00:00:00 2001 From: Anna Onyshchenko Date: Fri, 20 Dec 2024 15:21:12 +0300 Subject: [PATCH 02/11] add task solution --- src/index.html | 6 +++++- src/style.css | 1 - 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/src/index.html b/src/index.html index 633b150fd9..2546cc29a1 100644 --- a/src/index.html +++ b/src/index.html @@ -2,9 +2,13 @@ + MOYO Header Date: Fri, 20 Dec 2024 15:31:22 +0300 Subject: [PATCH 03/11] add task solution --- src/index.html | 43 ++++++------------------------------------- src/style.css | 13 +++---------- 2 files changed, 9 insertions(+), 47 deletions(-) diff --git a/src/index.html b/src/index.html index 2546cc29a1..7a02908a3a 100644 --- a/src/index.html +++ b/src/index.html @@ -25,49 +25,18 @@ />