Skip to content

Commit 37ef328

Browse files
reduce spacing
Signed-off-by: Rajesh-Nagarajan-11 <rajeshnagarajan36@gmail.com>
1 parent e778f11 commit 37ef328

1 file changed

Lines changed: 18 additions & 17 deletions

File tree

src/sections/Solutions/minimize-complexity-section.js

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ import { ReactComponent as KanvasLogo } from "./images/kanvas-icon.svg";
88
import { ReactComponent as CNPLogo } from "./images/smp.svg";
99
import { ReactComponent as NighthawkLogo } from "./images/nighthawk-logo.svg";
1010

11+
1112
const MinimizeComplexitySectionWrapper = styled.section`
1213
width: 100vw;
1314
position: relative;
@@ -18,17 +19,17 @@ const MinimizeComplexitySectionWrapper = styled.section`
1819
1920
display: flex;
2021
justify-content: center;
21-
background: ${(props) => props.theme.blackToWhite || "transparent"};
22-
padding: 6rem 2rem;
22+
background: ${(props) => props.theme.blackToWhite};
23+
padding: 3rem 2rem;
2324
overflow: hidden;
2425
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
2526
2627
@media (max-width: 992px) {
27-
padding: 4rem 2rem;
28+
padding: 3rem 2rem;
2829
}
2930
3031
@media (max-width: 600px) {
31-
padding: 3rem 1rem;
32+
padding: 2rem 1rem;
3233
}
3334
`;
3435

@@ -44,32 +45,32 @@ const MainHeading = styled.h2`
4445
font-size: 56px;
4546
line-height: 64px;
4647
letter-spacing: 0;
47-
color: ${({ theme }) => theme.whiteToBlack || "#ffffff"};
48-
margin: 0 0 3rem 0;
48+
color: ${({ theme }) => theme.whiteToBlack};
49+
margin: 0 0 2rem 0;
4950
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
5051
5152
@media (max-width: 600px) {
5253
font-size: 48px;
5354
line-height: 56px;
54-
margin-bottom: 2rem;
55+
margin-bottom: 1.5rem;
5556
}
5657
`;
5758

5859
const ContentWrapper = styled.div`
5960
display: flex;
60-
gap: 4rem;
61+
gap: 3rem;
6162
6263
@media (max-width: 992px) {
6364
flex-direction: column;
64-
gap: 3rem;
65+
gap: 2rem;
6566
}
6667
`;
6768

6869
const LeftColumn = styled.div`
6970
flex: 1 1 45%;
7071
display: flex;
7172
flex-direction: column;
72-
gap: 2rem;
73+
gap: 1.5rem;
7374
7475
@media (max-width: 992px) {
7576
max-width: 100%;
@@ -93,7 +94,7 @@ const DescriptionText = styled.p`
9394
font-size: 16px;
9495
line-height: 28px;
9596
letter-spacing: 0;
96-
color: ${({ theme }) => theme.whiteToBlack || "#ffffff"};
97+
color: ${({ theme }) => theme.whiteToBlack };
9798
margin: 0;
9899
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
99100
@@ -110,8 +111,8 @@ const ProductsHeading = styled.h3`
110111
line-height: 20px;
111112
letter-spacing: 1px;
112113
text-transform: uppercase;
113-
color: ${({ theme }) => theme.whiteToBlack || "#ffffff"};
114-
margin: 2rem 0 1rem 0;
114+
color: ${({ theme }) => theme.whiteToBlack};
115+
margin: 1.5rem 0 0.75rem 0;
115116
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
116117
`;
117118

@@ -142,16 +143,16 @@ const RightHeading = styled.h3`
142143
font-weight: 400;
143144
font-size: 20px;
144145
line-height: 28px;
145-
color: ${({ theme }) => theme.whiteToBlack || "#ffffff"};
146-
margin: 0 0 2rem 0;
146+
color: ${({ theme }) => theme.whiteToBlack };
147+
margin: 0 0 1.5rem 0;
147148
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
148149
`;
149150

150151
const ChecklistItem = styled.div`
151152
display: flex;
152153
align-items: flex-start;
153154
gap: 1rem;
154-
margin-bottom: 1.5rem;
155+
margin-bottom: 1rem;
155156
`;
156157

157158
const CheckIcon = styled.div`
@@ -177,7 +178,7 @@ const ChecklistText = styled.p`
177178
font-weight: 400;
178179
font-size: 16px;
179180
line-height: 24px;
180-
color: ${({ theme }) => theme.whiteToBlack || "#ffffff"};
181+
color: ${({ theme }) => theme.whiteToBlack};
181182
margin: 0;
182183
transition: 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
183184

0 commit comments

Comments
 (0)