diff --git a/readme.md b/readme.md index e72b8051e7..d02ab5f91b 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://alla-vedmid.github.io/layout_moyo-header/) +- [TEST REPORT LINK](https://alla-vedmid.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..335bdc6c9c 100644 --- a/src/index.html +++ b/src/index.html @@ -11,12 +11,67 @@ content="ie=edge" /> Moyo header + + + -

Moyo header

+
+ + +
diff --git a/src/style.css b/src/style.css index 293d3b1f13..2783345f03 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,61 @@ +:root { + --main-blue-color: #00acdc; +} + body { margin: 0; } + +header { + display: flex; + justify-content: space-between; + align-items: center; + padding: 0 40px; +} + +.navigation { + margin: 0; +} + +.nav-link-list { + display: flex; + margin: 0; +} + +.link-item { + list-style: none; + line-height: 60px; + position: relative; +} + +.link-item:not(:last-child) { + margin-right: 20px; + margin-left: 20px; +} + +.link-item a { + text-decoration: none; + color: #000; + text-transform: uppercase; + font-size: 12px; + font-family: Roboto, sans-serif; + font-weight: 500; +} + +.link-item a:hover, +.link-item a.is-active, +.link-item a:active{ + color: var(--main-blue-color); +} + +.link-item a:hover::after, +.link-item a:active::after { + content: ''; + position: absolute; + bottom: 0; + border-bottom: 4px solid var(--main-blue-color); + border-radius: 8px; + display: block; + z-index: 1; + width: 100%; +}