-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
53 lines (52 loc) · 1 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
/* main body */
body{
background: linear-gradient(90deg, rgba(102,28,132,1) 0%, rgba(102,28,132,1) 0%, rgba(86,2,119,1) 1%, rgba(228,238,234,1) 100%);
font-family: cursive;
}
/* main container */
#container{
margin: 0px;
padding: 0px;
position: relative;
}
/* common property */
.rods{
height: 20px;
width: 300px;
background-color:#e4eeea;
display: flex;
justify-content: center;
position: fixed;
left: 50%;
color:black;
font-size: large;
text-transform: capitalize;
border: 2px solid black;
padding:6px;
}
/* for top rod(first) */
#rod1{
top:0;
border-top-left-radius: 50%;
border-top-right-radius: 50%;
}
/* ball */
#circle{
position: fixed;
left: 60%;
top:20px;
}
/* for bottom rod (second) */
#rod2{
bottom: 0;
border-bottom-left-radius: 50%;
border-bottom-right-radius: 50%;
}
/* display score card */
#display{
height: 500px;
display: flex;
align-items: center;
color:white;
font-size: larger;
}