-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathpong.css
executable file
·118 lines (101 loc) · 2.26 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
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
@font-face {
font-family: "Fedra";
src: url("FedraSansAltPro-Light.otf");
font-style: normal;
font-weight: normal;
font-stretch: normal;
}
@keyframes blinker {
0% { opacity: 1.0; }
50% { opacity: 0.0; }
100% { opacity: 1.0; }
}
html {
font-family: "Fedra", "Helvetica", "Arial", sans-serif;
}
body {
background-color: #1A1A1A;
color: #FFFFFF;
font-size: 12pt;
padding: 2em;
text-align: center;
}
.logo {
margin: 0 auto;
font-size: 20pt;
height: 85px;
width: 800px;
display: inline-block;
overflow: hidden;
position: relative;
}
.logoTextHolder {
line-height: 1.15;
padding-top: 10px;
padding-bottom: 10px;
}
.logoTextHolder:after {
clear: both;
}
.splash{
background-color: rgba(55, 55, 55, 0.7);
height: 600px;
width: 800px;
z-index: 100;
position: absolute;
top:131px;
}
.splash span{
color: white;
display: inline-block;
animation:1s blinker linear infinite;
}
.hidden{
display: none;
}
.timer-container {
position: absolute;
right: 10px;
bottom: 8px;
font-size: 20pt;
}
.score-container {
position: relative;
width: 800px;
margin: auto;
}
.score {
position: absolute;
font-size: 60pt;
top: 10px;
}
#score1 {
right: 440px;
}
#score2 {
left: 440px;
}
@media screen and (min-width: 0px) {
#game { display: block; width: 800px; height: 600px; margin: 0 auto; }
.splash { width: 800px; height: 600px; left: calc((100% - 800px) / 2); }
.splash span {font-size: 40px; line-height: 600px;}
.score-container { width: 800px; }
#score1 { right: 440px; }
#score2 { left: 440px; }
}
@media screen and (min-width: 1200px) {
#game { width: 800px; height: 600px; }
.splash { width: 800px; height: 600px; left: calc((100% - 800px) / 2); }
.splash span {font-size: 40px; line-height: 600px;}
.score-container { width: 800px; }
#score1 { right: 440px; }
#score2 { left: 440px; }
}
@media screen and (min-width: 1600px) {
#game { width: 1024px; height: 768px; }
.splash { width: 1024px; height: 768px; left: calc((100% - 1024px) / 2); }
.splash span {font-size: 60px; line-height: 770px;}
.score-container { width: 1024px; }
#score1 { right: 550px; }
#score2 { left: 550px; }
}