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

Moyo header

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