-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathstyles.css
More file actions
89 lines (67 loc) · 1.19 KB
/
styles.css
File metadata and controls
89 lines (67 loc) · 1.19 KB
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
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
background-color: #f4ecec;
}
main {
margin-top: 3rem;
margin-inline: auto;
width: 650px;
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
gap: 1rem;
border-radius: 10px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
padding: 2rem;
height: 50vh;
background-color: #fff;
}
h2 {
font-weight: 500;
margin-top: 2rem;
}
.button {
display: flex;
flex-direction: row;
gap: 1.5rem;
}
button {
font-size: 3.5rem;
padding: 10px;
border: none;
border-radius: 5px;
box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
background-color: blanchedalmond;
cursor: pointer;
}
#rock {
background-color: orangered;
color: black;
}
#paper {
background-color: blue;
color: black;
}
#scissor {
background-color: greenyellow;
color: black;
}
button:hover {
border: none;
box-shadow: 0px 0px 50px rgba(51, 14, 96, 0.8);
background-color: green;
}
#userScore {
color: green;
}
#computerScore {
color: rgb(19, 157, 255);
}
#finalResult {
color: rgb(104, 13, 232);
}