-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyles.css
85 lines (76 loc) · 1.33 KB
/
styles.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
@import url("https://fonts.googleapis.com/css2?family=Asap&display=swap");
* {
margin: 0;
padding: 0;
box-sizing: border-box;
background-color: #24272e;
}
h1 {
margin: auto;
text-align: center;
padding: 20px;
font-family: "Asap", sans-serif;
background-color: #ffffff;
}
.score-board {
color: #ffffff;
font-size: 46px;
border: 3px solid white;
width: 150px;
margin: 20px auto;
border-radius: 4px;
padding: 15px 20px;
font-family: "Asap", sans-serif;
text-align: center;
position: relative;
}
.choices {
text-align: center;
margin: 50px 0;
}
.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-color: pink;
}
.result {
font-size: 40px;
color: #ffffff;
}
.result > p {
text-align: center;
font-family: Asap, sans-serif;
font-weight: bold;
}
#action-message {
color: #ffffff;
text-align: center;
margin: 20px 0;
font-family: "Asap", sans-serif;
font-weight: bold;
font-size: 20px;
}
.badge {
background: yellowgreen;
color: white;
font-size: 14px;
padding: 2px 10px;
font-family: "Asap", sans-serif;
}
#user-label {
position: absolute;
top: 30px;
left: -25px;
}
#computer-label {
position: absolute;
top: 30px;
right: -30px;
}