1
1
body {
2
- background-color : # eec6c6 ;
3
- font-family : ' Arial' , sans-serif;
2
+ background-color : # eec6c6 ;
3
+ font-family : " Arial" , sans-serif;
4
4
text-align : center;
5
- background-image : linear-gradient (to bottom, # f9b4c2, # ffdb86 );
5
+ background-image : linear-gradient (to bottom, # f9b4c2, # ffdb86 );
6
6
color : # ffffff ;
7
7
position : relative;
8
8
min-height : 91.5vh ;
@@ -13,25 +13,29 @@ body {
13
13
}
14
14
15
15
body ::before {
16
- content : '' ;
16
+ content : "" ;
17
17
position : fixed;
18
18
top : 0 ;
19
19
left : 0 ;
20
20
width : 100% ;
21
21
height : 100% ;
22
- background-image : radial-gradient (ellipse at center, rgba (246 , 231 , 231 , 0.813 ) 0% , rgba (0 , 0 , 0 , 0.9 ) 100% );
22
+ background-image : radial-gradient (
23
+ ellipse at center,
24
+ rgba (246 , 231 , 231 , 0.813 ) 0% ,
25
+ rgba (0 , 0 , 0 , 0.9 ) 100%
26
+ );
23
27
z-index : -1 ;
24
28
}
25
29
26
-
27
30
h1 {
28
31
font-size : 36px ;
29
32
font-weight : bold;
30
33
text-shadow : 2px 2px 4px rgba (0 , 0 , 0 , 0.5 );
31
34
margin-bottom : 20px ;
32
35
}
33
36
34
- h2 {
37
+ h2 ,
38
+ .score {
35
39
color : # ffffff ;
36
40
font-size : 24px ;
37
41
font-weight : bold;
@@ -55,7 +59,10 @@ button {
55
59
cursor : pointer;
56
60
transition : background-color 0.3s ease;
57
61
}
58
-
62
+ .resetScore {
63
+ width : 15% ;
64
+ margin : 0 auto;
65
+ }
59
66
button : hover {
60
67
background-color : # 45a049 ;
61
68
}
@@ -74,7 +81,6 @@ button:hover {
74
81
display : flex;
75
82
justify-content : center;
76
83
margin-bottom : 20px ;
77
-
78
84
}
79
85
80
86
.button-container > button {
@@ -144,15 +150,13 @@ nav {
144
150
font-size : 18px ;
145
151
}
146
152
147
-
148
- .button-container > img {
153
+ .button-container > img {
149
154
width : 10% ;
150
155
margin : 0 10px ;
151
156
cursor : pointer;
152
-
153
157
}
154
158
155
- .logo {
159
+ .logo {
156
160
width : 20% ;
157
161
}
158
162
@@ -166,10 +170,12 @@ footer {
166
170
width : 98.7% ;
167
171
}
168
172
169
- # Rock , # Paper , # Scissors {
173
+ # Rock ,
174
+ # Paper ,
175
+ # Scissors {
170
176
margin : 5% ;
171
- }
177
+ }
172
178
173
- # winner {
179
+ # winner {
174
180
width : 5px ;
175
- }
181
+ }
0 commit comments