Skip to content

Commit d75235b

Browse files
authored
Merge pull request #240 from MattMadness/master
Fixed themes and alphabetized them.
2 parents 752d172 + 3f4e54e commit d75235b

File tree

7 files changed

+99
-48
lines changed

7 files changed

+99
-48
lines changed

client/client.js

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -941,6 +941,7 @@ function userIgnore(nick) {
941941
/* color scheme switcher */
942942

943943
var schemes = [
944+
'amoled',
944945
'android',
945946
'android-white',
946947
'andromeda',
@@ -952,12 +953,18 @@ var schemes = [
952953
'banana',
953954
'bright',
954955
'bubblegum',
956+
'carrot',
957+
'catppuccin',
955958
'chalk',
956959
'default',
957960
'eighties',
958961
'fresh-green',
962+
'fried-egg',
963+
'flamingo',
959964
'greenscreen',
965+
'gruvbox-light',
960966
'hacker',
967+
'lax',
961968
'maniac',
962969
'mariana',
963970
'military',
@@ -970,21 +977,14 @@ var schemes = [
970977
'omega',
971978
'pop',
972979
'railscasts',
980+
'rainbow',
981+
'retro',
973982
'solarized',
974983
'sunlight',
975984
'tomorrow',
976985
'tk-night',
977-
'carrot',
978-
'catppuccin',
979-
'lax',
980-
'Ubuntu',
981-
'gruvbox-light',
982-
'fried-egg',
983-
'rainbow',
984-
'amoled',
985-
'retro',
986-
'Waifu',
987-
'flamingo'
986+
'ubuntu',
987+
'waifu'
988988
];
989989

990990
var highlights = [

client/imgs/makima.svg

Lines changed: 41 additions & 0 deletions
Loading

client/schemes/amoled.css

Lines changed: 5 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,12 @@ input,
66
textarea {
77
color: #a6a28c;
88
}
9-
.message {
10-
border-left: #000000;
9+
.refmessage, .message, #sidebar {
10+
border-left: 1px solid #404040;
11+
background: #000000;
1112
}
12-
.refmessage {
13-
border-left: #000000;
13+
#chatform {
14+
border-top: 1px solid #404040;
1415
}
1516
.nick {
1617
color: #778fd8;
@@ -41,10 +42,3 @@ textarea {
4142
#footer {
4243
background: #000000;
4344
}
44-
#sidebar {
45-
background: #000000;
46-
border-color: #000000;
47-
}
48-
#chatform {
49-
border-color: #000000;
50-
}

client/schemes/nebula.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,4 +35,4 @@ body{
3535
.warn .nick,
3636
.warn .text {
3737
color: #ff6c6c;
38-
}
38+
}

client/schemes/retro.css

Lines changed: 30 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ label[for=pin-sidebar] {
116116
left: 36px;
117117
height: 14px;
118118
padding: 2px 3px;
119-
content: "#programming [+ver 1.0] :: https://hack.chat - The Next Frontier of Unknown Pleasures";
119+
content: "#programming [+ver 1.0] :: https://hack.chat - a minimal, distraction-free chat application";
120120
border: 2px solid gray;
121121
border-bottom: 2px solid gray;
122122
background: linear-gradient(to right, #000080, #1084d0);
@@ -131,38 +131,54 @@ label[for=pin-sidebar] {
131131
}
132132
#sidebar {
133133
width: 195px;
134+
color: #7F7F7F;
134135
}
135136
#users li {
136137
list-style-type: none!important;
137138
margin-left: -1.3em;
138139
margin-top: 0.5em;
139140
}
141+
#sidebar-content hr {
142+
border:none;
143+
height:12px;
144+
color:#7F7F7F;
145+
background-color:#7F7F7F;
146+
flex:0 0 100%;
147+
}
140148
#sidebar-content {
141149
display: flex;
150+
flex-wrap: wrap;
142151
flex-direction: column-reverse;
143152
justify-content:start;
144153
align-items:start;
145154
}
146-
#sidebar-content hr {
147-
display:none;
155+
#sidebar-content > :nth-child(21) {
156+
display: none;
157+
}
158+
#sidebar-content > :nth-child(1) {
159+
display: none;
148160
}
149161
#sidebar-content select, #sidebar-content button {
150162
border-radius: 0;
151163
margin-bottom: 0.5em;
152164
}
153-
#sidebar-content > :nth-child(19) {
154-
/* border: 1px solid red; */
155-
margin-top: 80vh;
156-
margin-bottom: 2.5em;
157-
}
158-
#sidebar-content > :nth-child(22) {
159-
display: none;
165+
#sidebar-content > :nth-child(19) > button {
166+
border: 2px outset red;
167+
background-color:darkred;
160168
}
161-
#sidebar-content > :nth-child(21) {
162-
display: none;
169+
#sidebar:hover {
170+
#sidebar-content > :nth-child(-n+22) {
171+
display:block;
172+
}
173+
#sidebar-content > :nth-child(1) {
174+
display: none;
175+
}
176+
#sidebar-content > :nth-child(21) {
177+
display: none;
178+
}
163179
}
164-
#sidebar-content > :nth-child(1) {
165-
display: none;
180+
#sidebar-content > :nth-child(-n+22) {
181+
display:none;
166182
}
167183

168184
/* chat form */
@@ -282,4 +298,3 @@ pre {
282298
margin-left: 320px;
283299
}
284300

285-
Lines changed: 11 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,20 +27,20 @@ body {
2727
padding: 10px;
2828
}
2929

30-
/* Add Makima in the top right corner */
30+
/* Add Makima on the bottom left */
3131
body::after {
3232
content: "";
3333
display: block;
3434
position: fixed;
35-
top: 10px;
36-
right: 10px;
37-
width: 50px;
38-
height: 50px;
39-
background: url('https://static.wikia.nocookie.net/chainsaw-man/images/d/d9/Makima_anime_design_2.png/revision/latest?cb=20220919121118') no-repeat;
40-
background-size: cover;
41-
border-radius: 50%;
42-
z-index: 9999;
43-
filter: drop-shadow(2px 2px 4px #000);
35+
bottom: -125px;
36+
left: 10px;
37+
width: 200px;
38+
background: url('/imgs/makima.svg') no-repeat;
39+
background-size: contain;
40+
background-position:bottom left;
41+
z-index: 1;
42+
height: 598px;
43+
filter:opacity(75%);
4444
}
4545

4646
/* Additional styles for a kawaii touch */
@@ -54,3 +54,4 @@ body::after {
5454
border-radius: 10px;
5555
box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
5656
}
57+

0 commit comments

Comments
 (0)