-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
19e31ae
commit 1f4f1f7
Showing
12 changed files
with
116 additions
and
209 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,33 @@ | ||
.about { | ||
padding-top: var(--section-padding); | ||
background-color: var(--bg-color-light); | ||
position: relative; | ||
|
||
@include tablet() { | ||
padding-bottom: 0; | ||
} | ||
} | ||
|
||
.about .container { | ||
position: relative; | ||
z-index: 2; | ||
} | ||
|
||
.about::before { | ||
@include desktop() { | ||
content: ""; | ||
display: block; | ||
width: 1200px; | ||
height: 100%; | ||
position: absolute; | ||
top: 0; | ||
left: 50%; | ||
transform: translateX(-50%); | ||
|
||
background-image: url(../images/about/milk-bg-desk.png); | ||
background-size: 100%; | ||
background-repeat: no-repeat; | ||
background-position: right 241px; | ||
background-position: right 240px; | ||
|
||
@include retina() { | ||
background-image: url(../images/about/[email protected]); | ||
|
@@ -34,22 +49,6 @@ | |
.about__wrap { | ||
min-width: 280px; | ||
|
||
background-image: url(../images/about/milk-bg-mob.png); | ||
background-repeat: no-repeat; | ||
background-size: 100%; | ||
background-position: right 395px; | ||
|
||
@media screen and (min-width: 330px) { | ||
background-position: right 380px; | ||
} | ||
@media screen and (min-width: 403px) { | ||
background-position: right 357px; | ||
} | ||
|
||
@include retina() { | ||
background-image: url(../images/about/[email protected]); | ||
} | ||
|
||
@include tablet() { | ||
display: flex; | ||
flex-direction: row; | ||
|
@@ -87,6 +86,15 @@ | |
.about__column--second { | ||
@include mobile-only() { | ||
padding-right: 60px; | ||
|
||
background-image: url(../images/about/milk-bg-mob.png); | ||
background-repeat: no-repeat; | ||
background-size: 100%; | ||
background-position: right 25%; | ||
|
||
@include retina() { | ||
background-image: url(../images/about/[email protected]); | ||
} | ||
} | ||
|
||
@include desktop() { | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.