forked from cacalo/pong-html
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
94 lines (80 loc) · 1.14 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
@font-face {
font-family: "llpixel";
src: url(LLPIXEL3.ttf) format("TrueType");
}
body{
margin: 0;
font-family: llpixel, monospace;
color: white;
text-align: center;
}
#zonaJuego{
position: relative;
height: 100vh;
background-color: black;
overflow: hidden;
}
.jugador{
position: absolute;
background-color: white;
}
#jugador1{
left: 0px;
}
#jugador2{
right: 0px;
}
#mensaje{
position: absolute;
width: 100%;
font-size: 3rem;
top: 39%;
}
.bola{
position: absolute;
border-radius: 50%;
width: 30px;
aspect-ratio: 1;
background-color: white;
}
#tablero{
position: absolute;
font-size: 6rem;
width: 100%;
}
.titilar{
animation-name: titilar;
animation-duration: 1s;
animation-iteration-count: infinite;
}
@keyframes titilar{
0%{
opacity: 100%
}
49.99%{
opacity: 100%
}
50%{
opacity: 0;
}
99.99%{
opacity: 0;
}
}
#mensajePuntoJson, #instrucciones{
position: absolute;
font-size: 1rem;
bottom: 0%;
width: 100%;
}
kbd{
display: inline-block;
background-color: rgba(255, 255, 255, 0.119);
width: 20px;
}
a{
color: white;
}
.escondido{
opacity: 0;
}