-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject2.css
More file actions
104 lines (89 loc) · 1.69 KB
/
project2.css
File metadata and controls
104 lines (89 loc) · 1.69 KB
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
94
95
96
97
98
99
100
101
102
103
104
*{
margin:0;
padding:0;
text-align:center;
font-family:Georgia, serif;
}
body{
background:#f4f4f4;
transition:0.3s;
}
.dark-mode{
background:#121212;
color:white;
}
h1{
background:#081b31;
color:white;
height:4rem;
line-height:4rem;
}
.top-controls{
margin-top:1rem;
display:flex;
justify-content:center;
gap:1rem;
}
select,button{
padding:0.5rem 1rem;
border:none;
border-radius:0.5rem;
background:#081b31;
color:white;
cursor:pointer;
}
button:hover,select:hover{
background:#0d2d52;
}
.choices{
display:flex;
justify-content:center;
gap:3rem;
margin-top:3rem;
}
.choice{
height:130px;
width:130px;
border-radius:50%;
display:flex;
justify-content:center;
align-items:center;
transition:0.3s;
}
.choice:hover{
background:#081b31;
transform:scale(1.1);
}
img{
height:110px;
width:110px;
border-radius:50%;
}
.score-board{
display:flex;
justify-content:center;
gap:5rem;
margin-top:2rem;
font-size:1.5rem;
}
#user-score,#comp-score{
font-size:3rem;
font-weight:bold;
transition:0.3s;
}
.animate{
transform:scale(1.3);
color:gold;
}
#msg{
margin-top:2rem;
background:#081b31;
color:white;
padding:0.8rem 1.8rem;
border-radius:0.7rem;
display:inline-block;
}
#timer{
margin-top:1rem;
font-size:1.3rem;
}