-
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.
Merge pull request #34 from MabelM1/feature/learn-more-responsive
feat:implement responsive learn-more section
- Loading branch information
Showing
8 changed files
with
96 additions
and
66 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
19 changes: 16 additions & 3 deletions
19
blocks/additional-info/__list-item/additional-info__list-item.css
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,11 +1,24 @@ | ||
.additional-info__list-item { | ||
margin-bottom: 20px; | ||
margin-bottom: 16px; | ||
display: flex; | ||
justify-content: space-between; | ||
align-items: center; | ||
|
||
} | ||
|
||
.additional-info__list-item:last-of-type { | ||
margin-bottom: 0; | ||
} | ||
|
||
@media only screen and (min-width: 769px) { | ||
@media only screen and (min-width: 425px) and (max-width: 768px) { | ||
.additional-info__list-item { | ||
margin-bottom: 16px; | ||
margin-bottom: 20px; | ||
} | ||
} | ||
|
||
@media only screen and (max-width: 424px) { | ||
.additional-info__list-item { | ||
margin-bottom: 18px; | ||
align-items: flex-end; | ||
} | ||
} |
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,17 +1,20 @@ | ||
.additional-info__list { | ||
margin: 49px 0 0 0; | ||
margin: 0; | ||
list-style-type: none; | ||
padding: 0; | ||
} | ||
|
||
@media only screen and (min-width: 769px) and (max-width: 1024px) { | ||
@media only screen and (max-width: 320px) { | ||
.additional-info__list { | ||
margin: 40px 0 0 0; | ||
margin: 0; | ||
padding-top:10px; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 1025px) { | ||
@media only screen and (min-width: 769px) and (max-width: 1024px) { | ||
.additional-info__list { | ||
margin: 45px 0 0 0; | ||
margin: 0; | ||
padding-top: 4px; | ||
} | ||
} | ||
|
19 changes: 0 additions & 19 deletions
19
blocks/additional-info/__subtitle/additional-info__subtitle.css
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,25 +1,40 @@ | ||
@import url(./__title/additional-info__title.css); | ||
@import url(./__subtitle/additional-info__subtitle.css); | ||
@import url(./__list/additional-info__list.css); | ||
@import url(./__list-item/additional-info__list-item.css); | ||
@import url(./__link/additional-info__link.css); | ||
|
||
.additional-info { | ||
margin: 68px 30px 0; | ||
border-bottom: 1.7px solid #223d46; | ||
padding-bottom: 40px; | ||
padding: 68px 0 40px; | ||
margin: 0 30px; | ||
} | ||
|
||
@media only screen and (max-width: 320px) { | ||
.additional-info { | ||
margin: 0 16px 0; | ||
padding: 50px 0 30px; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 769px) and (max-width: 1024px) { | ||
.additional-info { | ||
margin-top: 84px; | ||
padding-bottom: 50px; | ||
padding: 84px 0 50px; | ||
margin: 0 40px; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 1025px) { | ||
.additional-info { | ||
margin-top: 100px; | ||
padding-bottom: 60px; | ||
padding: 100px 0 60px; | ||
max-width: 1200px; | ||
margin: 0 40px; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 1280px) { | ||
.additional-info { | ||
margin: 0 auto; | ||
} | ||
} | ||
|
||
|
||
|
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,10 +1,40 @@ | ||
.arrow-icon { | ||
font-size: 19px; | ||
width: 34px; | ||
height: 34px; | ||
background: url("./blue-arrow.png") center center no-repeat; | ||
width: 43px; | ||
height: 19px; | ||
background: url("./blue-arrow.png") center right no-repeat; | ||
background-size: 11px 11px; | ||
} | ||
|
||
.arrow-icon:hover { | ||
background: url("./yellow-arrow.png") center center no-repeat; | ||
background: url("./yellow-arrow.png") center right no-repeat; | ||
background-size: 11px 11px; | ||
} | ||
|
||
@media only screen and (max-width: 320px) { | ||
.arrow-icon { | ||
width: 26px; | ||
height: 22px; | ||
background-size: 8px 8px; | ||
} | ||
|
||
.arrow-icon:hover { | ||
width: 26px; | ||
height: 22px; | ||
background-size: 8px 8px; | ||
} | ||
} | ||
|
||
@media only screen and (min-width: 1280px) { | ||
.arrow-icon { | ||
width: 61px; | ||
height: 39px; | ||
background-size: 16px 16px; | ||
} | ||
|
||
.arrow-icon:hover { | ||
width: 61px; | ||
height: 39px; | ||
background-size: 16px 16px; | ||
} | ||
} | ||
|
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