Skip to content

Commit ecf5efb

Browse files
authored
Merge pull request #13 from NetSepio/font_sizes
[FIX]: Reduced font sizes
2 parents beba1fe + e3b52b5 commit ecf5efb

4 files changed

Lines changed: 12 additions & 48 deletions

File tree

src/pages/PrivacyPolicy.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,12 +7,12 @@ const PrivacyPolicy = () => {
77
<div style={{ backgroundColor: "#040a20" }}>
88
<NavBar />
99
<div style={{ width: "70%", margin: "0 auto" }}>
10-
<h1 style={{ fontSize: "4rem", textAlign: "center", color: "#08d9c5" }}>
10+
<h1 style={{ fontSize: "2.25rem", textAlign: "center", color: "#08d9c5" }}>
1111
Privacy Policy
1212
</h1>
1313
<p
1414
style={{
15-
fontSize: "1.4rem",
15+
fontSize: "1rem",
1616
fontWeight: "400",
1717
paddingBottom: "5rem",
1818
paddingTop: "2rem",

src/pages/TermsofUse.jsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ const TermsOfUse = () => {
99
<NavBar />
1010
<div style={{ width: "70%", margin: "0 auto" }}>
1111
<h1
12-
style={{ fontSize: "4rem", textAlign: "center", color: "#08d9c5" }}
12+
style={{ fontSize: "2.25rem", textAlign: "center", color: "#08d9c5" }}
1313
>
1414
Terms and Conditions
1515
</h1>
1616
<p
1717
style={{
18-
fontSize: "1.4rem",
18+
fontSize: "1rem",
1919
fontWeight: "400",
2020
paddingBottom: "5rem",
2121
color: "white",

src/styles/Faq.css

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -73,13 +73,13 @@
7373
}
7474

7575
.faq-title {
76-
font-size: 4rem;
76+
font-size: 2.25rem;
7777
text-align: center;
7878
color: white;
7979
}
8080

8181
.faq-subtitle {
82-
font-size: 2rem;
82+
font-size: 1.5rem;
8383
text-align: center;
8484
color: #08d9c5;
8585
}
@@ -101,9 +101,9 @@
101101
background-color: #171717;
102102
color: white;
103103
border: none;
104-
padding: 25px;
104+
padding: 15px;
105105
text-align: left;
106-
font-size: 1.3rem;
106+
font-size: 1rem;
107107
font-weight: bold;
108108
display: flex;
109109
justify-content: space-between;
@@ -123,7 +123,7 @@
123123
.faq-answer {
124124
color: white;
125125
padding: 15px;
126-
font-size: 1.2rem;
126+
font-size: 1rem;
127127
display: block;
128128
border-radius: 0 0 5px 5px;
129129
}

src/styles/Mission.css

Lines changed: 3 additions & 39 deletions
Original file line numberDiff line numberDiff line change
@@ -11,16 +11,16 @@
1111
}
1212

1313
.mission-title {
14-
font-size: 4rem;
14+
font-size: 2.25rem;
1515
}
1616

1717
.mission-subtitle {
18-
font-size: 2rem;
18+
font-size: 1.5rem;
1919
padding-bottom: 2rem;
2020
}
2121

2222
.mission-text {
23-
font-size: 1.4rem;
23+
font-size: 1rem;
2424
padding-bottom: 4rem;
2525
font-weight: 200;
2626
text-align: left;
@@ -49,18 +49,6 @@
4949
width: 80%;
5050
}
5151

52-
.mission-title {
53-
font-size: 4rem;
54-
}
55-
56-
.mission-subtitle {
57-
font-size: 2.2rem;
58-
}
59-
60-
.mission-text {
61-
font-size: 1.5rem;
62-
}
63-
6452
.mission-image {
6553
width: 80%;
6654
height: auto;
@@ -72,34 +60,10 @@
7260
width: 90%;
7361
}
7462

75-
.mission-title {
76-
font-size: 3rem;
77-
}
78-
79-
.mission-subtitle {
80-
font-size: 2rem;
81-
}
82-
83-
.mission-text {
84-
font-size: 1.2rem;
85-
}
86-
8763
}
8864

8965
@media (max-width: 480px) {
9066
.mission-title {
9167
font-size: 2.5rem;
9268
}
93-
94-
.mission-subtitle {
95-
font-size: 1.8rem;
96-
}
97-
98-
.mission-text {
99-
font-size: 1rem;
100-
}
101-
102-
.mission-image {
103-
width: 100%;
104-
}
10569
}

0 commit comments

Comments
 (0)