Skip to content

Commit

Permalink
add solution
Browse files Browse the repository at this point in the history
  • Loading branch information
Knysh19 committed Dec 10, 2024
1 parent 5fee25a commit fac84f8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 17 deletions.
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
alt="Moyo Logo"
/>
<nav class="nav">
<ul class="nav__link-list">
<ul class="nav__list">
<li class="nav__item">
<a
class="nav__link is-active"
Expand Down
20 changes: 4 additions & 16 deletions src/styles/index.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,6 @@ $font-color: #060b35;
$light-grey: #616070;
$font-family: 'Roboto', sans-serif;

:root {
--blue-color: #00acdc;
--black-color: #060b35;
}

html {
margin: 0;
min-width: 1024px;
Expand Down Expand Up @@ -42,7 +37,7 @@ body {
margin: 0;
}

.nav__link-list {
.nav__list {
display: flex;
gap: 20px;
list-style-type: none;
Expand Down Expand Up @@ -93,22 +88,16 @@ body {
gap: 46px 48px;
justify-content: center;
padding: 50px 40px;
}

@media (min-width: 488px) {
.container {
@media (min-width: 488px) {
grid-template-columns: repeat(2, 200px);
}
}

@media (min-width: 768px) {
.container {
@media (min-width: 768px) {
grid-template-columns: repeat(3, 200px);
}
}

@media (min-width: 1024px) {
.container {
@media (min-width: 1024px) {
grid-template-columns: repeat(4, 200px);
}
}
Expand Down Expand Up @@ -152,7 +141,6 @@ p {

.card__code {
font-size: 10px;
font-weight: 400;
line-height: 14px;
color: $light-grey;
margin-bottom: 16px;
Expand Down

0 comments on commit fac84f8

Please sign in to comment.