Skip to content

Commit

Permalink
Merge pull request #1648 from Ankitha2130/main
Browse files Browse the repository at this point in the history
Made color changing on dark mode
  • Loading branch information
PriyaGhosal authored Oct 28, 2024
2 parents 516c7f9 + 393a375 commit 120669e
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -714,6 +714,17 @@ <h4>Fly</h4>
</div>

</div>
<style>
.dark-mode .card{
background: #0e0e0e;
}
.dark-mode .card h4{
color: #f39c12;
}
.dark-mode .card p{
color: #fff;
}
</style>
<script>
document.addEventListener("DOMContentLoaded", function () {
const cards = document.querySelectorAll(".card");
Expand Down

0 comments on commit 120669e

Please sign in to comment.