generated from goitacademy/vanilla-app-template
-
Notifications
You must be signed in to change notification settings - Fork 2
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 #4 from AnnaSamtash/our-yachts-namliuk
Our yachts namliuk
- Loading branch information
Showing
3 changed files
with
500 additions
and
7 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,329 @@ | ||
.container { | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
|
||
@media screen and (min-width: 320px) and (max-width: 767px) { | ||
.container { | ||
max-width: 375px; | ||
padding-left: 20px; | ||
padding-right: 20px; | ||
} | ||
|
||
.section { | ||
padding-bottom: 80px; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 768px) { | ||
.section { | ||
padding-bottom: 150px; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 768px) and (max-width: 1279px) { | ||
.container { | ||
max-width: 768px; | ||
padding-left: 32px; | ||
padding-right: 32px; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 1280px) { | ||
.container { | ||
padding-left: 50px; | ||
padding-right: 50px; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 1280px) and (max-width: 1439px) { | ||
.container { | ||
max-width: 1280px; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 1440px) { | ||
.container { | ||
max-width: 1440px; | ||
} | ||
} | ||
|
||
@media screen and (max-width: 767px) { | ||
|
||
.benetti-oasis-card, | ||
.belle-anna-card { | ||
display: none; | ||
} | ||
|
||
} | ||
|
||
.our-yachts-section-title { | ||
/*TYPOGRAPHY*/ | ||
color: #FBFBFB; | ||
text-align: center; | ||
font-family: Inter; | ||
font-size: 28px; | ||
font-style: normal; | ||
font-weight: 500; | ||
line-height: 1; | ||
letter-spacing: -0.02em; | ||
margin-left: auto; | ||
margin-right: auto; | ||
margin-bottom: 40px; | ||
max-width: 319px; | ||
} | ||
|
||
|
||
@media screen and (min-width: 768px) { | ||
.our-yachts-section-title { | ||
font-size: 48px; | ||
max-width: 645px; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 1280px) { | ||
.our-yachts-section-title { | ||
max-width: 714px; | ||
} | ||
|
||
.yacht-title { | ||
width: 313px; | ||
} | ||
|
||
.yacht-params { | ||
width: 313px; | ||
} | ||
} | ||
|
||
@media screen and (min-width: 1440px) { | ||
|
||
.yacht-title { | ||
width: 328px; | ||
} | ||
|
||
.yacht-params { | ||
width: 328px; | ||
} | ||
} | ||
|
||
.our-yahts-list { | ||
display: flex; | ||
justify-content: center; | ||
align-items: center; | ||
} | ||
|
||
@media screen and (min-width: 768px) { | ||
.our-yahts-list { | ||
display: flex; | ||
/* justify-content: space-between; */ | ||
align-items: center; | ||
gap: 32px; | ||
} | ||
|
||
} | ||
|
||
.our-yahts-card { | ||
display: flex; | ||
flex-direction: column; | ||
align-items: center; | ||
row-gap: 32px; | ||
padding: 16px 16px 32px 16px; | ||
background-color: #FBFBFB; | ||
border-radius: 24px; | ||
border: none; | ||
margin-left: auto; | ||
margin-right: auto; | ||
} | ||
|
||
@media screen and (min-width: 768px) { | ||
.our-yahts-card { | ||
width: calc((100% - 32px)/2); | ||
} | ||
} | ||
|
||
@media screen and (min-width: 1280px) { | ||
.our-yahts-list { | ||
gap: 25px; | ||
} | ||
|
||
.our-yahts-card { | ||
width: calc((100% - 50px)/3) | ||
} | ||
} | ||
|
||
/* .yaht-description { | ||
display: flex; | ||
flex-direction: column; | ||
row-gap: 16px; | ||
} */ | ||
.yacht-name { | ||
color: #1B414B; | ||
font-family: Inter; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 500; | ||
line-height: 1.18; | ||
letter-spacing: -0.05em; | ||
text-transform: uppercase; | ||
|
||
} | ||
|
||
.yacht-title { | ||
width: 270px; | ||
display: flex; | ||
justify-content: space-between; | ||
position: relative; | ||
} | ||
|
||
@media screen and (min-width: 768px) { | ||
.yacht-name { | ||
gap: 16px 112px; | ||
font-size: 16px; | ||
} | ||
|
||
.yacht-title { | ||
width: 272px; | ||
} | ||
|
||
.yacht-params { | ||
width: 272px; | ||
} | ||
|
||
.benetti-card { | ||
justify-content: flex-start; | ||
gap: 16px 22px; | ||
display: flex; | ||
|
||
} | ||
|
||
.benetti-card-overflow { | ||
overflow: hidden; | ||
text-overflow: ellipsis; | ||
white-space: nowrap; | ||
width: 147px; | ||
|
||
|
||
} | ||
} | ||
|
||
.yacht-title:after { | ||
color: rgba(4, 3, 6, 0.10); | ||
background-color: rgba(4, 3, 6, 0.10); | ||
content: ""; | ||
width: 100%; | ||
position: absolute; | ||
bottom: -16px; | ||
height: 1px; | ||
|
||
} | ||
|
||
.yacht-class { | ||
color: #040306; | ||
font-size: 12px; | ||
line-height: 1.1; | ||
letter-spacing: 0.03em; | ||
opacity: 0.4; | ||
text-align: end; | ||
} | ||
|
||
@media screen and (min-width: 768px) { | ||
.yacht-class { | ||
font-size: 13px; | ||
} | ||
|
||
} | ||
|
||
.yacht-params { | ||
display: flex; | ||
justify-content: space-between; | ||
/* gap: 16px 114px; */ | ||
width: 270px; | ||
flex-shrink: 1; | ||
flex-grow: 0; | ||
/* white-space: nowrap; */ | ||
|
||
|
||
|
||
|
||
} | ||
|
||
@media screen and (min-width: 768px) { | ||
.yacht-params { | ||
gap: 6px 116px; | ||
} | ||
|
||
.benetti-params { | ||
gap: 6px 104px; | ||
} | ||
} | ||
|
||
.yacht-params-names { | ||
|
||
|
||
text-transform: uppercase; | ||
opacity: 0.4; | ||
} | ||
|
||
/* @media screen and (min-width: 768px) { | ||
.yacht-params-names { | ||
color: #040306; | ||
font-family: Inter; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: 1.18; | ||
letter-spacing: 0.03em; | ||
text-transform: uppercase; | ||
} | ||
.yacht-params-values { | ||
color: #040306; | ||
font-family: Inter; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 400; | ||
line-height: 1.18; | ||
letter-spacing: 0.03em; | ||
} | ||
} */ | ||
.yacht-params-values {} | ||
|
||
.yaht-rental-link-button { | ||
margin-top: 40px; | ||
margin-left: auto; | ||
margin-right: auto; | ||
gap: 10px; | ||
display: block; | ||
justify-content: flex-start; | ||
padding: 14px 32px; | ||
border-radius: 15px; | ||
border: 1px solid rgba(251, 251, 251, 0.35); | ||
color: #FBFBFB; | ||
font-family: Inter; | ||
font-size: 14px; | ||
font-style: normal; | ||
font-weight: 500; | ||
line-height: 18px; | ||
/* 128.571% */ | ||
letter-spacing: -0.28px; | ||
background-color: inherit; | ||
|
||
} | ||
|
||
@media screen and (max-width: 767px) { | ||
|
||
.benetti-oasis-card, | ||
.belle-anna-card { | ||
display: none; | ||
} | ||
|
||
} | ||
|
||
@media screen and (max-width: 1199px) { | ||
.belle-anna-card { | ||
display: none; | ||
} | ||
} |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.