-
Notifications
You must be signed in to change notification settings - Fork 0
/
game-style.css
119 lines (100 loc) · 1.93 KB
/
game-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
112
113
114
115
116
117
118
119
:root {
--box-sizeX: 25px;
--box-sizeY: 25px;
}
.game {
width: 100%;
height: 100%;
display: grid;
justify-content: center;
transition: padding-bottom .4s ease-in-out, padding-top .4s ease-in-out;
}
.table {
width: 100%;
height: 100%;
display: grid;
justify-content: center;
align-content: center;
}
.table-line {
width: 100%;
height: 100%;
display: flex;
justify-content: right;
align-content: center;
}
.table-box {
width: var(--box-sizeX);
height: var(--box-sizeY);
border: outset white 3px;
background: var(--empty-box);
transition: height .4s ease-in-out, width .4s ease-in-out, border .3s ease-in-out;
}
.table-box.animation {
width: 0;
height: 0;
border: outset white 0px;
}
.table-box.hovered {
background: white;
}
.table-box.flag {
background: red;
background:url("assets/images/flag.png") no-repeat;
}
.table-box.bomb {
/*background: blue;*/
}
.table-box.number {
background: var(--filled-box);
display: flex;
justify-content: center;
align-items: center;
border: inset white 3px;
font-size: large;
font-weight: bolder;
font-family: Helvetica, sans-serif;
}
.table-box.number.one {
color: #263bc7;
}
.table-box.number.two {
color: #1fa141;
}
.table-box.number.three {
color: #d42433;
}
.table-box.number.four {
color: #550f8a;
}
.table-box.number.five {
color:#9c0b4a;
}
.table-box.number.six {
color: #068a7f;
}
.table-box.number.seven {
color: #004506;
}
.table-box.number.eight {
color: #3f0052;
}
.timer-box {
width: 50px;
height: 100%;
background: var(--empty-box);
display: grid;
justify-content: center;
align-content: center;
align-self: center;
transition: height .3s ease-in-out, font-size .3s ease-in-out;
}
.timer-box.animation {
height: 0;
font-size: 0;
}
.timer {
width: auto;
height: 100%;
margin: 5px;
}