diff --git a/src/index.html b/src/index.html index b39fe97123..3c5004d5ba 100644 --- a/src/index.html +++ b/src/index.html @@ -15,8 +15,99 @@ rel="stylesheet" href="./style.css" /> + + + +
+ + + + +

Moyo header

diff --git a/src/style.css b/src/style.css index 293d3b1f13..63076cd160 100644 --- a/src/style.css +++ b/src/style.css @@ -1,3 +1,85 @@ -body { +html { + /* stylelint-disable-next-line font-family-name-quotes */ + font-family: 'Roboto', sans-serif; + font-size: 12px; + font-style: normal; + font-weight: 500; + text-transform: uppercase; + + --link-color: #00acdc; +} + +* { margin: 0; } + +.list_item { + list-style: none; + margin-left: 20px; +} + +.list_item:first-child { + margin-left: 0; + color: var(--link-color); +} + +.nav__list { + padding: 0; + display: flex; +} + +.header { + position: relative; + width: 100%; + margin: 0 auto; + display: flex; + align-items: center; + justify-content: space-between; + box-sizing: border-box; +} + +.header_top_logo { + margin-left: 50px; + width: 40px; + height: 40px; + padding-top: 10px; + padding-bottom: 10px; + display: flex; +} + +.is-active { + position: relative; + color: var(--link-color); +} + +/* stylelint-disable-next-line selector-max-id */ +#active-link { + color: var(--link-color); +} + +.is-active::after { + content: ''; + display: block; + position: absolute; + height: 4px; + width: 100%; + background-color: var(--link-color); + bottom: 0; + border-radius: 8px; +} + +.nav-link { + line-height: 60px; + height: 60px; + display: inline-block; + text-decoration: none; + color: black; +} + +.nav-link:hover { + color: var(--link-color); +} + +.navigation { + margin-right: 50px; +}