-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path2048.tcss
More file actions
118 lines (110 loc) · 1.56 KB
/
2048.tcss
File metadata and controls
118 lines (110 loc) · 1.56 KB
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
#over {
column-span: 2;
height: 1fr;
width: 1fr;
content-align: center middle;
}
Button {
width: 1fr;
}
#header {
grid-size: 2;
grid-gutter: 1;
grid-rows: 1fr 3;
height: auto;
background: $surface;
}
#game-grid {
padding: 1;
layout: grid;
grid-size: 4;
grid-gutter: 1;
background: lightgrey;
}
.title {
height: auto;
width: 2fr;
color: yellow;
padding: 0 22;
align-horizontal: center;
}
.score {
height: auto;
width: 1fr;
color: green;
align-horizontal: right;
}
.number {
height: auto;
width: auto;
align-vertical: bottom;
}
.cell {
height: 100%;
width: 100%;
align-horizontal: center;
align-vertical: middle;
}
.level0 {
background: #424949;
}
.level1 {
color: black;
background: #b3e5fc
}
.level2 {
color: black;
background: #4fc3f7
}
.level3 {
color: white;
background: #03a9f4
}
.level4 {
color: black;
background: #dcedc8
}
.level5 {
color: black;
background: #81c784
}
.level6 {
color: black;
background: #4caf50
}
.level7 {
color: black;
background: #fff9c4
}
.level8 {
color: black;
background: #fff176
}
.level9 {
color: black;
background: #ffeb3b
}
.level10 {
color: black;
background: #ffe0b2
}
.level11 {
color: black;
background: #ffb74d
}
.level12 {
color: black;
background: #ff9800
}
.level13 {
color: black;
background: #ffcdd2
}
.level14 {
color: black;
background: #e57373
}
.level15 {
color: black;
background: #f44336
}