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

Moyo header

+
+ + logo Moyo + + + +
diff --git a/src/style.css b/src/style.css index 293d3b1f13..286d1944a1 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,67 @@ +:root { + --accent-color: #00acdc; +} + +html { + font-family: Roboto, sans-serif; +} + body { margin: 0; } + +.header { + display: flex; + justify-content: space-between; + padding: 0 50px; + margin: 0; + align-items: center; +} + +.header_link { + width: 40px; + height: 40px; +} + +.nav_list { + margin: 0; + padding: 0; + display: flex; + list-style: none; +} + +.nav_link { + margin-right: 20px; + position: relative; + font-weight: 500; + font-size: 12px; + display: block; + text-transform: uppercase; + line-height: 60px; + text-decoration: none; + color: #000; +} + +.nav_item:last-child .nav_link { + margin-right: 0; +} + +/* stylelint-disable-next-line no-descending-specificity */ +.nav_link:hover { + color: #00acdc; +} + +.is-active { + color: var(--accent-color); +} + +.is-active::after { + content: ''; + display: block; + position: absolute; + bottom: 0; + width: 100%; + height: 4px; + background-color: var(--accent-color); + border-radius: 8px; +}