Skip to content

Commit 9f1ff72

Browse files
fix: resolved clubs heading responsiveness issue (#832)
Co-authored-by: Tamal Das <tamalcodes@gmail.com>
1 parent 17e5e13 commit 9f1ff72

File tree

1 file changed

+40
-8
lines changed

1 file changed

+40
-8
lines changed

src/styles/ClubsPage.css

Lines changed: 40 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@
1010
justify-content: center;
1111
text-align: center;
1212
}
13+
1314
.cp_textdiv {
1415
width: 80%;
1516
}
17+
1618
.cp_header1 {
1719
font-family: Montserrat, sans-serif;
1820
font-size: 70px;
19-
line-height: 70px;
21+
line-height: 1;
2022
margin-bottom: 1.5rem !important;
2123
color: #28183b;
2224
}
@@ -106,13 +108,6 @@
106108
word-break: break-word;
107109
}
108110

109-
.cp_header1 {
110-
font-family: Montserrat, sans-serif;
111-
font-size: 3rem;
112-
line-height: 60px;
113-
margin-bottom: 1.5rem !important;
114-
color: #28183b;
115-
}
116111
.cp_header2 {
117112
font-family: Poppins, sans-serif;
118113
color: black;
@@ -121,3 +116,40 @@
121116
letter-spacing: 1px;
122117
}
123118
}
119+
120+
/* Clubs Heading Responsiveness */
121+
@media screen and (max-width: 1400px) {
122+
.cp_header1 {
123+
font-size: 60px;
124+
}
125+
}
126+
127+
@media screen and (max-width: 1200px) {
128+
.cp_header1 {
129+
font-size: 50px;
130+
}
131+
}
132+
133+
@media screen and (max-width: 1024px) {
134+
.cp_header1 {
135+
font-size: 46px;
136+
}
137+
}
138+
139+
@media screen and (max-width: 768px) {
140+
.cp_header1 {
141+
font-size: 42px;
142+
}
143+
}
144+
145+
@media screen and (max-width: 480px) {
146+
.cp_header1 {
147+
font-size: 40px;
148+
}
149+
}
150+
151+
@media screen and (max-width: 320px) {
152+
.cp_header1 {
153+
font-size: 35px;
154+
}
155+
}

0 commit comments

Comments
 (0)