-
Notifications
You must be signed in to change notification settings - Fork 0
/
style.css
97 lines (77 loc) · 1.2 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
89
90
91
92
93
@import url('https://fonts.googleapis.com/css2?family=Asap:ital@0;1&display=swap');
*{
margin:0;
padding:0;
box-sizing: : border-box;
}
body{
background-color: #24272E
}
header{
background : white;
padding:20px;
}
header h1{
color:#25272E;
text-align: center;
font-family:Asap, sans-serif;
}
.score-board{
margin: 20px auto;
border:3px solid white;
border-radius: 4px;
text-align:center;
width: 200px;
color:white;
font-size:46px;
padding: 15px 20px;
position: relative;
}
.badge{
background: #E25840;
color: white;
font-size:14px;
padding:2px 10px;
font-family: Asap, sans-serif;
}
#user-label{
position:absolute;
top:30px;
left:-20px;
}
#comp-label{
position: absolute;
top:30px;
right:-30px;
}
.result{
font-size: 40px;
color:white;
}
.result p {
text-align: center;
font-family: Asap, sans-serif;
font-weight: bold;
}
.choices {
text-align: center;
margin:50px 0;
}
.choice {
border: 4px solid white;
border-radius: 50%;
margin:0 20px;
padding: 20px;
display: inline-block;
transition: all 0.3s ease;
}
.choice:hover{
cursor: pointer;
background: grey;
}
#action-message{
text-align: center;
color: white;
font-family: Asap, sans-serif;
font-weight: bold;
}