-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathjs_tetris.css
81 lines (74 loc) · 1.62 KB
/
js_tetris.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
body {
background-color: #222222;
background: repeating-linear-gradient(45deg, #2b2b2b 0%, #2b2b2b 10%, #222222 0%, #222222 50%) 0 / 15px 15px;
position: relative;
}
#game_screen {
width: 434px;
margin: 0px 0px;
padding: 0px;
}
#game_box {
width: 436px;
padding: 0px 0px;
margin: 0px 0px 0px auto;
float: left;
}
#container {
width: 500px;
margin: auto;
}
/*Neon*/
p {
text-align: center;
font-size: 3em;
margin: 20px 0 20px 0;
}
a {
text-decoration: none;
-webkit-transition: all 0.5s;
-moz-transition: all 0.5s;
transition: all 0.5s;
}
p:nth-child(1) a {
font-size: 1.5em;
color: #228DFF;
font-family: Iceland;
}
p:nth-child(1) a:hover {
-webkit-animation: neon 1.5s ease-in-out infinite alternate;
-moz-animation: neon 1.5s ease-in-out infinite alternate;
animation: neon 1.5s ease-in-out infinite alternate;
}
p a:hover {
color: #ffffff;
}
@-webkit-keyframes neon {
from {
text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #fff, 0 0 40px #228DFF, 0 0 70px #228DFF, 0 0 80px #228DFF, 0 0 100px #228DFF, 0 0 150px #228DFF;
}
to {
text-shadow: 0 0 5px #fff, 0 0 10px #fff, 0 0 15px #fff, 0 0 20px #228DFF, 0 0 35px #228DFF, 0 0 40px #228DFF, 0 0 50px #228DFF, 0 0 75px #228DFF;
}
}
#instructions {
font-family: "Open Sans", sans-serif;
float: right;
width: 350px;
margin: 30px auto 0px 0px;
color : #FFF;
}
#screen {
width: 900px;
margin: 0px auto;
}
.btn{
position : absolute;
top : 20px;
right : 90px;
}
.btn a{
padding: 30px 20px 30px 20px;
font-family: "Open Sans" , sans-serif;
font-size: 2em;
}