Spaces:
Paused
Paused
Update app.py
Browse files
app.py
CHANGED
|
@@ -30,10 +30,10 @@ STRIP_PILL_PAD_V_PX = 8
|
|
| 30 |
STRIP_PILL_PAD_H_PX = 14
|
| 31 |
STRIP_PILL_FONT_PX = 16
|
| 32 |
TAGLINE_FONT_PX = 15
|
| 33 |
-
STRIP_BELOW_GAP_PX = 30
|
| 34 |
|
| 35 |
HERO_LOGO_WIDTH_PX = 400 # width of the hero logo
|
| 36 |
-
HERO_MARGIN_BOTTOM_PX= 30
|
| 37 |
|
| 38 |
GRID_GAP_PX = 50 # space between cards
|
| 39 |
CARD_WIDTH_PX = 340 # card width
|
|
@@ -165,11 +165,11 @@ st.markdown(f"""
|
|
| 165 |
}}
|
| 166 |
|
| 167 |
/* ===== TOP-LEFT STRIP ROW ===== */
|
| 168 |
-
.suite-row {
|
| 169 |
-
|
| 170 |
-
|
| 171 |
-
|
| 172 |
-
}
|
| 173 |
|
| 174 |
.suite-pill {{
|
| 175 |
background: linear-gradient(90deg, var(--navy1) 0%, var(--navy2) 100%);
|
|
@@ -219,7 +219,6 @@ st.markdown(f"""
|
|
| 219 |
padding: var(--card-pv) var(--card-ph);
|
| 220 |
background: var(--card-bg, linear-gradient(180deg, {PAPER_TOP} 0%, {PAPER_BOT} 100%));
|
| 221 |
border: var(--card-bw) solid var(--card-stroke);
|
| 222 |
-
/* 3D: dual drop shadows + subtle internal highlights */
|
| 223 |
box-shadow:
|
| 224 |
0 14px 32px rgba(2,20,35,.12),
|
| 225 |
0 1px 0 rgba(255,255,255,0.90) inset,
|
|
@@ -238,7 +237,6 @@ st.markdown(f"""
|
|
| 238 |
filter: saturate(1.03);
|
| 239 |
}}
|
| 240 |
|
| 241 |
-
/* (optional) chip inside each card */
|
| 242 |
.suite-chip {{
|
| 243 |
position: absolute; top: 12px; right: 12px;
|
| 244 |
background: linear-gradient(90deg, var(--navy1) 0%, var(--navy2) 100%);
|
|
@@ -247,7 +245,6 @@ st.markdown(f"""
|
|
| 247 |
box-shadow: 0 6px 14px rgba(2,12,30,.18);
|
| 248 |
}}
|
| 249 |
|
| 250 |
-
/* Icon circle */
|
| 251 |
.icon-wrap {{
|
| 252 |
width: var(--icon-d); height: var(--icon-d); border-radius: 9999px;
|
| 253 |
background: #F1F5F9;
|
|
@@ -267,7 +264,6 @@ st.markdown(f"""
|
|
| 267 |
color:#566275; min-height: 40px; margin: 0 10px; font-size: var(--blurb-fs);
|
| 268 |
}}
|
| 269 |
|
| 270 |
-
/* Button (navy) */
|
| 271 |
.btn {{
|
| 272 |
display:inline-block; padding: var(--btn-pv) var(--btn-ph); border-radius: var(--btn-r);
|
| 273 |
border: 1px solid rgba(11,18,32,.45);
|
|
@@ -276,7 +272,6 @@ st.markdown(f"""
|
|
| 276 |
margin: 6px auto 0;
|
| 277 |
box-shadow: 0 12px 28px rgba(11,18,32,.28), inset 0 1px 0 rgba(255,255,255,.10);
|
| 278 |
}}
|
| 279 |
-
/* Force white text + no underline on CTA in ALL states */
|
| 280 |
a.btn, a.btn:link, a.btn:visited, a.btn:hover, a.btn:active, a.btn:focus {{
|
| 281 |
color: #ffffff !important; text-decoration: none !important;
|
| 282 |
}}
|
|
|
|
| 30 |
STRIP_PILL_PAD_H_PX = 14
|
| 31 |
STRIP_PILL_FONT_PX = 16
|
| 32 |
TAGLINE_FONT_PX = 15
|
| 33 |
+
STRIP_BELOW_GAP_PX = 30 # space between the strip row and the hero logo
|
| 34 |
|
| 35 |
HERO_LOGO_WIDTH_PX = 400 # width of the hero logo
|
| 36 |
+
HERO_MARGIN_BOTTOM_PX= 30 # space under the hero logo
|
| 37 |
|
| 38 |
GRID_GAP_PX = 50 # space between cards
|
| 39 |
CARD_WIDTH_PX = 340 # card width
|
|
|
|
| 165 |
}}
|
| 166 |
|
| 167 |
/* ===== TOP-LEFT STRIP ROW ===== */
|
| 168 |
+
.suite-row {{
|
| 169 |
+
display:flex; align-items:center; gap: var(--strip-gap);
|
| 170 |
+
justify-content:flex-start; flex-wrap: wrap;
|
| 171 |
+
margin: 0 0 var(--strip-row-mb) 0; /* was 0 0 8px 0 */
|
| 172 |
+
}}
|
| 173 |
|
| 174 |
.suite-pill {{
|
| 175 |
background: linear-gradient(90deg, var(--navy1) 0%, var(--navy2) 100%);
|
|
|
|
| 219 |
padding: var(--card-pv) var(--card-ph);
|
| 220 |
background: var(--card-bg, linear-gradient(180deg, {PAPER_TOP} 0%, {PAPER_BOT} 100%));
|
| 221 |
border: var(--card-bw) solid var(--card-stroke);
|
|
|
|
| 222 |
box-shadow:
|
| 223 |
0 14px 32px rgba(2,20,35,.12),
|
| 224 |
0 1px 0 rgba(255,255,255,0.90) inset,
|
|
|
|
| 237 |
filter: saturate(1.03);
|
| 238 |
}}
|
| 239 |
|
|
|
|
| 240 |
.suite-chip {{
|
| 241 |
position: absolute; top: 12px; right: 12px;
|
| 242 |
background: linear-gradient(90deg, var(--navy1) 0%, var(--navy2) 100%);
|
|
|
|
| 245 |
box-shadow: 0 6px 14px rgba(2,12,30,.18);
|
| 246 |
}}
|
| 247 |
|
|
|
|
| 248 |
.icon-wrap {{
|
| 249 |
width: var(--icon-d); height: var(--icon-d); border-radius: 9999px;
|
| 250 |
background: #F1F5F9;
|
|
|
|
| 264 |
color:#566275; min-height: 40px; margin: 0 10px; font-size: var(--blurb-fs);
|
| 265 |
}}
|
| 266 |
|
|
|
|
| 267 |
.btn {{
|
| 268 |
display:inline-block; padding: var(--btn-pv) var(--btn-ph); border-radius: var(--btn-r);
|
| 269 |
border: 1px solid rgba(11,18,32,.45);
|
|
|
|
| 272 |
margin: 6px auto 0;
|
| 273 |
box-shadow: 0 12px 28px rgba(11,18,32,.28), inset 0 1px 0 rgba(255,255,255,.10);
|
| 274 |
}}
|
|
|
|
| 275 |
a.btn, a.btn:link, a.btn:visited, a.btn:hover, a.btn:active, a.btn:focus {{
|
| 276 |
color: #ffffff !important; text-decoration: none !important;
|
| 277 |
}}
|