Skip to content

Commit 465dde3

Browse files
committed
fixed home font/new first
1 parent 737b150 commit 465dde3

1 file changed

Lines changed: 119 additions & 60 deletions

File tree

static/assets/styles/home.css

Lines changed: 119 additions & 60 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,23 @@
11
.classic {
22
--glow-color: gold;
33
}
4-
.classic *{
4+
5+
.classic * {
56
transition: all 0.3s ease;
67
transition-property: background-color, color;
78
}
8-
.classic body {
9+
10+
body {
11+
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
12+
}
13+
14+
body.classic {
915
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
1016
background-color: #ffffff;
1117
margin: 0;
1218
padding: 0;
1319
}
20+
1421
.classic header h1 {
1522
text-align: center;
1623
color: #333;
@@ -32,28 +39,35 @@
3239
.classic header.shadow {
3340
box-shadow: 0px 0px 10px #333;
3441
}
42+
3543
.classic .cards.loading {
3644
background-image: url("../images/loading.gif");
3745
background-position: center;
3846
background-size: contain;
3947
background-repeat: no-repeat;
4048
}
49+
4150
.classic .card.loading {
4251
display: none;
4352
}
53+
4454
.classic .cards.loading .inxxx {
4555
display: none;
4656
}
57+
4758
.classic .cards.grid .inxxx.rows {
4859
display: none;
4960
}
61+
5062
.classic .cards.rows .inxxx.grid {
5163
display: none;
5264
}
65+
5366
.classic .cloud .card.grid {
5467
width: 510px;
5568
height: 350px;
5669
}
70+
5771
.classic .card.grid:hover {
5872
transform: translateY(-5px);
5973
box-shadow: 0 6px 12px rgba(0, 0, 0, 0.15);
@@ -70,6 +84,7 @@
7084
.classic .card.rows .card-content {
7185
color: black;
7286
}
87+
7388
.classic .card-links a {
7489
color: #fff;
7590
}
@@ -90,6 +105,7 @@
90105
.classic .card.grid .star-icon {
91106
color: rgba(255, 255, 255, 0.7);
92107
}
108+
93109
.classic .card.grid .star-icon.pinned {
94110
color: gold;
95111
text-shadow: 0 0 5px black;
@@ -144,18 +160,21 @@
144160
filter: brightness(0.5);
145161
}
146162

147-
.classic .new, .classic .updated {
163+
.new,
164+
.updated {
148165
order: -1;
149166
/* add a glowing gold shadow effect */
150167
box-shadow: 0 0 20px var(--glow-color);
151168
animation: glowing 1300ms infinite;
152169
border: 5px solid var(--glow-color);
153170
box-sizing: border-box;
154171
}
155-
.classic .new h2::after{
172+
173+
.new h2::after {
156174
content: " (NEW)";
157175
}
158-
.classic .updated h2::after{
176+
177+
.updated h2::after {
159178
content: " (UPDATED)";
160179
}
161180

@@ -191,12 +210,14 @@
191210
.classic .dont-see {
192211
color: #333;
193212
}
213+
194214
.classic body.dark .dont-see {
195215
color: #eee;
196216
}
197217

198218
/* Mobile Styles */
199219
@media screen and (max-width: 768px) {
220+
200221
/* Search adjustments */
201222
.classic .action-button-row button {
202223
margin-top: 20px !important;
@@ -206,6 +227,7 @@
206227
.classic .card-tags .tag {
207228
display: none;
208229
}
230+
209231
.classic .card-links {
210232
display: none;
211233
}
@@ -241,9 +263,11 @@
241263
.classic .toggle-btn {
242264
background: #f0f0f0;
243265
}
266+
244267
.classic .toggle-btn:hover {
245268
background: #e0e0e0;
246269
}
270+
247271
.classic .dot {
248272
background-color: #333;
249273
}
@@ -257,137 +281,172 @@
257281
}
258282

259283
.classic .profile-section {
260-
background-color: #ffffff;
261-
box-shadow: 0 4px 8px rgba(0,0,0,0.1);
284+
background-color: #ffffff;
285+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
262286
}
287+
263288
.classic .achievements-section {
264-
background-color: #ffffff;
289+
background-color: #ffffff;
265290
}
291+
266292
.classic .profile-info label {
267-
color: #666;
293+
color: #666;
268294
}
295+
269296
.classic .profile-info input {
270-
border: 1px solid #ddd;
271-
background-color: #ffffff;
272-
color: #000;
297+
border: 1px solid #ddd;
298+
background-color: #ffffff;
299+
color: #000;
273300
}
301+
274302
.classic .profile-info input:focus {
275-
border-color: dodgerblue;
303+
border-color: dodgerblue;
276304
}
305+
277306
.classic #saveChanges {
278-
background-color: dodgerblue;
279-
color: white;
307+
background-color: dodgerblue;
308+
color: white;
280309
}
310+
281311
.classic #saveChanges:hover {
282-
background-color: #0066cc;
312+
background-color: #0066cc;
283313
}
314+
284315
.classic .achievement-card {
285-
background-color: #fff;
286-
border: 2px solid;
316+
background-color: #fff;
317+
border: 2px solid;
287318
}
319+
288320
.classic .achievement-icon {
289-
color: white;
321+
color: white;
290322
}
323+
291324
.classic .achievement-info h3 {
292-
color: #333;
325+
color: #333;
293326
}
327+
294328
.classic .achievement-info p {
295-
color: #666;
329+
color: #666;
296330
}
331+
297332
.classic .stats {
298-
color: #000;
333+
color: #000;
299334
}
335+
300336
.classic .stat {
301-
color: #000;
337+
color: #000;
302338
}
339+
303340
.classic .stat-title {
304-
border-bottom: 1px solid #ccc;
341+
border-bottom: 1px solid #ccc;
305342
}
306343

307344
.classic .current-weather {
308-
background: white;
309-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
345+
background: white;
346+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
310347
}
348+
311349
.classic #weather-chart-container {
312-
background-color: #ffffff;
313-
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
350+
background-color: #ffffff;
351+
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
314352
}
353+
315354
.classic .forecast-day {
316-
background: white;
317-
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
355+
background: white;
356+
box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
318357
}
358+
319359
.classic .temperature {
320-
color: #1a73e8;
360+
color: #1a73e8;
321361
}
362+
322363
.classic .conditions {
323-
color: #666;
364+
color: #666;
324365
}
366+
325367
.classic .date {
326-
color: #444;
368+
color: #444;
327369
}
328370

329371
.classic h1 {
330-
color: #111;
331-
background-color: #fff;
372+
color: #111;
373+
background-color: #fff;
332374
}
375+
333376
.classic h2 {
334-
color: #444;
377+
color: #444;
335378
}
379+
336380
.classic #searchInput {
337-
border: 1px solid #ccc;
338-
background-color: #ffffff;
339-
color: #000;
381+
border: 1px solid #ccc;
382+
background-color: #ffffff;
383+
color: #000;
340384
}
385+
341386
.classic #searchInput:focus {
342-
border: 1px solid dodgerblue;
387+
border: 1px solid dodgerblue;
343388
}
389+
344390
.classic li {
345-
border-bottom: 1px solid #ccc;
391+
border-bottom: 1px solid #ccc;
346392
}
393+
347394
.classic li div.links a {
348-
color: dodgerblue;
395+
color: dodgerblue;
349396
}
397+
350398
.classic a {
351-
color: dodgerblue;
399+
color: dodgerblue;
352400
}
401+
353402
.classic a:hover {
354-
color: dodgerblue;
403+
color: dodgerblue;
355404
}
405+
356406
.classic a:visited {
357-
color: dodgerblue;
407+
color: dodgerblue;
358408
}
409+
359410
.classic .loading {
360-
color: #666;
411+
color: #666;
361412
}
413+
362414
.classic .error {
363-
color: #dc3545;
415+
color: #dc3545;
364416
}
417+
365418
.classic .loading-bar {
366-
background-color: #f3f3f3;
367-
border: 1px solid #ccc;
419+
background-color: #f3f3f3;
420+
border: 1px solid #ccc;
368421
}
422+
369423
.classic .loading-bar-fill {
370-
background-color: #000000;
424+
background-color: #000000;
371425
}
372426

373427
.classic body h1 {
374-
color: black;
428+
color: black;
375429
}
430+
376431
.classic input[type="text"] {
377-
background: #f0f0f0;
378-
color: black;
379-
border: 1px solid #ccc;
432+
background: #f0f0f0;
433+
color: black;
434+
border: 1px solid #ccc;
380435
}
436+
381437
.classic input[type="text"]::placeholder {
382-
color: #666;
438+
color: #666;
383439
}
440+
384441
.classic input[type="text"]:focus {
385-
border-color: dodgerblue;
442+
border-color: dodgerblue;
386443
}
444+
387445
.classic button {
388-
background: dodgerblue;
389-
color: white;
446+
background: dodgerblue;
447+
color: white;
390448
}
449+
391450
.classic button:hover {
392-
background: #0066cc;
393-
}
451+
background: #0066cc;
452+
}

0 commit comments

Comments
 (0)