Skip to content

Commit

Permalink
Optimised the faq page for dark theme
Browse files Browse the repository at this point in the history
  • Loading branch information
PranavKeshav24 committed Jun 4, 2024
1 parent 3999889 commit aa52eda
Showing 1 changed file with 41 additions and 36 deletions.
77 changes: 41 additions & 36 deletions src/styles/Faq.css
Original file line number Diff line number Diff line change
@@ -1,39 +1,44 @@
.main-heading {
display: flex;
margin-top: 30px;
padding: 20px;
background: #f1f4ff;
border-radius: 5px;
box-shadow: rgba(0, 0, 0, 0.16) 0 1px 4px;
cursor: pointer;
color: #303243; /* Add this line to set the text color to the default color */
}


.main-heading {
display: flex;
margin-top: 30px;
padding: 20px;
background: #f1f4ff;
border-radius: 5px;
box-shadow: rgba(0, 0, 0, 0.16) 0 1px 4px;
cursor: pointer;
}

.main-heading h3 {
margin-left: 30px;
color: #303243;
word-spacing: 1px;
letter-spacing: 1px;
font-weight: 600;
font-size: 18px;
}
.main-heading p {
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}
.main-heading h3 {
margin-left: 30px;
word-spacing: 1px;
letter-spacing: 1px;
font-weight: 600;
font-size: 18px;
}

.answers {
padding: 30px 20px 40px 20px;
font-size: 16px;
font-weight: 500;
background: #dde4ff;
color: rgb(40, 37, 53);
border-radius: 0 0 5px 5px;
}
.main-heading p {
cursor: pointer;
display: flex;
align-items: center;
justify-content: center;
}

body.dark .answers {
color: rgb(40, 37, 53);
}
.answers {
padding: 30px 20px 40px 20px;
font-size: 16px;
font-weight: 500;
background: #dde4ff;
color: rgb(40, 37, 53);
border-radius: 0 0 5px 5px;
}

body.dark .answers {
background-color: #222222;
color: white;
}

body.dark .main-heading {
background-color: #333333;
color: white;
}

0 comments on commit aa52eda

Please sign in to comment.