-
Notifications
You must be signed in to change notification settings - Fork 0
/
js5.css
88 lines (85 loc) · 1.22 KB
/
js5.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
* {
margin: 0;
padding: 0;
}
h1 {
text-align: center;
background-color: white;
color: black;
margin: 0;
padding: 20px;
}
body {
background-color: black;
color: white;
}
.choices {
text-align: center;
cursor: pointer;
}
.choice {
width: 100px;
height: 100px;
display: inline-block;
margin: 30px 15px;
}
.scoreboard {
text-align: center;
font-size: 50px;
border: 2px solid white;
border-radius: 4px;
width: 200px;
margin: 15px auto;
position: relative;
}
#comp {
position: absolute;
top: 14px;
left: -20px;
}
#user {
position: absolute;
top: 14px;
right: -20px;
}
.badge {
display: inline-block;
background-color: red;
margin: 5px auto;
font-size: 20px;
}
/*.vague {
text-align: center;
}*/
h2 {
color: white;
text-align: center;
margin: 10px auto;
background-color: red;
width: 300px;
}
#result {
font-size: 40px;
text-align: center;
}
#last {
font-size: 30px;
text-align: center;
}
#new {
text-align: center;
margin: 10px auto;
}
#button {
background-color: red;
color: white;
width: 100px;
font-size: 20px;
border: 2px solid white;
border-radius: 4px;
}
#new :hover {
background-color: white;
color: black;
transition: all 0.3s ease;
}