-
Notifications
You must be signed in to change notification settings - Fork 1
/
styles.css
97 lines (83 loc) · 1.52 KB
/
styles.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
.title-container {
text-align: center;
width: 510px;
margin-top: 1rem;
}
.letter-yellow {
color: #c79c2e;
}
.letter-green {
color: #51b36e;
}
.letter-red {
color: #943e3c;
}
.app-container {
max-width: 500px;
margin-left: auto;
margin-right: auto;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.tile-row {
margin-bottom: 1rem;
justify-content: center;
display:flex;
box-sizing: border-box;
}
.tile-column {
background-color: #f4f3f1;
color: #252525;
height: 40px;
width: 48px;
border-radius: 0.25rem;
margin-right: 0.5rem;
font-size: 20px;
align-items: center;
justify-content: center;
display:flex;
}
.typing {
border: 3px solid #252525;
}
.disabled {
border: 1px solid #252525;
}
.right {
background-color: #51b36e;
color: #f4f3f1;
}
.wrong {
background-color: #943e3c;
color: #f4f3f1;
}
.displaced {
background-color: #c79c2e;
color: #f4f3f1;
}
.keyboard-container {
width: 100%;
display: flex;
flex-direction: column;
}
.keyboard-row-container {
flex-wrap: wrap;
align-items: center;
margin-bottom: 0.5rem;
justify-content: center;
display: flex;
}
.keyboard-row-container.notAlphabetic {
width:100%
}
.keyboard-row-container:not(.notAlphabetic) button {
width: 8%;
height: 40px;
border-radius: 0.25rem;
margin-right: 0.25rem;
border: 1px solid #252525;
font-size: 16px;
cursor: pointer;
}