Merge pull request #5 from ifraimka1/fix/styles

Fix/styles
This commit is contained in:
Ifraim Solomonov authored and GitHub committed 2024-02-27 15:51:59 +03:00
commit d67b5cb672
11 files changed
+50 -28

No files matched your search

+4 -4
View File
@@ -3,12 +3,12 @@
justify-content: space-between;
align-items: center;
height: 242px;
height: 160px;
padding: 0 10%;
background: #222222;
.logo-container {
height: 90px;
height: 80px;
max-width: 30%;
.logo {
@@ -19,9 +19,9 @@
.contacts {
color: white;
font-size: 20px;
font-size: 18px;
font-weight: 400;
line-height: 24px;
line-height: 22px;
}
.links {
+1 -1
View File
@@ -5,7 +5,7 @@ $primary-text-color: white;
position: absolute;
top: 0;
width: 80%;
height: 80px;
height: 60px;
max-height: 80px;
padding: 1em 10%;
background: $primary-bg-color;
+2 -1
View File
@@ -9,6 +9,7 @@
width: 100%;
height: 100%;
transition: transform 0.5s ease-in-out;
margin: 0 auto;
& .slide {
flex: 1 0 100%;
@@ -17,7 +18,7 @@
& .slide-image {
display: flex;
width: 80%;
height: 60vh;
margin: 0 auto;
border-radius: 8px;
}
@@ -7,8 +7,8 @@
align-items: center;
height: 100%;
width: calc(100% - 10% + 60px);
left: calc(5% - 30px);
width: calc(100% - 30% + 60px);
left: calc(15% - 30px);
margin: 0 auto;
color: white;
@@ -2,14 +2,14 @@
display: flex;
justify-content: space-between;
align-items: flex-start;
gap: 40px;
gap: 60px;
.half {
flex: 50%;
flex: 1 1 50%;
}
.contact-form {
padding: 32px;
padding: 24px 26px;
border-radius: 16px;
background-color: #EDEDED;
@@ -17,27 +17,27 @@
h2 {
margin-top: 0;
font-size: 32px;
font-size: 26px;
font-weight: 500;
line-height: 39px;
line-height: 30px;
}
.inputs {
display: flex;
flex-direction: column;
gap: 24px;
gap: 16px;
.field {
padding: 15px 24px;
padding: 12px 16px;
border: none;
border-radius: 8px;
font-size: 20px;
font-size: 16px;
font-weight: 400;
}
.field.big {
height: 272px;
height: 200px;
line-height: 30px;
resize: none;
}
@@ -60,12 +60,13 @@
cursor: pointer;
.icon {
margin-right: 8px;
margin-right: 6px;
height: 22px;
}
span {
display: inline-block;
font-size: 20px;
font-size: 18px;
}
}
}
@@ -77,6 +78,10 @@
.submit {
width: 100%;
cursor: pointer;
padding: 12px;
font-size: 18px;
line-height: normal;
}
}
}
@@ -25,6 +25,12 @@ const mock = [
{
image: scb,
},
{
image: porsche,
},
{
image: scb,
},
];
function Partners({ partners = mock }) {
@@ -35,6 +41,7 @@ function Partners({ partners = mock }) {
autoplay
autoplaySpeed={6}
speed={1}
margin={32}
>
{ partners.map(item => <PartnersLogo partner={ item } />) }
</ScrollCarousel>
@@ -8,9 +8,13 @@
}
.scroll-carousel-viewport {
height: 200px;
.scroll-carousel-slider {
height: 100%;
.partner {
height: 256px;
height: 100%;
aspect-ratio: 1;
border-radius: 100%;
background: #D9D9D9;
@@ -24,3 +28,4 @@
}
}
}
}
@@ -22,7 +22,11 @@ const mock = [
link: "/projects",
},
{
image: project,
image: comBattle,
link: "/projects",
},
{
image: comBattle,
link: "/projects",
},
];
@@ -4,18 +4,17 @@
display: flex;
flex-wrap: wrap;
justify-content: space-between;
row-gap: 32px;
gap: 32px;
.card:first-of-type {
width: 100%;
aspect-ratio: 3;
.card:nth-child(-n + 2) {
flex: 1.5 1 40%;
}
.card {
display: block;
position: relative;
width: calc(100%/3 - 16px);
aspect-ratio: 3/2;
flex: 1 0.5 30%;
height: 250px;
border-width: 1px;
border-style: solid;
-1
View File
@@ -19,7 +19,6 @@ function Root() {
<div id="page">
<Outlet />
</div>
<UsersWP contacts={ contacts } />
<Footer />
</>
);
+2
View File
@@ -47,6 +47,8 @@ $btn-dark: #585858;
font-size: 36px;
font-weight: 600;
line-height: 44px;
margin-top: 1.5rem;
margin-bottom: 1.5rem;
}
.heading {