-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstyles.css
More file actions
47 lines (46 loc) · 795 Bytes
/
styles.css
File metadata and controls
47 lines (46 loc) · 795 Bytes
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
body {
font-family: Arial, Helvetica, sans-serif;
font-weight: bold;
margin: 0;
display: flex;
flex-direction: column;
align-items: center;
}
h1 {
font-size: 2.5rem;
color: hsl(0, 0%, 20%);
}
.choices {
margin-bottom: 30px;
}
.choices button {
font-size: 7.5rem;
min-width: 160px;
margin: 0 10px;
border-radius: 250px;
background-color: hsl(188, 100%, 50%);
cursor: pointer;
transition: background-color 0.5 ease;
}
.choices button:hover {
background-color: hsl(188, 100%, 50%);
}
#playerDisplay,
#computerDisplay {
font-size: 2.5rem;
}
#resultDisplay {
font-size: 5rem;
margin: 30px 0;
}
.scoreDisplay {
font-size: 2rem;
}
.greenText,
#playerScoreDisplay {
color: hsl(130, 82%, 29%);
}
.redText,
#computerScoreDisplay {
color: hsl(0, 84%, 60%);
}