-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
75 lines (71 loc) · 1.33 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
html{
box-sizing: border-box;
}
*, *::before, *::after{
box-sizing: inherit;
}
body{
background-color: #0a011a;
}
#ping-pong-table{
border: 5px solid rgba(112, 101, 169, 0.429);
width: 900px;
height: 500px;
position: relative;
margin: auto;
margin-top: 85px;
/* background-color: #140e45; */
background-color: #17104e;
}
h1{
text-align: center;
/* font-family:Arial, Helvetica, sans-serif ; */
font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
font-size: 45px;
color: #c0dcfad3;
}
#paddle{
background-color: rgb(239, 95, 38);
width: 20px;
height: 90px;
margin-left: 2px;
position: absolute;
border-radius: 20px;
}
#ball{
background-color: rgb(255, 255, 255);
width: 25px;
height: 25px;
border-radius: 50%;
position: absolute;
}
#userscore, #aiscore{
font-size: 50px;
position: absolute;
top: 12px;
color: rgb(195, 199, 199);
}
#userscore{
left:30%;
}
#aiscore{
right: 30%;
}
.line{
border-left: 2px dashed #554976;
position: absolute;
top: 0;
left: 50%;
width: 1px;
height: 100%;
transform: translate(-50%);
}
#aipaddle{
background-color: rgb(7, 184, 84);
width: 20px;
height: 90px;
margin-left: 2px;
position: absolute;
right: 2px;
border-radius: 20px;
}