Skip to content

Commit

Permalink
add solution
Browse files Browse the repository at this point in the history
  • Loading branch information
hardaira committed Apr 4, 2024
1 parent 4ca89bd commit 2fdfd8f
Show file tree
Hide file tree
Showing 5 changed files with 16 additions and 11 deletions.
1 change: 0 additions & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@
>
</a>


<nav class="nav">
<ul class="nav__list">

Expand Down
14 changes: 11 additions & 3 deletions src/styles/blocks/header.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
.header {
height: 100vh;

&__top {
box-sizing: border-box;
Expand All @@ -15,11 +14,11 @@
padding: 20px 41px;
}

@media (min-width: 769px) and (max-width: 1366px) {
@media (min-width: 769px) and (max-width: 1200px) {
padding: 50px 55px;
}

@media (min-width: 1367px) and (max-width: 2500px) {
@media (min-width: 1201px) and (max-width: 2500px) {
padding: 50px 227px;
}

Expand Down Expand Up @@ -55,6 +54,11 @@
margin-left: auto;
}

@media (max-width: 481px) {
margin-left: auto;
padding-bottom: 20px;
}

position: relative;
&::after {
content:'';
Expand All @@ -64,6 +68,10 @@
height: 2px;
width: 100%;
background-color: #2060F6;

@media (max-width: 481px) {
bottom: 20px;
}
}
}

Expand Down
2 changes: 1 addition & 1 deletion src/styles/blocks/page.scss
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ section:not(.strategic__agency) {
padding-inline: 227px;
}

@media (min-width: 1901px) {
@media (min-width: 2501px) {
padding-inline: 708px;
}

Expand Down
8 changes: 4 additions & 4 deletions src/styles/blocks/slider.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,16 +10,16 @@
background-repeat: no-repeat;
background-position: center;
background-size: cover;
height: 100%;
height: 390px;

@media (min-width: 769px){
border-radius: 30px 0;
height: 680px;
}

@media (min-width: 481px) and (max-width: 768px) {
background-image: url("../images/new-photos/slider-tablet.png");
min-height: 300px;
}
}

@media (min-width: 769px) and (max-width: 1200px) {
background-image: url("../images/new-photos/slider-desktop.png");
Expand All @@ -29,7 +29,7 @@
background-image: url("../images/new-photos/slider-l.png");
}

@media (min-width: 2500px) {
@media (min-width: 2501px) {
background-image: url("../images/new-photos/slider-xl.png");
}

Expand Down
2 changes: 0 additions & 2 deletions src/styles/blocks/strategic-agency.scss
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
background-color: #2C2C2C;
border-radius: 0 0 30px 30px;

height: 82vh;

@media (min-width: 769px) {
display: flex;
flex-direction: row;
Expand Down

0 comments on commit 2fdfd8f

Please sign in to comment.