-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
executable file
·142 lines (128 loc) · 2.59 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
#game_screen {
width: 434px;
margin: 0px 0px;
padding: 0px;
}
#game_box {
width: 436px;
padding: 0px 0px;
margin: 0px 0px 0px auto;
float: left;
}
#canvas {
border: 0px solid #000000;
}
h1 {
text-align: center;
padding: 0px 0px 10px 0px;
margin: 0px;
font-family: 'Press Start 2P', cursive;
font-size: 70%;
}
#instructions {
margin-top: 110px;
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif;
color: rgb(192, 192, 192)
}
/* TETRIS LOGO animation */
#tetris-logo {
font-family: 'Press Start 2P', cursive;
top: 0;
left: 0;
bottom: 0;
right: 0;
color: #fff;
width: 100%;
text-align: center;
font-size: 40px;
line-height: 40px;
letter-spacing: 5px;
text-shadow: -2px 0 0 #fdff2a, -4px 0 0 #df4a42, 2px 0 0 #91fcfe, 4px 0 0 #4405fc;
animation: blink 1s steps(4, start) infinite;
}
@-moz-keyframes blink {
to {
visibility: hidden;
}
}
@-webkit-keyframes blink {
to {
visibility: hidden;
}
}
@-o-keyframes blink {
to {
visibility: hidden;
}
}
@keyframes blink {
to {
visibility: hidden;
}
}
/* FINISH TETRIS LOGO animation */
.button {
font-family: 'Press Start 2P', cursive;
padding: 5px;
}
.keys{
color: #ffffff;
font-family: 'Press Start 2P', cursive;
font-size: 70%;
text-shadow: 0 0 7px rgb(250, 206, 64);
}
#score {
float: right;
width: 350px;
margin: 30px auto 0px 0px;
font-family: 'Press Start 2P', cursive;
}
#restart {
font-family: 'Press Start 2P', cursive;
margin-top: 15px;
padding: 7px;
}
#github {
font-family: 'Press Start 2P', cursive;
margin-top: 17px;
}
#restart:hover, #detailedInstructions:hover, #github:hover {
cursor: pointer;
}
#detailedInstructions{
margin-top: 20px;
font-family: 'Press Start 2P', cursive;
padding: 5px
}
#demo {
font-family: 'Gill Sans', 'Gill Sans MT', Calibri, 'Trebuchet MS', sans-serif
}
#tutorial-gif {
margin-top: 20px;
font-family: 'Press Start 2P', cursive;
padding: 5px;
}
#screen {
width: 900px;
margin: 110px auto;
margin-left: 170px;
}
/* */
#startGame {
margin: auto;
color: rgb(250, 250, 249);
background: rgb(0, 0, 0);
width: 434px;
height: 558px;
margin-top: 38px;
border-radius: 5px;
padding: 0px;
font-size: 1.25em;
position: fixed;
z-index: 1000;
text-align: center;
}
body {
background: url("images/background4.jpeg") no-repeat center center fixed;
background-size: 100% 100%;
}