-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyle.css
More file actions
99 lines (85 loc) · 1.49 KB
/
style.css
File metadata and controls
99 lines (85 loc) · 1.49 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
html {
background-color: #3c3c3c;
color: white;
font-family: Helvetica;
}
#wordle-board {
padding: 20px;
}
.word-row {
width: 300px;
display: flex;
flex-wrap: nowrap;
justify-content: space-evenly;
margin: 10px auto;
}
.letter-square {
width: 50px;
height: 50px;
background-color: #3c3c3c;
border-radius: 10px;
border: 2px solid #555;
font-size: 24px;
text-align: center;
line-height: 50px;
font-weight: bold;
}
.incorrect {
background-color: #555;
}
.keyboard-letter.incorrect {
background-color: #444;
color: #aaa;
}
.keyboard-letter.wrong-place, .wrong-place {
background-color: #ffcc00;
border-color: #ffcc00;
}
.keyboard-letter.correct, .correct {
background-color: #12b700;
border-color: #12b700;
}
.keyboard-row {
display: flex;
flex-wrap: nowrap;
justify-content: space-evenly;
margin: 10px auto;
max-width: 500px;
min-width: 375px;
}
.keyboard-letter {
text-align: center;
width: 12px;
padding: 7px 10px;
background-color: #555;
border-radius: 5px;
cursor: pointer;
font-weight: bold;
}
.keyboard-backspace {
text-align: center;
padding: 5px 5px 0 5px;
background-color: #555;
border-radius: 5px;
cursor: pointer;
}
.keyboard-letter:hover, .keyboard-backspace:hover, .button:hover {
background-color: #666;
}
#textPrompt {
height: 40px
font-size: 20px;
text-align: center;
}
.button {
background-color: #555;
padding: 10px;
border-radius: 7px;
text-align: center;
cursor: pointer;
width: 80px;
margin: 7px auto;
}
#keyboard {
margin-top: 25px;
}