-
Notifications
You must be signed in to change notification settings - Fork 2
/
wordle.css
77 lines (64 loc) · 1.26 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
body {
font-family:Arial, Helvetica, sans-serif;
text-align: center;
margin-left: 500px;
flex-direction: row-reverse;
background-image: url("all_might.jpg");
background-repeat: no-repeat;
background-color:#2d3c8c;
color: white;
}
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: white;
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;
}
#play-again {
font-size: 12px;
font-weight:bold;
color: #303c8c;
display: flex;
justify-content: center;
margin: 0 auto; /* Center the button horizontally */
}
/* Use # for id items and . for classes eg. #ID_item and .class_item */