Added Dark Mode and working on color scheme

This commit is contained in:
its-michaelroy
2024-09-05 11:14:46 -04:00
parent 7fee0c8fc0
commit e58af57ab3
5 changed files with 106 additions and 20 deletions

View File

@@ -146,6 +146,31 @@ mark {
color: inherit;
}
#theme-toggle {
position: absolute;
top: 10px;
right: 10px;
font-size: 24px;
cursor: pointer;
}
.fa-sun {
color: #ffc107;
}
.fa-moon {
color: #6c757d;
}
.dark-mode {
background-color: #222;
color: #ddd;
}
.dark-mode a {
color: #49bf9d;
}
input::-moz-focus-inner {
border: 0;
padding: 0;
@@ -172,6 +197,10 @@ html {
box-sizing: inherit;
}
.hidden {
display: none;
}
body {
background: #fff;
}