-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.css
115 lines (100 loc) · 2.12 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
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
* {
margin: 0;
padding: 0;
text-align: center;
font-family: 'Arial', sans-serif;
box-sizing: border-box;
}
body {
background: linear-gradient(120deg, #2980b9, #6dd5fa, #ffffff);
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: flex-start;
color: #333;
}
h1 {
background-color: #2c3e50;
color: #ecf0f1;
height: 5rem;
line-height: 5rem;
width: 100%;
margin-bottom: 2rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.choice {
height: 165px;
width: 165px;
border-radius: 50%;
display: flex;
justify-content: center;
align-items: center;
background: rgba(255, 255, 255, 0.8);
transition: transform 0.3s ease, background-color 0.3s ease;
}
.choice:hover {
cursor: pointer;
transform: scale(1.1);
background-color: rgba(255, 255, 255, 1);
}
img {
height: 100px;
width: 100px;
object-fit: cover;
border-radius: 50%;
transition: transform 0.3s ease;
}
.choice:hover img {
transform: rotate(10deg);
}
.choices {
display: flex;
justify-content: center;
align-items: center;
gap: 3rem;
margin-top: 5rem;
}
.score-board {
display: flex;
justify-content: center;
align-items: center;
font-size: 2rem;
margin-top: 3rem;
gap: 5rem;
}
#user-score,
#comp-score {
font-size: 4rem;
color: #16a085;
text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
}
.msg-container {
margin-top: 5rem;
}
#msg {
background-color: #2c3e50;
color: #ecf0f1;
font-size: 2rem;
display: inline-block;
padding: 1rem 2rem;
border-radius: 30px;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.reset-container {
margin-top: 2rem;
}
#reset {
padding: 10px 20px;
font-size: 16px;
background-color: #e74c3c;
color: white;
border: none;
border-radius: 30px;
cursor: pointer;
transition: background-color 0.3s ease, transform 0.3s ease;
}
#reset:hover {
background-color: #c0392b;
transform: scale(1.05);
}