-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
85 lines (72 loc) · 1.31 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
* {
margin: 0;
border: 0;
text-align: center;
}
body {
background-color: #fff4c0;
}
h1 {
background-color: #ffd100;
color: #202020;
height: 4rem;
line-height: 4rem;
}
.choices {
display: flex;
align-items: center;
justify-content: center;
gap: 3rem;
margin-top: 3rem;
}
.choice:hover {
border: 5px solid orange;
}
.choice {
border: 5px solid #202020;
border-radius: 50%;
height: 100px;
width: 100px;
cursor: pointer;
display: flex;
justify-content: center;
align-items: center;
}
#rock {
background-image: url(rock.png);
background-size: cover;
}
#paper {
background-image: url(paper.png);
background-size: cover;
}
#scissors {
background-image: url(scissors.png);
background-size: cover;
}
.score-board {
display: flex;
align-items: center;
justify-content: center;
color: #202020;
font-size: 1.5rem;
margin-top: 3rem;
gap: 5rem;
}
#user-score,
#comp-score {
font-size: 3rem;
}
.msg-container {
margin-top: 3rem;
color: #202020;
cursor: pointer;
}
#msg {
background-color: #ffd100;
color: #202020;
font-size: 1rem;
display: inline;
padding: 1rem;
border-radius: 1rem;
}