-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
112 lines (98 loc) · 1.73 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
background-color: rgba(0, 0, 0,0.2);
z-index: -1;
padding: 10px;
height: 100vh;
}
.container{
display: flex;
justify-content: center;
align-items: center;
}
.choice{
margin-inline: 5px;
cursor: pointer;
outline: none;
border-radius: 50%;
width: 90px;
height: 90px;
}
#Paper{
transform: rotate(-90deg);
}
#Scissor{
width: 85px;
height: 85px;
transform: rotate(-90deg);
}
.winning-container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
padding: 5px 10px;
font-size: 20px;
}
.msg-container{
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
margin-block: 50px;
}
#game-status{
padding: 7px 20px;
border: none;
outline: none;
border-radius: 5px;
font-size: 17px;
background-color: #0059ff;
color: #fff;
}
#winning-info{
display: none;
background-color: #00a098;
padding: 5px 10px;
margin-top: 15px;
font-size: 20px;
color: #fff;
border: none;
outline: none;
border-radius: 5px;
}
.score-container{
display: flex;
justify-content: center;
align-items: center;
}
#user-score{
font-weight: bold;
color: #ff009d;
}
#comp-score{
font-weight: bold;
color: #5d00ff;
}
.player-name{
color: #9d3707;
}
#clear-History{
background-color: #f00;
color: #fff;
border: none;
outline: none;
padding: 7px 20px;
font-size: 17px;
border-radius: 5px;
margin-block: 20px;
cursor: pointer;
}