-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
109 lines (93 loc) · 1.64 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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
color: #FFF;
font-family: 'Trebuchet MS', 'Lucida Sans Unicode', 'Lucida Grande', 'Lucida Sans', Arial, sans-serif;
}
html {
font-size: 62.5%;
}
body {
background-color: #1b1b1b;
}
.game-container {
height: 90vh;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: center;
}
.title-container {
text-align: center;
width: 51rem;
border-bottom: 1px solid #3a3a3c;
}
.tile-container {
width: 33rem;
margin-bottom: 3rem;
}
.tile-container div {
display: flex;
}
.tile-container .tile {
width: 6.2rem;
height: 6.2rem;
border: 2px solid #3a3a3c;
display: flex;
justify-content: center;
align-items: center;
margin: 0.2rem;
font-size: 2rem;
}
.keyboard-container {
width: 55rem;
display: flex;
flex-wrap: wrap;
}
.keyboard-container button {
width: 4.5rem;
height: 4.5rem;
border-radius: 0.4rem;
border: none;
background-color: #818384;
margin: 0.4rem;
font-size: 2rem;
}
.keyboard-container button:nth-child(28) {
width: 7.5rem;
}
.message-container {
height: 30px;
}
.message-container p {
background-color: #818384;
border-radius: 1rem;
padding: 1rem;
}
@keyframes flipping{
0%{
transform: rotateX(0deg);
}
50%{
transform: rotateX(90deg);
}
100%{
transform: rotateX(0deg);
}
}
.tile.flip{
animation: 0.5s linear flipping;
}
.grey-overlay {
background-color: #3a3a3c !important;
border:none !important;
}
.yellow-overlay {
background-color: #b59f3a !important;
border:none !important;
}
.green-overlay {
background-color: #538d4e !important;
border:none !important;
}