-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrps.css
More file actions
99 lines (95 loc) · 1.65 KB
/
rps.css
File metadata and controls
99 lines (95 loc) · 1.65 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
90
91
92
93
94
95
96
97
98
99
@import url('https://fonts.googleapis.com/css2?family=Creepster&family=Smooch&family=The+Nautigal:wght@700&display=swap');
*{
margin: 0;
padding: 0;
box-sizing: border-box;
}
body{
background:#292C34;
}
header{
background: aliceblue;
padding: 20px;
}
header > h1{
color: #25272E;
text-align: center;
font-family:The Nautigal,swap;
}
.score-board{
margin: 20px auto;
position: relative;
border: 3px solid white;
width: 200px;
color: white;
font-size:46px;
border-radius: 4px;
text-align: center;
padding: 15px 20px;
font-family: The Nautigal,swap;
}
.badge{
background: #E25840;
color: white;
font-size: 30px;
padding: 2px 10px;
}
#user-label{
position: absolute;
top: 30px;
left: -30px;;
}
#computer-label{
position:absolute;
top: 30px;
right: -35px;
}
.result{
font-size: 40px;
color: white;
}
.result > p{
font-family: The Nautigal,swap;
text-align: center;
font-weight: bold;
color: bisque;
}
.choices{
margin-top: 50px;
text-align: center;
}
.choice{
display: inline-block;
border: 4px solid white;
border-radius: 50%;
padding: 10px;
margin: 0 20px;
transition: all 0.3s ease;
}
.choice img {
height: 60px;
}
.choice:hover{
cursor: pointer;
background: #24272E;
}
#action-message{
text-align: center;
color: burlywood;
font-family: The Nautigal,swap;
font-weight: bold;
font-size: 30px;
margin-top: 20px;
}
.green-glow {
border: 4px solid #4dcc7d;
box-shadow: 0 0 10px #31b43a;
}
.red-glow {
border: 4px solid #fc121b;
box-shadow: 0 0 10px #d01115;
}
.yellow-glow {
border: 4px solid yellow;
box-shadow: 0 0 10px #92af4e;
}