Skip to content

Commit 65fa6a2

Browse files
authored
Merge pull request #1091 from meetarora10/toggle-branch
feat: Added dark mode effects on the FAQ page.
2 parents 96e694a + ac26de3 commit 65fa6a2

File tree

1 file changed

+26
-1
lines changed

1 file changed

+26
-1
lines changed

faq.html

+26-1
Original file line numberDiff line numberDiff line change
@@ -146,6 +146,31 @@
146146
pointer-events: none;
147147
z-index: 9999;
148148
}
149+
body.dark-theme .accordion{
150+
background-color: #040565;
151+
}
152+
body.dark-theme #btn-style{
153+
border: 2px solid red;
154+
color: #fdbb2dbf
155+
}
156+
body.dark-theme .accordion__title{
157+
color: white;
158+
}
159+
body.light-theme .accordion__title{
160+
color: black;
161+
}
162+
body.dark-theme .accordion__question{
163+
color: white;
164+
}
165+
body.light-theme .accordion__question{
166+
color: black;
167+
}
168+
body.dark-theme .accordion__answer{
169+
color: white;
170+
}
171+
body.light-theme .accordion__answer{
172+
color: black;
173+
}
149174
</style>
150175
<link rel="stylesheet" href="imstyle.css">
151176
<link rel="stylesheet" href="jquery.flipster.min.css">
@@ -286,7 +311,7 @@
286311

287312

288313
<!-- --FAQ-- -->
289-
<div class="accordion__wrapper">
314+
<div class="accordion__wrapper" id="acc">
290315
<h1 class="accordion__title">Frequently Asked Questions</h1>
291316

292317
<!-- Accordion 1 -->

0 commit comments

Comments
 (0)