Skip to content

Commit fb24616

Browse files
authored
Refactor CSS variables and styles for consistency
1 parent 50e37b0 commit fb24616

1 file changed

Lines changed: 136 additions & 0 deletions

File tree

style.css

Lines changed: 136 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ html, body { height: 100% }
2323

2424
body {
2525
margin: 0;
26+
display: flex;
2627
font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
2728
background: linear-gradient(180deg, #f7f9fc, #f9fbff);
2829
color: var(--text-strong);
@@ -352,3 +353,138 @@ tr.accept-state { background: #eafaf2 }
352353
color: var(--text-muted);
353354
margin: 0;
354355
}
356+
357+
/* Footer */
358+
.footer {
359+
background: var(--card);
360+
border: 1px solid var(--border);
361+
border-radius: var(--radius);
362+
box-shadow: var(--shadow);
363+
padding: 20px 24px;
364+
}
365+
366+
.footer-content {
367+
display: flex;
368+
justify-content: space-between;
369+
align-items: center;
370+
flex-wrap: wrap;
371+
gap: 16px;
372+
}
373+
374+
.footer-left {
375+
display: flex;
376+
flex-direction: column;
377+
gap: 4px;
378+
}
379+
380+
.copyright {
381+
margin: 0;
382+
font-size: 0.9rem;
383+
color: var(--primary);
384+
font-weight: 500;
385+
}
386+
387+
.creator {
388+
margin: 0;
389+
font-size: 0.85rem;
390+
color: var(--text-muted);
391+
}
392+
393+
.footer-right {
394+
display: flex;
395+
gap: 14px;
396+
align-items: center;
397+
}
398+
399+
/* Profile picture */
400+
.profile-pic {
401+
width: 40px;
402+
height: 40px;
403+
border-radius: 50%;
404+
overflow: hidden;
405+
border: 1px solid var(--border);
406+
flex-shrink: 0;
407+
}
408+
409+
.profile-pic img {
410+
width: 100%;
411+
height: 100%;
412+
object-fit: cover;
413+
}
414+
415+
/* Social links */
416+
.social-link {
417+
display: inline-flex;
418+
align-items: center;
419+
justify-content: center;
420+
width: 40px;
421+
height: 40px;
422+
border-radius: 50%;
423+
background: var(--muted);
424+
border: 1px solid var(--border);
425+
transition: all 0.2s ease;
426+
text-decoration: none;
427+
/* Prevent default text colors from interfering */
428+
color: inherit;
429+
}
430+
431+
/* SVG Icon Styling */
432+
.social-icon {
433+
width: 22px;
434+
height: 22px;
435+
/* This allows the color to transition smoothly */
436+
transition: fill 0.2s ease;
437+
}
438+
439+
/* --- Brand Colors --- */
440+
441+
/* GitHub */
442+
.social-link.github .social-icon {
443+
fill: #181717; /* Official GitHub Black */
444+
}
445+
.social-link.github:hover {
446+
background: #181717;
447+
border-color: #181717;
448+
}
449+
.social-link.github:hover .social-icon {
450+
fill: #ffffff; /* White icon on black bg */
451+
}
452+
453+
/* Facebook */
454+
.social-link.facebook .social-icon {
455+
fill: #1877F2; /* Official FB Blue */
456+
}
457+
.social-link.facebook:hover {
458+
background: #1877F2;
459+
border-color: #1877F2;
460+
}
461+
.social-link.facebook:hover .social-icon {
462+
fill: #ffffff;
463+
}
464+
465+
/* Instagram */
466+
.social-link.instagram .social-icon {
467+
fill: #E1306C; /* Official Insta Pink */
468+
}
469+
.social-link.instagram:hover {
470+
/* Instagram Gradient Background */
471+
background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
472+
border-color: transparent;
473+
}
474+
.social-link.instagram:hover .social-icon {
475+
fill: #ffffff;
476+
}
477+
@media (max-width: 640px) {
478+
.footer-content {
479+
flex-direction: column;
480+
text-align: center;
481+
}
482+
483+
.footer-left {
484+
align-items: center;
485+
}
486+
487+
.footer-right {
488+
justify-content: center;
489+
}
490+
}

0 commit comments

Comments
 (0)