-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #8 from MyBaBB/Dark-Mode
Dark mode
- Loading branch information
Showing
7 changed files
with
2,680 additions
and
4,282 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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
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,125 @@ | ||
|
||
|
||
body.dark-mode { | ||
background-color: black; | ||
color: black; | ||
} | ||
|
||
@media screen and (max-width: 454px) { | ||
.title { | ||
font-size: 22px !important; | ||
} | ||
} | ||
.title { | ||
text-shadow: 2px 2px 4px #000000; | ||
|
||
} | ||
.dark-mode .title { | ||
color: skyblue !important; ; | ||
} | ||
.dark-mode #header { | ||
background-color: black; | ||
border: 1px solid skyblue; | ||
|
||
} | ||
|
||
|
||
.dark-mode-button { | ||
appearance: none; | ||
background-color:transparent; | ||
border: none; | ||
cursor: pointer; | ||
display: inline-block; | ||
height: 30px; | ||
outline: none; | ||
position: relative; | ||
width: 30px; | ||
} | ||
|
||
body { | ||
transition: background-color 1s ease; | ||
} | ||
@media screen and (max-width: 554px) { | ||
.buttonWrapper { | ||
top:1.2rem !important; | ||
right: 1.5rem !important; | ||
} | ||
|
||
} | ||
.buttonWrapper { | ||
position: absolute; | ||
top:2.2rem; | ||
right: 2.5rem; | ||
width: -moz-fit-content; | ||
width: fit-content; | ||
|
||
} | ||
|
||
.dark-mode ::placeholder { | ||
color: skyblue; | ||
|
||
} | ||
.dark-mode .message.user .message-content { | ||
word-wrap: break-word; | ||
background-color: #081729; | ||
color: skyblue; | ||
text-shadow: 1px 1px 2px #000000; | ||
letter-spacing: 1.15px; | ||
margin-top: .25rem; | ||
} | ||
|
||
.dark-mode .message.ai .message-content { | ||
background-color: #081729; | ||
color: skyblue; | ||
|
||
margin-top: .25rem; | ||
} | ||
|
||
.dark-mode .message-area { | ||
background-color: #1d1d1d; | ||
} | ||
.dark-mode .avatar img { | ||
background-color: rgb(42, 105, 130); | ||
border: 2px solid skyblue; | ||
|
||
|
||
} | ||
.dark-mode .aiResponses, | ||
.dark-mode .userMessages { | ||
background-color: black; | ||
border-radius: 0px 0px 5px 5px; | ||
color: lightblue; | ||
text-shadow: 1px 1px 2px #000000; | ||
border-bottom: black; | ||
} | ||
@media screen and (max-width: 454px) { | ||
.dark-mode .aiResponses, | ||
.dark-mode .userMessages { | ||
font-size: 18px; | ||
background-color: black; | ||
border-radius: 0px 0px 5px 5px; | ||
color: lightblue; | ||
text-shadow: 1px 1px 2px #000000; | ||
border-bottom: black; | ||
} | ||
} | ||
.dark-mode #send-btn:hover { | ||
background-color: #007bff; | ||
|
||
|
||
} | ||
.dark-mode #send-btn { | ||
background-color: #0f2a4e; | ||
text-shadow: 1px 1px 2px #000000; | ||
color: lightblue; | ||
/* background-color: #007bff; */ | ||
} | ||
.dark-mode #message-areas { | ||
background-color: black; | ||
} | ||
|
||
.dark-mode #user-input { | ||
background-color: #1d1d1d !important; | ||
border: 1px solid skyblue !important; | ||
color: white !important; | ||
} |
Oops, something went wrong.