diff --git a/readme.md b/readme.md index e72b8051e7..6c46089df9 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://vvyboichyk.github.io/layout_moyo-header/) +- [TEST REPORT LINK](https://vvyboichyk.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..8b7f13525f 100644 --- a/src/index.html +++ b/src/index.html @@ -4,19 +4,109 @@ - + + - Moyo header + Moyo Header -

Moyo header

+
+ + +
diff --git a/src/style.css b/src/style.css index 293d3b1f13..30319d3dd5 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,69 @@ body { + font-family: Roboto, sans-serif; margin: 0; } + +ul { + list-style: none; +} + +a { + text-decoration: none; +} + +.header { + display: flex; + align-items: center; + justify-content: space-between; + padding: 0 50px; +} + +.nav__list { + display: flex; + padding: 0; + margin: 0; +} + +.nav__link { + display: flex; + font-weight: 500; + font-size: 12px; + text-align: center; + color: #000; + text-transform: uppercase; + height: 60px; + align-items: center; +} + +.nav__item:not(:first-child) { + padding-left: 20px; +} + +.nav__link:hover { + color: #00acdc; +} + +.nav__link:active { + color: #00acdc; + box-shadow: 0 4px 0 #00acdc; +} + +.is-active { + position: relative; + color: #00acdc; +} + +.is-active::after { + content: ''; + position: absolute; + background-color: #00acdc; + height: 4px; + bottom: 0; + left: 0; + width: 100%; + border-radius: 8px; +} + +.logo { + max-height: 40px; +}