forked from Dev-tanay/Rubik-Cube
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprogress.css
257 lines (212 loc) · 4.99 KB
/
progress.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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
/* Import Google Fonts */
@import url("https://fonts.googleapis.com/css2?family=Space+Grotesk:[email protected]&display=swap");
/* Body styling */
body {
font-family: 'Arial', sans-serif;
/* Use a clean, modern font */
font-size: 30px;
/* Base font size */
color: #f7f4f4;
/* Dark gray text for readability */
background-color: #f4f4f4;
background-image:url('https://i2.pickpik.com/photos/502/642/517/rubik-s-cube-game-cube-strategy-13845d21bb0c925716567a8a3ee7a0fd.jpg');
background-size: cover;
background-repeat: no-repeat;
background-position: center center;
/* Light gray background */
padding: 20px;
line-height: 1.6;
}
/* Header styles */
font-family: "Space Grotesk", sans-serif;
background-image: url("https://png.pngtree.com/thumb_back/fh260/background/20210728/pngtree-purple-rubiks-cube-holographic-floating-geometric-abstract-background-image_752595.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
margin: 0;
padding: 0;
height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
}
/* Header styling */
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 20px;
color: #333;
z-index: 10;
background-color: rgba(194, 190, 190, 0.4);
width: 100%;
height: 60px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.4);
position: fixed;
top: 0;
left: 0;
}
/* Button style for About Us link */
.header a {
display: inline-block;
padding: 10px 20px;
background: linear-gradient(rgb(231, 231, 246), rgb(180, 180, 249));
color: rgb(7, 6, 6);
text-decoration: none;
border: 2px solid #000000;
border-radius: 10px;
font-weight: bold;
transition: background-color 0.3s, transform 0.3s, box-shadow 0.3s;
box-shadow: 3px 3px 0px 0px #b3aaf7;
}
.header a:hover {
background-color: #2b74bc;
transform: translateY(-2px);
box-shadow: 5px 5px 0px 0px #090915;
}
.header a:active {
transform: translateY(1px);
box-shadow: 2px 2px 0px 0px #e99f4c;
}
/* Profile menu styling */
.profile-menu {
position: relative;
display: inline-block;
z-index: 11;
}
.profile-btn {
background-color: transparent;
border: none;
color: rgb(10, 10, 10);
padding: 10px;
border-radius: 50%;
cursor: pointer;
outline: none;
width: 4rem;
height: 4rem;
margin-right: 80px;
}
.profile-pic {
width: 100%;
height: 100%;
border-radius: 50%;
}
.dropdown-content {
display: none;
position: absolute;
right: 0;
background-color: transparent;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 12;
border-radius: 5px;
margin-right: 30px;
}
.dropdown-content a {
color: black;
padding: 10px 30px;
text-decoration: none;
display: block;
}
.dropdown-content a:hover {
background-color: #f1f1f1;
}
.profile-menu:hover .dropdown-content {
display: block;
}
/* Progress container styles */
.progress-container {
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin-top: 20px;
max-width: 900px; /* Set a maximum width */
height: 500px;
display: flex;
flex-direction: column;
justify-content: center;
padding: 20px;
}
.progress-stats {
display: grid;
grid-template-columns: repeat(3, 2fr);
gap: 20px;
margin: 0;
}
.progress-box {
background-color: #f0e5e5;
padding: 20px;
border-radius: 8px;
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
margin:0;
}
.progress-box h3 {
font-size: 20px;
margin-bottom: 8px;
text-align: center;
color: #333;
}
.progress-box p {
font-size: 16px;
color: #666;
text-align: center;
}
ul {
list-style-type: none;
padding: 0;
margin: 0;
}
/* Additional styles for the layout of the two boxes below */
.progress-stats .bottom-box {
grid-column: span 2; /* Span across two columns */
}
#no-progress{
color: red;
/* Progress container styling */
.progress-container {
opacity: 0.6;
background-image: url("https://t4.ftcdn.net/jpg/03/30/27/41/360_F_330274196_C6mjMdPaTggBr4Jg45faWAwViexh7DoA.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
margin-top: 150px;
border-radius: 10px;
padding: 15px;
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.7);
width: 50%;
max-width: 800px;
text-align: center;
}
.progress-container:hover {
opacity: 0.9;
transform: translateY(-10px);
box-shadow: 0 8px 16px rgba(0, 0, 0, 0.9);
}
.progress-container h1 {
font-size: 2em;
margin-bottom: 20px;
color: #0b0a0a;
}
.progress-stats {
font-size: 1.2em;
color: #080606;
}
#recent-solves li {
background: white;
margin-top: 5px;
padding: 10px;
border-radius: 4px;
.progress-stats div {
margin-bottom: 10px;
}
.progress-stats ul {
list-style-type: none;
padding: 0;
}
.progress-stats ul li {
background: rgba(231, 231, 246, 0.8);
border: 1px solid #ccc;
border-radius: 5px;
padding: 10px;
margin-bottom: 5px;
box-shadow: 1px 1px 4px rgba(0, 0, 0, 0.1);
}