diff --git a/readme.md b/readme.md index e72b8051e7..b65278879c 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://ochepurna.github.io/layout_moyo-header/) +- [TEST REPORT LINK](https://ochepurna.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..ecdcb16fc7 100644 --- a/src/index.html +++ b/src/index.html @@ -15,8 +15,107 @@ rel="stylesheet" href="./style.css" /> + + + -

Moyo header

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