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

Moyo header

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