diff --git a/readme.md b/readme.md index e72b8051e7..e20a8b0997 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://AnoriFrell.github.io/layout_moyo-header/) +- [TEST REPORT LINK](https://AnoriFrell.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..4d74e9c32f 100644 --- a/src/index.html +++ b/src/index.html @@ -10,6 +10,18 @@ http-equiv="X-UA-Compatible" content="ie=edge" /> + + + Moyo header -

Moyo header

+
+ + + + +
diff --git a/src/style.css b/src/style.css index 293d3b1f13..d873f19dc3 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,59 @@ +/* stylelint-disable custom-property-empty-line-before */ +/* stylelint-disable comment-empty-line-before */ +/* stylelint-disable font-family-name-quotes */ body { margin: 0; + font-family: 'Roboto', serif; + --main-color: #00acdc; +} + +.header { + display: flex; + position: relative; + justify-content: flex-end; + background-color: #fff; +} + +.logo { + position: absolute; + left: 50px; + top: 10px; +} + +.nav { + display: flex; + align-items: center; + margin-right: 50px; + line-height: 60px; + text-transform: uppercase; + font-size: 12px; + font-weight: 500; +} + +.nav__link { + display: inline-block; +} + +.nav__link:not(:first-child) { + margin-left: 20px; +} + +.nav__link:hover { + color: var(--main-color); +} + +.is-active { + position: relative; + color: var(--main-color); +} + +.is-active::after { + position: absolute; + content: ''; + left: 0; + bottom: 0; + height: 4px; + border-radius: 8px; + width: 100%; + background-color: var(--main-color); }