-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
68 lines (60 loc) · 1.35 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
body {
font-family: Arial, sans-serif;
font-weight: bold;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
font-size: 3.45rem;
color: rgb(68, 59, 59);
}
#choices {
margin-bottom: 30px;
}
#choices button {
font-size: 7.5rem;
padding: 10px 30px;
border-radius: 250px;
background-color: rgb(20, 241, 241);
cursor: pointer;
transition: background-color 0.5s ease;
}
#choices button:hover {
background-color: hsl(200, 100%, 70%);
}
#playerdisplay, #computerdisplay {
font-size: 2.5rem;
}
#resultdisplay {
font-size: 2rem;
margin-top: 20px;
}
.scoredisplay{
font-size: 2rem;
}
.greenText, #playerscoredisplay{
color: rgb(17, 235, 64);
}
.redtext, #computerscoredisplay{
color: rgb(255, 60, 0);
}
#resetButton {
background-color: #f44336; /* Red background */
color: white; /* White text */
padding: 10px 20px; /* Padding around text */
font-size: 18px; /* Button text size */
border: none; /* No border */
border-radius: 5px; /* Rounded corners */
cursor: pointer; /* Pointer cursor */
margin-top: 20px;
}
/* Hover effect for the reset button */
#resetButton:hover {
background-color: #d32f2f; /* Darker red on hover */
}
/* Button click effect */
#resetButton:active {
transform: scale(0.98); /* Slight shrink on click */
}