style: Seperate and Reformat inline style into css seperate files
This commit is contained in:
241
src/styles/download.css
Normal file
241
src/styles/download.css
Normal file
@@ -0,0 +1,241 @@
|
||||
.download-cta {
|
||||
position: relative;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
min-height: 400px;
|
||||
overflow: hidden;
|
||||
background: #fff;
|
||||
border-top: 1px solid #eec8b8;
|
||||
}
|
||||
|
||||
.download-cta__pattern {
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 50%;
|
||||
width: 100%;
|
||||
max-width: 1920px;
|
||||
height: 923px;
|
||||
pointer-events: none;
|
||||
transform: translate(-50%, -50%);
|
||||
}
|
||||
|
||||
.download-cta__inner {
|
||||
position: relative;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
width: 100%;
|
||||
max-width: 1280px;
|
||||
gap: 32px;
|
||||
margin: 0 auto;
|
||||
padding: 48px 16px;
|
||||
}
|
||||
|
||||
.download-cta__content {
|
||||
display: flex;
|
||||
flex: 1;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
justify-content: center;
|
||||
min-width: 0;
|
||||
gap: 36px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.download-cta__copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
width: 100%;
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.download-cta__heading {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: flex-start;
|
||||
flex-shrink: 0;
|
||||
gap: 20px;
|
||||
}
|
||||
|
||||
.download-cta__title {
|
||||
margin: 0;
|
||||
font-size: 32px;
|
||||
font-weight: 700;
|
||||
line-height: 1.2;
|
||||
color: #1a1a1a;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.download-cta__logo-frame {
|
||||
position: relative;
|
||||
flex-shrink: 0;
|
||||
width: 188px;
|
||||
height: 72px;
|
||||
}
|
||||
|
||||
.download-cta__logo {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
display: block;
|
||||
width: 100%;
|
||||
max-width: none;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.download-cta__description {
|
||||
max-width: 542px;
|
||||
margin: 0;
|
||||
font-size: 18px;
|
||||
font-weight: 400;
|
||||
line-height: 1.5;
|
||||
color: #7a726d;
|
||||
}
|
||||
|
||||
.store-badges {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
gap: 16px;
|
||||
overflow: clip;
|
||||
}
|
||||
|
||||
.store-badge {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-shrink: 0;
|
||||
width: 100%;
|
||||
height: 70px;
|
||||
gap: 8px;
|
||||
padding: 12px 16px;
|
||||
overflow: clip;
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.store-badge--android {
|
||||
background: #f28a4b;
|
||||
border: 1px solid #c5834e;
|
||||
}
|
||||
|
||||
.store-badge--ios {
|
||||
background: #383838;
|
||||
border: 1px solid #141414;
|
||||
}
|
||||
|
||||
.store-badge__icon {
|
||||
display: block;
|
||||
flex-shrink: 0;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
}
|
||||
|
||||
.store-badge__icon-frame {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
flex-shrink: 0;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
background: #151515;
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.store-badge__apple-icon {
|
||||
display: block;
|
||||
width: 22px;
|
||||
height: 27px;
|
||||
}
|
||||
|
||||
.store-badge__copy {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: flex-start;
|
||||
flex-shrink: 0;
|
||||
gap: 3px;
|
||||
overflow: clip;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.store-badge__platform {
|
||||
margin: 0;
|
||||
font-size: 11px;
|
||||
font-weight: 600;
|
||||
line-height: normal;
|
||||
letter-spacing: 0.05px;
|
||||
}
|
||||
|
||||
.store-badge--android .store-badge__platform {
|
||||
color: #ffd6bc;
|
||||
}
|
||||
|
||||
.store-badge--ios .store-badge__platform {
|
||||
color: #ccc;
|
||||
}
|
||||
|
||||
.store-badge__label {
|
||||
margin: 0;
|
||||
font-size: 15px;
|
||||
font-weight: 600;
|
||||
line-height: normal;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.download-cta__phone {
|
||||
position: relative;
|
||||
display: none;
|
||||
flex-shrink: 0;
|
||||
width: 418px;
|
||||
height: 510px;
|
||||
}
|
||||
|
||||
.download-cta__phone-crop {
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
overflow: hidden;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.download-cta__phone-image {
|
||||
position: absolute;
|
||||
top: -18.05%;
|
||||
left: 3.8%;
|
||||
width: 92.43%;
|
||||
max-width: none;
|
||||
height: 136.1%;
|
||||
}
|
||||
|
||||
@media (min-width: 640px) {
|
||||
.store-badge {
|
||||
width: 260px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 768px) {
|
||||
.download-cta__title {
|
||||
font-size: 40px;
|
||||
}
|
||||
}
|
||||
|
||||
@media (min-width: 1024px) {
|
||||
.download-cta {
|
||||
height: 600px;
|
||||
}
|
||||
|
||||
.download-cta__inner {
|
||||
flex-direction: row;
|
||||
gap: 0;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.download-cta__title {
|
||||
font-size: 48px;
|
||||
}
|
||||
|
||||
.download-cta__phone {
|
||||
display: block;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user