-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathblocks.css
74 lines (62 loc) · 1.12 KB
/
blocks.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
*, *:before, *:after {
-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
-moz-box-sizing: border-box; /* Firefox, other Gecko */
box-sizing: border-box; /* Opera/IE 8+ */
}
html, body {
font-family: sans-serif;
margin: 0;
height: 100%;
width: 100%;
}
body {
background-color: #f0f0f0;
padding: 100px 0px;
}
div#gameArea {
margin: auto;
width: 460px;
position: relative;
}
table {
table-layout: fixed;
padding: 0;
border-collapse: collapse;
}
table#blocks {
position: absolute;
left: -60px;
top: -60px;
background-color: #f0f0f0;
}
table#nextPiece {
background-color: white;
}
div#info {
position: absolute;
right: 0;
}
div#info > div {
height: 30px;
width: 150px;
background-color: white;
padding-left: 10px;
line-height: 30px;
border-top: solid 1px #f0f0f0;
}
td {
height: 30px;
width: 30px;
padding: 0;
margin: 0;
}
td.hidden {
visibility: hidden;
}
table#blocks td {
border: solid 1px #f0f0f0;
background-color: white;
}
table#nextPiece td {
padding-left: 10px;
}