Skip to content

Commit

Permalink
fix: resolved clubs heading responsiveness issue (#832)
Browse files Browse the repository at this point in the history
Co-authored-by: Tamal Das <tamalcodes@gmail.com>
  • Loading branch information
Chirayu31 and tamalCodes committed Jun 15, 2023
1 parent 17e5e13 commit 9f1ff72
Showing 1 changed file with 40 additions and 8 deletions.
48 changes: 40 additions & 8 deletions src/styles/ClubsPage.css
Original file line number Diff line number Diff line change
Expand Up @@ -10,13 +10,15 @@
justify-content: center;
text-align: center;
}

.cp_textdiv {
width: 80%;
}

.cp_header1 {
font-family: Montserrat, sans-serif;
font-size: 70px;
line-height: 70px;
line-height: 1;
margin-bottom: 1.5rem !important;
color: #28183b;
}
Expand Down Expand Up @@ -106,13 +108,6 @@
word-break: break-word;
}

.cp_header1 {
font-family: Montserrat, sans-serif;
font-size: 3rem;
line-height: 60px;
margin-bottom: 1.5rem !important;
color: #28183b;
}
.cp_header2 {
font-family: Poppins, sans-serif;
color: black;
Expand All @@ -121,3 +116,40 @@
letter-spacing: 1px;
}
}

/* Clubs Heading Responsiveness */
@media screen and (max-width: 1400px) {
.cp_header1 {
font-size: 60px;
}
}

@media screen and (max-width: 1200px) {
.cp_header1 {
font-size: 50px;
}
}

@media screen and (max-width: 1024px) {
.cp_header1 {
font-size: 46px;
}
}

@media screen and (max-width: 768px) {
.cp_header1 {
font-size: 42px;
}
}

@media screen and (max-width: 480px) {
.cp_header1 {
font-size: 40px;
}
}

@media screen and (max-width: 320px) {
.cp_header1 {
font-size: 35px;
}
}

0 comments on commit 9f1ff72

Please sign in to comment.