Spaces:
Sleeping
Sleeping
Update src/style.css
Browse files- src/style.css +50 -11
src/style.css
CHANGED
|
@@ -3,10 +3,12 @@ html, body {
|
|
| 3 |
margin: 0;
|
| 4 |
padding: 0;
|
| 5 |
height: 100%;
|
| 6 |
-
font
|
| 7 |
-
|
|
|
|
|
|
|
| 8 |
overflow: hidden;
|
| 9 |
-
color:
|
| 10 |
}
|
| 11 |
|
| 12 |
/* === Floating Animated Circles === */
|
|
@@ -35,15 +37,16 @@ html, body {
|
|
| 35 |
}
|
| 36 |
}
|
| 37 |
|
|
|
|
| 38 |
.circle {
|
| 39 |
position: absolute;
|
| 40 |
-
width:
|
| 41 |
-
height:
|
| 42 |
-
background: radial-gradient(circle, #
|
| 43 |
border-radius: 50%;
|
| 44 |
-
opacity: 0.
|
| 45 |
-
animation: floatAround
|
| 46 |
-
filter: blur(
|
| 47 |
}
|
| 48 |
|
| 49 |
.circle:nth-child(1) {
|
|
@@ -98,7 +101,8 @@ html, body {
|
|
| 98 |
.cta-button {
|
| 99 |
padding: 1rem 2rem;
|
| 100 |
font-size: 2rem;
|
| 101 |
-
|
|
|
|
| 102 |
border: none;
|
| 103 |
border-radius: 60px;
|
| 104 |
color: white;
|
|
@@ -124,4 +128,39 @@ main.stApp {
|
|
| 124 |
background: transparent !important;
|
| 125 |
position: relative;
|
| 126 |
z-index: 1;
|
| 127 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 3 |
margin: 0;
|
| 4 |
padding: 0;
|
| 5 |
height: 100%;
|
| 6 |
+
/* Use the primary font family suggested by the brief */
|
| 7 |
+
font-family: 'Segoe UI', 'Open Sans', sans-serif;
|
| 8 |
+
/* Dark, elegant backdrop inspired by premium tech sites */
|
| 9 |
+
background: linear-gradient(145deg, #002d5b 0%, #001a33 100%);
|
| 10 |
overflow: hidden;
|
| 11 |
+
color: #f5faff;
|
| 12 |
}
|
| 13 |
|
| 14 |
/* === Floating Animated Circles === */
|
|
|
|
| 37 |
}
|
| 38 |
}
|
| 39 |
|
| 40 |
+
/* Soft floating circles tinted with primary and secondary brand colours */
|
| 41 |
.circle {
|
| 42 |
position: absolute;
|
| 43 |
+
width: 320px;
|
| 44 |
+
height: 320px;
|
| 45 |
+
background: radial-gradient(circle, #004c97, #36ba01);
|
| 46 |
border-radius: 50%;
|
| 47 |
+
opacity: 0.12;
|
| 48 |
+
animation: floatAround 12s ease-in-out infinite;
|
| 49 |
+
filter: blur(20px);
|
| 50 |
}
|
| 51 |
|
| 52 |
.circle:nth-child(1) {
|
|
|
|
| 101 |
.cta-button {
|
| 102 |
padding: 1rem 2rem;
|
| 103 |
font-size: 2rem;
|
| 104 |
+
/* Primary brand colour for the call-to-action button */
|
| 105 |
+
background-color: #004c97;
|
| 106 |
border: none;
|
| 107 |
border-radius: 60px;
|
| 108 |
color: white;
|
|
|
|
| 128 |
background: transparent !important;
|
| 129 |
position: relative;
|
| 130 |
z-index: 1;
|
| 131 |
+
}
|
| 132 |
+
|
| 133 |
+
/* === Timeline styles === */
|
| 134 |
+
.timeline {
|
| 135 |
+
margin-top: 2rem;
|
| 136 |
+
z-index: 2;
|
| 137 |
+
}
|
| 138 |
+
|
| 139 |
+
/* Individual timeline entry styled as a card */
|
| 140 |
+
.timeline-card {
|
| 141 |
+
display: flex;
|
| 142 |
+
align-items: flex-start;
|
| 143 |
+
background: rgba(255, 255, 255, 0.05);
|
| 144 |
+
border-left: 6px solid #36ba01;
|
| 145 |
+
border-radius: 12px;
|
| 146 |
+
padding: 1rem;
|
| 147 |
+
margin-bottom: 1rem;
|
| 148 |
+
backdrop-filter: blur(6px);
|
| 149 |
+
box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
|
| 150 |
+
}
|
| 151 |
+
.timeline-card .icon {
|
| 152 |
+
font-size: 1.6rem;
|
| 153 |
+
line-height: 1;
|
| 154 |
+
margin-right: 1rem;
|
| 155 |
+
color: #36ba01;
|
| 156 |
+
}
|
| 157 |
+
.timeline-card h4 {
|
| 158 |
+
margin: 0;
|
| 159 |
+
font-size: 1.1rem;
|
| 160 |
+
color: #f5faff;
|
| 161 |
+
}
|
| 162 |
+
.timeline-card p {
|
| 163 |
+
margin: 0.3rem 0 0;
|
| 164 |
+
font-size: 0.9rem;
|
| 165 |
+
color: #cad8e5;
|
| 166 |
+
}
|