-
Notifications
You must be signed in to change notification settings - Fork 0
/
styles.css
122 lines (101 loc) · 1.94 KB
/
styles.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
html {
font-family: 'Orbitron', sans-serif;
}
.ball{
border-radius:50%;
background:#F00;
/* background-image:url("prannay.png");
background-size: contain;*/
position:absolute;
left: 0;
top: 0;
}
.paddle{
position:absolute;
background:#FFF;
}
.gameSurface{
background-color:black;
position:relative;
margin-left:auto;
margin-right:auto;
overflow:hidden;
}
.scoreboard{
margin-left:auto;
margin-right:auto;
width:600px;
height:100px;
background-color:#CCC;
font-size:3em;
font-weight:700;
}
.scoreboard > div {
margin-top:20px;
}
.scoreboard .playerOne{
color:blue;
float:left;
margin-left:100px;
}
.scoreboard .playerTwo {
color:green;
float:right;
margin-right:100px;
}
.instructions, .debug {
width:580px;
margin-left:auto;
margin-right:auto;
background-color:#DDD;
vertical-align:middle;
font-size:.8em;
padding:10px;
}
.instructions h1, .instructions h2 {
font-size:1em;
}
.instructions h1 {
text-decoration:underline;
}
.instructions .playerOne, .instructions .playerTwo{
float:left;
width:50%;
}
.instructions .playerOne {
color:blue;
}
.instructions .playerTwo {
color:green;
}
.instructions .specials {
color:purple;
clear:both;
}
.specialItem {
text-align:center;
font-size:1.2em;
border-style: dashed;
border-radius:3px;
position:absolute;
-webkit-transition: top 0.5s ease-in, left 0.5s ease-in;
-o-transition: top 0.5s ease-in, left 0.5s ease-in;
-moz-transition: top 0.5s ease-in, left 0.5s ease-in;
-ms-transition: top 0.5s ease-in, left 0.5s ease-in;
}
.specialItem_fastball {
border-color:green;
color:green;
}
.specialItem_slowball {
border-color:red;
color:red;
}
.specialItem_slowpaddle {
border-color:yellow;
color:yellow;
}
.specialItem_crazyball {
border-color:purple;
color:purple;
}