Update style.css
Browse files
style.css
CHANGED
|
@@ -12,6 +12,7 @@
|
|
| 12 |
|
| 13 |
body {
|
| 14 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
|
|
|
| 15 |
background: linear-gradient(135deg, #090d16 0%, #0f172a 40%, #1e1b4b 100%);
|
| 16 |
background-attachment: fixed;
|
| 17 |
color: var(--text-primary);
|
|
@@ -30,6 +31,7 @@ header {
|
|
| 30 |
margin-bottom: 3rem;
|
| 31 |
border-bottom: 1px solid var(--border-color);
|
| 32 |
padding-bottom: 2rem;
|
|
|
|
| 33 |
}
|
| 34 |
|
| 35 |
h1 {
|
|
@@ -64,15 +66,26 @@ h1 {
|
|
| 64 |
.badge.cyan { color: var(--accent-cyan); border-color: rgba(6, 182, 212, 0.3); }
|
| 65 |
|
| 66 |
/* ==========================================
|
| 67 |
-
|
| 68 |
========================================== */
|
| 69 |
|
| 70 |
-
@keyframes
|
| 71 |
-
|
| 72 |
opacity: 0;
|
| 73 |
-
transform: translateY(
|
| 74 |
}
|
| 75 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 76 |
opacity: 1;
|
| 77 |
transform: translateY(0);
|
| 78 |
}
|
|
@@ -86,12 +99,25 @@ section {
|
|
| 86 |
margin-bottom: 2rem;
|
| 87 |
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
|
| 88 |
|
| 89 |
-
/*
|
| 90 |
-
|
| 91 |
-
animation
|
| 92 |
-
|
| 93 |
}
|
| 94 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 95 |
/* Typography & Tables */
|
| 96 |
h2 {
|
| 97 |
font-size: 1.5rem;
|
|
|
|
| 12 |
|
| 13 |
body {
|
| 14 |
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
|
| 15 |
+
/* Rich multi-stop gradient background */
|
| 16 |
background: linear-gradient(135deg, #090d16 0%, #0f172a 40%, #1e1b4b 100%);
|
| 17 |
background-attachment: fixed;
|
| 18 |
color: var(--text-primary);
|
|
|
|
| 31 |
margin-bottom: 3rem;
|
| 32 |
border-bottom: 1px solid var(--border-color);
|
| 33 |
padding-bottom: 2rem;
|
| 34 |
+
animation: fadeInDown 0.8s ease-out forwards;
|
| 35 |
}
|
| 36 |
|
| 37 |
h1 {
|
|
|
|
| 66 |
.badge.cyan { color: var(--accent-cyan); border-color: rgba(6, 182, 212, 0.3); }
|
| 67 |
|
| 68 |
/* ==========================================
|
| 69 |
+
RELIABLE FADE-IN & HOVER ANIMATIONS
|
| 70 |
========================================== */
|
| 71 |
|
| 72 |
+
@keyframes fadeInDown {
|
| 73 |
+
from {
|
| 74 |
opacity: 0;
|
| 75 |
+
transform: translateY(-20px);
|
| 76 |
}
|
| 77 |
+
to {
|
| 78 |
+
opacity: 1;
|
| 79 |
+
transform: translateY(0);
|
| 80 |
+
}
|
| 81 |
+
}
|
| 82 |
+
|
| 83 |
+
@keyframes fadeInUp {
|
| 84 |
+
from {
|
| 85 |
+
opacity: 0;
|
| 86 |
+
transform: translateY(30px);
|
| 87 |
+
}
|
| 88 |
+
to {
|
| 89 |
opacity: 1;
|
| 90 |
transform: translateY(0);
|
| 91 |
}
|
|
|
|
| 99 |
margin-bottom: 2rem;
|
| 100 |
box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.3), 0 8px 10px -6px rgba(0, 0, 0, 0.3);
|
| 101 |
|
| 102 |
+
/* Smooth entrance animation on page load */
|
| 103 |
+
opacity: 0;
|
| 104 |
+
animation: fadeInUp 0.8s ease-out forwards;
|
| 105 |
+
transition: transform 0.3s ease, box-shadow 0.3s ease;
|
| 106 |
}
|
| 107 |
|
| 108 |
+
/* Subtle interactive hover effect for sections */
|
| 109 |
+
section:hover {
|
| 110 |
+
transform: translateY(-3px);
|
| 111 |
+
box-shadow: 0 15px 30px -5px rgba(0, 0, 0, 0.4);
|
| 112 |
+
border-color: rgba(59, 130, 246, 0.4);
|
| 113 |
+
}
|
| 114 |
+
|
| 115 |
+
/* Staggered entrance timing for each section */
|
| 116 |
+
section:nth-child(1) { animation-delay: 0.2s; }
|
| 117 |
+
section:nth-child(2) { animation-delay: 0.35s; }
|
| 118 |
+
section:nth-child(3) { animation-delay: 0.5s; }
|
| 119 |
+
section:nth-child(4) { animation-delay: 0.65s; }
|
| 120 |
+
|
| 121 |
/* Typography & Tables */
|
| 122 |
h2 {
|
| 123 |
font-size: 1.5rem;
|