-
Notifications
You must be signed in to change notification settings - Fork 2
/
style.css
164 lines (161 loc) · 2.45 KB
/
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
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
* {
margin: 0px;
padding: 0px;
}
body {
line-height: 20px;
position: relative;
display: flex;
flex-direction: column;
height: 100vh;
width: 100vw;
}
.content {
margin: auto;
width: 624px;
height: 360px;
}
canvas#tetrisCanvas {
float: left;
outline: none;
width: 180px;
height: 360px;
border: 1px solid #333;
background: #888;
}
canvas#nextTetrominoCanvas {
outline: none;
width: 72px;
height: 54px;
background: #888;
}
#tetrisContainer {
position: relative;
font-size: 12px;
color: #ccc;
float: left;
width: 440px;
height: 360px;
border: 1px solid #333;
background: #3E3C2F;
}
#tetrisContainer > div, #tetrisContainer h1 {
position: absolute;
border: 2px solid #666;
background: #aaa;
color: #222;
padding: 10px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
#tetrisContainer h1 {
font-size: 20px;
top: 138px;
left: 10px;
letter-spacing: 1px;
}
#tetrisContainer h1 a {
font-size: 20px;
color: #222;
text-decoration: none;
}
#tetrisContainer h1 a:hover span {
color: #222;
}
#tetrisContainer h1 span {
letter-spacing: 3px;
color: #666;
}
#tetrisContainer div h3 {
margin-bottom: 10px;
}
#tetrisNext {
top: 10px;
left: 10px;
}
#tetrisInfo {
top: 10px;
left: 123px;
width: 120px;
}
#tetrisInfo strong {
color: #ED1C24;
}
#tetrisControls {
top: 10px;
right: 10px;
width: 120px;
}
#tetrisControls p {}
#tetrisControls p span {
margin-left: 10px;
width: 60px;
float: right;
text-align: right;
}
.tetrisBox {
bottom: 10px;
left: 10px;
clear: both;
height: 130px;
width: 395px;
text-align: right;
}
.tetrisBox img {
padding: 0px;
float: left;
}
.tetrisBox h2 {
font: normal 18px Georgia;
}
.tetrisBox p {
font-style: italic;
font-size: 14px;
margin: 15px 0px 60px 0px;
}
.tetrisBox a {
font: normal 12px Georgia;
color: #222;
}
#tetrisTimer, #tetrisPoints {
font-size: 12px;
}
#tetrisPoints span, #tetrisPlay span {
margin-left: 10px;
width: 40px;
float: right;
text-align: right;
}
#tetrisBlackbox {
position: absolute;
top: 0px;
left: 0px;
z-index: 2;
width: 624px;
height: 360px;
background: #000000;
opacity: 0.7;
}
#tetrisDialog {
z-index: 3;
position: absolute;
top: 100px;
left: 100px;
text-align: center;
border: 2px solid #666;
background: #aaa;
color: #222;
padding: 15px 15px 20px 15px;
-moz-border-radius: 10px;
-webkit-border-radius: 10px;
border-radius: 10px;
}
p#tetrisCredits {
margin-top: 20px;
font-size: 11px;
color: #666;
}
p#tetrisCredits a {
color: #888;
}