-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
86 lines (72 loc) · 1.24 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
@import url('https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,400;0,600;1,400&display=swap');
* {
margin: 0;
padding: 0;
box-sizing: border-box;
font-family: Asap, sans-serif;
color: white;
}
body {
background-color: #262632;
}
header {
background: white;
padding: 20px;
}
header > h1 {
color: #211d22;
text-align: center;
}
.score-board {
position: relative;
margin: 20px auto;
border: 3px solid white;
border-radius: 5px;
text-align: center;
width: 200px;
font-size: 50px;
padding: 15px 20px;
}
.badge {
background: #d95a62;
font-size: 18px;
padding: 2px 10px;
}
#user-label {
position: absolute;
top: 36%;
left: -15.5%;
}
#comp-label {
position: absolute;
top: 36%;
right: -16%;
}
.results {
font-size: 46px;
}
.results > p {
text-align: center;
font-weight: bold;
}
.make-move {
text-align: center;
margin: 50px;
}
.choice {
display: inline-block;
padding: 10px;
margin: 10px;
border: 3px solid white;
border-radius: 50%;
transition: all 0.3s ease;
}
.choice:hover {
cursor: pointer;
background: #1f1f27;
padding: 12px;
margin: 8px;
}
#action-text {
font-weight: bold;
}