Skip to content

Commit 5f29e0d

Browse files
danribesclaude
andcommitted
fix: Make hero title and stat numbers white for dark background
Replace gradient-clip text on .hero-title and .stat-number with plain white (#ffffff) so they are clearly visible against the dark hero background. Bump CSS cache to v4. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 35a35ac commit 5f29e0d

2 files changed

Lines changed: 3 additions & 9 deletions

File tree

css/style.css

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -397,10 +397,7 @@ ul {
397397
.hero-title {
398398
font-size: 4.5rem;
399399
margin-bottom: 0.5rem;
400-
background: var(--gradient-primary);
401-
-webkit-background-clip: text;
402-
-webkit-text-fill-color: transparent;
403-
background-clip: text;
400+
color: #ffffff;
404401
animation: slideInFromTop 0.8s ease-out;
405402
text-shadow: 0 0 40px rgba(102, 126, 234, 0.3);
406403
}
@@ -452,10 +449,7 @@ ul {
452449
.stat-number {
453450
font-size: 3rem;
454451
font-weight: 700;
455-
background: var(--gradient-primary);
456-
-webkit-background-clip: text;
457-
-webkit-text-fill-color: transparent;
458-
background-clip: text;
452+
color: #ffffff;
459453
margin-bottom: 0.5rem;
460454
display: block;
461455
}

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<meta name="keywords" content="health economist, HEOR, HTA, market access, economic modeling, health technology assessment">
88
<meta name="author" content="Daniel Ribes">
99
<title>Daniel Ribes - Senior Health Economist | HEOR & Market Access Expert</title>
10-
<link rel="stylesheet" href="css/style.css?v=3">
10+
<link rel="stylesheet" href="css/style.css?v=4">
1111
<link rel="preconnect" href="https://fonts.googleapis.com">
1212
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
1313
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Poppins:wght@600;700&display=swap" rel="stylesheet">

0 commit comments

Comments
 (0)