-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
176 lines (176 loc) · 4.11 KB
/
index.html
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
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<!doctype html>
<html>
<body>
<style>
body {
font-family: Arial, Helvetica, sans-serif;
}
#grid {
background: url('images/pattern.png');
border: solid 3px black;
box-sizing: border-box;
float: left;
}
#info {
float: left;
margin-left: 5px;
width: 120px;
}
#next {
height: 70px;
border: solid 3px black;
margin-bottom: 10px;
background: url('images/pattern.png');
}
#stats {
margin: 0;
padding: 0;
list-style: none;
border: solid 3px black;
margin-bottom: 5px;
}
#stats li {
border-bottom: solid 3px black;
padding: 5px;
}
#stats li:after {
content: ' ';
display: block;
clear: both;
}
#stats li label {
float: left;
}
#stats .stats__value {
float: right;
}
#stats li:last-of-type {
border-bottom: none;
}
.combo {
position: absolute;
top: 50%;
left: 50%;
margin-top: -15px;
margin-left: -25px;
height: 30px;
line-height: 30px;
text-align: center;
width: 50px;
font-size: 25px;
font-weight: bold;
color: white;
opacity: 1;
transition: all 400ms linear;
-webkit-transition: all 400ms linear;
}
.combo_state_animated {
opacity: 0;
margin-top: -40px;
}
.flash {
position: absolute;
top: 50px;
left: 0;
right: 0;
padding: 0 20px;
font-size: 40px;
text-align: center;
font-weight: bolder;
color: #E0E0E0;
}
.block {
position: absolute;
display: block;
box-sizing: border-box;
-moz-box-sizing: border-box;
}
.block::after {
position: absolute;
display: block;
content: ' ';
box-sizing: border-box;
border: solid 2px #000;
top: -5px;
left: -5px;
right: -5px;
bottom: -5px;
}
.block_color_red {
background-color: #FF0000;
border-top: solid 4px #FF6666;
border-right: solid 4px #FF6666;
border-bottom: solid 4px #CC0000;
border-left: solid 4px #CC0000;
}
.block_color_orange {
background-color: #FF6600;
border-top: solid 4px #FF9933;
border-right: solid 4px #FF9933;
border-bottom: solid 4px #CC6600;
border-left: solid 4px #CC6600;
}
.block_color_magenta {
background-color: #CC00FF;
border-top: solid 4px #CC66FF;
border-right: solid 4px #CC66FF;
border-bottom: solid 4px #9900CC;
border-left: solid 4px #9900CC;
}
.block_color_blue {
background-color: #0000FF;
border-top: solid 4px #6666FF;
border-right: solid 4px #6666FF;
border-bottom: solid 4px #0000CC;
border-left: solid 4px #0000CC;
}
.block_color_lime {
background-color: #00FF00;
border-top: solid 4px #66FF66;
border-right: solid 4px #66FF66;
border-bottom: solid 4px #00CC00;
border-left: solid 4px #00CC00;
}
.block_color_yellow {
background-color: #FFFF00;
border-top: solid 4px #FFFF99;
border-right: solid 4px #FFFF99;
border-bottom: solid 4px #FFCC00;
border-left: solid 4px #FFCC00;
}
.block_color_cyan {
background-color: #66CCFF;
border-top: solid 4px #99FFFF;
border-right: solid 4px #99FFFF;
border-bottom: solid 4px #3399CC;
border-left: solid 4px #3399CC;
}
.actions {
cursor: pointer;
}
</style>
<div id="container">
<div id="grid"></div>
<div id="info">
<div id="next"></div>
<ul id="stats">
<li id="stats__lvl">
<label>level</label>
<div class="stats__value"></div>
</li>
<li id="stats__score">
<label>score</label>
<div class="stats__value"></div>
</li>
<li id="stats__lines">
<label>lines</label>
<div class="stats__value"></div>
</li>
</ul>
<div class="actions" id="action_type_pause">pause</div>
</div>
</div>
<script src="jquery.min.js"></script>
<script src="app.js"></script>
</body>
</html>