-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
111 lines (92 loc) · 1.93 KB
/
style.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
99
100
101
102
103
104
105
106
107
108
109
110
111
* {
color: #ffffff;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif
}
body{
background-color: #121213;
}
.gameContainer{
height: 90vh;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.titleContainer{
text-align: center;
width: 510px;
border-bottom: solid 1px #3a3a3c;
}
.tileContainer{
width: 330px;
margin-bottom: 30px;
}
.keyContainer{
width: 510px;
display: flex;
flex-wrap: wrap;
}
.keyContainer button {
width: 43px;
height: 58px;
border-radius: 4px;
border: none;
background-color: #818384;
margin: 4px;
}
.keyContainer button:nth-child(11) {
margin-left: 30px;
}
.keyContainer button:nth-child(20),
.keyContainer button:nth-child(28) {
width: 68px;
}
.tileContainer div {
display: flex;
}
.tileContainer .tile {
width: 62px;
height: 62px;
border: 2px solid #3a3a3c;
box-sizing: border-box;
justify-content: center;
align-items: center;
margin: 2px;
}
.messageContianer {
height: 30px;
}
.messageContianer p {
background-color: #818384;
border-radius: 10px;
padding: 10px;
margin: 0;
}
.tile.flip {
animation: 0.5s linear flipping;
}
@keyframes flipping {
0% {
transform: rotateX(0deg);
}
50% {
transform: rotateX(90deg);
}
100% {
transform: rotateX(0deg);
}
}
/* important so that backgrounf color should be overwritten */
/* order is also important gray -> yellow -> green */
.grayOverlay {
background-color: #3a3a3c !important;
border: none !important;
}
.yellowOverlay {
background-color: #b59f3a !important;
border: none !important;
}
.greenOverlay {
background-color: #538d4e !important;
border: none !important;
}