-
Notifications
You must be signed in to change notification settings - Fork 0
/
pong.css
79 lines (67 loc) · 1.2 KB
/
pong.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
/* CSS declarations go here */
@font-face {
font-family: 'outageregular';
src: url('outage-webfont.eot');
src: url('outage-webfont.eot?#iefix') format('embedded-opentype'),
url('outage-webfont.woff') format('woff'),
url('outage-webfont.ttf') format('truetype'),
url('outage-webfont.svg#outageregular') format('svg');
}
body {
font-family: 'outageregular';
padding: 0;
margin: 0;
overflow: hidden;
background: #01173A;
}
#canvas {
background-image: url(space.png);
}
#logo {
position: absolute;
top: 0;
left: 50%;
/* this image is 455px */
margin-left: -227px;
display: block;
}
#board {
width: 100%;
height: 500px;
background-color: black;
}
.player {
width: 10px;
height: 50px;
background-color: white;
}
#player1 {
position: absolute;
top: 350px;
}
#player2 {
position: absolute;
top: 350px;
right: 0px;
}
.ball{
position:absolute;
width:14px;
height:14px;
background:#fff;
top:350px;
right:50%;
margin-left:-7px;
}
.controllers {
z-index: 100000;
position: relative;
top: 520px;
}
#spaceballs{
width:600px;
overflow:hidden;
margin:auto;
display:none;
z-index:10;
}