-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
89 lines (79 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
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
header {
background: white;
padding: 20px;
}
header > h1 {
color: #24172e;
text-align: center;
font-family: sans-serif;
}
body {
background-color: #24172e;
}
.score-board {
margin: 20px auto;
text-align: center;
border: 3px solid white;
width: 200px;
border-radius: 6px;
color: white;
font-size: 46px;
padding: 15px 20px;
font-family: sans-serif;
position: relative;
}
.badge {
background-color: rgb(245, 65, 65);
font-size: 20px;
font-family: sans-serif;
}
#user-label {
position: absolute;
top: 30px;
left: -25px;
}
#computer-label {
position: absolute;
top: 30px;
right: -30px;
}
.result > p {
text-align: center;
font-weight: bold;
font-family: sans-serif;
color: white;
font-size: 30px;
}
.choices {
text-align: center;
margin-top: 50px;
}
img {
height: 66px;
width: auto;
}
.choice {
display: inline-block;
border: 4px solid white;
border-radius: 50%;
padding: 10px;
margin: 0 20px;
transition: all 0.3s ease;
}
.choice:hover {
cursor: pointer;
background: #24272e;
}
#action-message {
text-align: center;
color: white;
font-family: sans-serif;
font-size: 20px;
font-weight: bold;
margin-top: 20px;
}