-
Notifications
You must be signed in to change notification settings - Fork 2
/
wordle.css
98 lines (83 loc) · 1.42 KB
/
wordle.css
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
body {
font-family: Arial, Helvetica, sans-serif;
text-align: center;
}
hr {
width: 500px;
}
#title {
font-size: 36px;
font-weight: bold;
letter-spacing: 2px;
}
#board {
width: 350px;
height: 420px;
margin: 0 auto;
margin-top: 3px;
display: flex;
flex-wrap: wrap;
}
.tile {
/* Box */
border: 2px solid lightgray;
width: 60px;
height: 60px;
margin: 2.5px;
/* Text */
color: black;
font-size: 36px;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
}
.correct {
background-color: #6AAA64;
color: white;
border-color: white;
}
.present {
background-color: #C9B458;
color: white;
border-color: white;
}
.absent {
background-color: #787C7E;
color: white;
border-color: white;
}
.keyboard-row {
width: 400px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
}
#A {
justify-content: center;
}
.key-tile {
width: 36px;
height: 40px;
margin: 1px;
border: 1px solid lightgray;
border-radius: 5px;
/* Text */
font-size: 20px;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
}
.enter-key-tile {
width: 76px;
height: 40px;
margin: 1px;
border: 1px solid lightgray;
/* Text */
font-size: 20px;
font-weight: bold;
display: flex;
justify-content: center;
align-items: center;
}