diff --git a/readme.md b/readme.md index fc0db80092..0ccdfd3bd3 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 the `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://Thiago-BRoca.github.io/layout_moyo-header/) +- [TEST REPORT LINK](https://Thiago-BRoca.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. @@ -39,5 +39,5 @@ The page should match the design Pixel Perfect: all the sizes, colors and distan - [ ] **CSS Variable** is used for a blue color - [ ] Pseudo-element is used for a blue line below the active link - [ ] Code follows all the [Code Style Rules ❗️](./checklist.md) -- [ ] The Google Fonts Configuration follows requirements. -![alt text](./assets/image.png) \ No newline at end of file +- [ ] The Google Fonts Configuration follows requirements. +![alt text](./assets/image.png) diff --git a/src/index.html b/src/index.html index b39fe97123..90b5bd9d0e 100644 --- a/src/index.html +++ b/src/index.html @@ -1,6 +1,22 @@ + + + + + Moyo Header + - Moyo header -

Moyo header

+
+ +
diff --git a/src/style.css b/src/style.css index 293d3b1f13..f659c37894 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,79 @@ +html { + margin: 0; + font-family: Roboto, Arial, sans-serif; + font-style: normal; + font-weight: 500; + + --color-primary: #00acdc; +} + body { margin: 0; } + +.header { + margin: 0; + background-color: #fff; +} + +.container { + display: flex; + justify-content: space-between; + align-items: center; + max-width: 1140px; + margin: 0 auto; + padding: 0 50px; +} + +.nav_list { + list-style-type: none; + display: flex; + margin: 0; + padding: 0; +} + +.nav_items:not(:last-child) { + margin-right: 20px; +} + +.nav_links { + height: 60px; + line-height: 60px; + font-size: 12px; + display: inline-block; + text-transform: uppercase; +} + +.logo { + display: flex; +} + +.nav_links:link { + text-decoration: none; + color: black; +} + +.nav_links:visited { + text-decoration: none; + color: black; +} + +.nav_links:hover { + color: var(--color-primary); +} + +.nav_links.is-active { + position: relative; + color: var(--color-primary); +} + +.nav_links.is-active::after { + content: ''; + position: absolute; + width: 37px; + height: 4px; + background-color: var(--color-primary); + bottom: 0; + left: 0; + border-radius: 8px; +}