-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
94 lines (94 loc) · 1.32 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-family: Oswald;
margin: 0;
padding: 0;
}
body{
background-color: black;
text-align: center;
overflow: hidden;
height: 100vh;
width: 100vw;
}
.title{
font-size: 10vmax;
color: white;
}
.subtitle{
font-size: 5vmax;
color: white;
}
.button{
border: 4px solid white;
font-size: 7vmax;
color: white;
padding: 5vmin;
margin: 10vmin;
cursor: pointer;
display: inline-block;
}
.close{
margin: 5vmin;
}
.button:hover{
background-color: white;
color: black;
}
.input{
color: black;
width: 80vw;
text-transform: uppercase;
text-align: center;
border-radius: 0;
outline: none;
}
#ball{
width: 5vh;
height: 5vh;
background-color: white;
position: fixed;
transform: translateX(-2.5vh) translateY(-2.5vh);
}
#paddle{
height: 30vh;
width: 5vh;
background-color: white;
position: fixed;
top: 50vh;
transform: translateX(-2.5vh) translateY(-15vh);
/* transition: top .1s; */
}
.border{
height: 100vh;
width: 100vw;
position: fixed;
top: 0;
left: 0;
box-sizing: border-box;
border-top: 8px solid white;
border-bottom: 8px solid white;
}
.left{
border-left: 8px solid white;
}
.right{
border-right: 8px solid white;
}
.leftp{
left: 7.5vh;
}
.rightp{
right: 7.5vh;
}
#scorel{
font-size: 20vh;
color: white;
position: fixed;
left: 5vw;
}
#scorer{
font-size: 20vh;
color: white;
position: fixed;
right: 5vw;
}