Skip to content

Commit abaf862

Browse files
authored
Style improvements for color differentiation (#144)
1 parent 34f834d commit abaf862

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

frontend/game.css

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -117,8 +117,8 @@
117117
justify-content: center;
118118
align-items: center;
119119
text-align: center;
120-
width: 19%;
121-
height: 18%;
120+
width: 18%;
121+
height: 17%;
122122
}
123123

124124
.cell.disabled {
@@ -156,6 +156,7 @@
156156
}
157157
.codemaster .black.hidden-word {
158158
background: #999;
159+
outline: 4px solid #000000;
159160
}
160161
.codemaster .cell {
161162
font-weight: bold;
@@ -197,23 +198,23 @@
197198

198199
.color-blind .blue-remaining,
199200
.color-blind #status-line.blue #status {
200-
border: 2px solid #4183cc;
201+
border: 4px solid #4183cc;
201202
}
202203

203204
.color-blind .red-remaining,
204205
.color-blind #status-line.red #status {
205-
border: 2px dashed #d13030;
206+
border: 4px dashed #d13030;
206207
}
207208

208209
.color-blind.codemaster .red.hidden-word,
209210
.color-blind .red.revealed {
210-
outline: 2px dashed #d13030;
211+
outline: 4px dashed #d13030;
211212
border: 1px solid white;
212213
}
213214

214215
.color-blind.codemaster .blue.hidden-word,
215216
.color-blind .blue.revealed {
216-
outline: 2px solid #4183cc;
217+
outline: 4px solid #4183cc;
217218
border: 1px solid white;
218219
}
219220

@@ -242,6 +243,7 @@
242243
}
243244
.dark-mode .codemaster .black.hidden-word {
244245
background: #444;
246+
outline: 4px solid #000000;
245247
}
246248

247249
.dark-mode #end-turn-btn,

0 commit comments

Comments
 (0)