forked from Its-Aman-Yadav/Community-Site
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' of https://github.com/Its-Aman-Yadav/Community-Site…
… into contact_us
- Loading branch information
Showing
27 changed files
with
3,013 additions
and
620 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,103 @@ | ||
|
||
|
||
/* Toggle button styles */ | ||
.toggle-container { | ||
position: absolute; | ||
display: inline-block; | ||
width: 60px; | ||
height: 34px; | ||
right: 40px; | ||
top: 10px; | ||
} | ||
|
||
.toggle-button { | ||
position: absolute; | ||
cursor: pointer; | ||
top: 0; | ||
left: 0; | ||
right: 0; | ||
bottom: 0; | ||
background-color: #ccc; | ||
transition: .4s; | ||
border-radius: 34px; | ||
} | ||
|
||
.toggle-button:before { | ||
position: absolute; | ||
content: ""; | ||
height: 26px; | ||
width: 26px; | ||
left: 4px; | ||
bottom: 4px; | ||
background-color: white; | ||
transition: .4s; | ||
border-radius: 50%; | ||
} | ||
|
||
body.dark-mode .toggle-button { | ||
background-color: #2196F3; | ||
} | ||
|
||
body.dark-mode .toggle-button:before { | ||
transform: translateX(26px); | ||
} | ||
|
||
.light-mode-icon, .dark-mode-icon { | ||
position: absolute; | ||
top: 50%; | ||
transform: translateY(-50%); | ||
width: 20px; | ||
height: 20px; | ||
} | ||
|
||
.light-mode-icon { | ||
left: 5px; | ||
} | ||
|
||
.dark-mode-icon { | ||
right: 5px; | ||
} | ||
|
||
body:not(.dark-mode) .dark-mode-icon, | ||
body.dark-mode .light-mode-icon { | ||
display: none; | ||
} | ||
|
||
|
||
/* Dark mode styles */ | ||
body.dark-mode { | ||
background: #1a1a1a; | ||
} | ||
|
||
body.dark-mode .card { | ||
background: #333; | ||
box-shadow: 0 0 10px rgba(255, 255, 255, 0.1); | ||
color: #ffffff; | ||
} | ||
|
||
body.dark-mode .back-button, | ||
body.dark-mode .back-button i{ | ||
color: #f1c11a !important; | ||
} | ||
|
||
body.dark-mode .usersubmit input{ | ||
background-color: #f1c11a; | ||
color: black; | ||
} | ||
|
||
body.dark-mode .form input::placeholder{ | ||
color: #ccc; | ||
} | ||
|
||
body.dark-mode .form textarea::placeholder{ | ||
color: #ccc; | ||
} | ||
|
||
body.dark-mode .address p, | ||
body.dark-mode .social i{ | ||
color: #f1c11a !important; | ||
} | ||
|
||
body.dark-mode .social i:hover{ | ||
color: #eedd9f !important; | ||
} |
Oops, something went wrong.