-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path2048.css
More file actions
66 lines (64 loc) · 1006 Bytes
/
Copy path2048.css
File metadata and controls
66 lines (64 loc) · 1006 Bytes
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
[id*=block] {
vertical-align:top;
display: inline-block;
position: relative;
width: 17.5vh;
height:17.5vh;
text-align: center;
margin-left: -2px;
margin-right: -2px;
margin-top: 0px;
margin-bottom: 0px;
}
[id*=row] {
margin: 0 calc((100vw - 70vh - 16px)/2) 0 calc((100vw - 70vh - 16px)/2);
overflow: hidden;
}
[id*=score] {
position: relative;
font-size: 5vh;
height:10vh;
overflow: hidden;
text-align: center;
}
[id*=score] > p {
line-height: 10vh;
}
[class=blank] {
background-color: #f44242;
}
[class=n2]{
background-color: #f48c41;
}
[class=n4]{
background-color: #f4ca41;
}
[class=n8]{
background-color: #e8f441;
}
[class=n16]{
background-color: #88f441;
}
[class=n32]{
background-color: #41f48e;
}
[class=n64]{
background-color: #41f4e8;
}
[class=n128]{
background-color: #41a3f4;
}
[class=n256]{
background-color: #4158f4;
}
[class=n512]{
background-color: #8b41f4;
}
[class=n1024]{
background-color: #ee41f4;
}
p {
margin: 0px;
font-size: 8vh;
line-height:20vh;
}