Skip to content

Commit 717323a

Browse files
committed
Match _public_presentations hero gradient styling
.course-hero now uses the same blue→purple gradient panel, larger border-radius/padding, and Outfit-800 h1 as .site-hero in the public_presentations site. Syllabus content is unchanged.
1 parent cac635e commit 717323a

1 file changed

Lines changed: 8 additions & 6 deletions

File tree

index.qmd

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,14 @@ execute:
5252
```{=html}
5353
<style>
5454
.course-hero {
55-
background: rgba(20, 25, 40, 0.65);
56-
border: 1px solid rgba(255,255,255,0.06);
57-
border-radius: 18px;
58-
padding: 1.5rem;
59-
margin: 1rem 0 2rem 0;
60-
backdrop-filter: blur(10px);
55+
background: linear-gradient(135deg, rgba(59,130,246,0.18), rgba(139,92,246,0.14));
56+
border: 1px solid rgba(255,255,255,0.08);
57+
border-radius: 24px;
58+
padding: 2.5rem 3rem;
59+
margin: 2rem 0 3rem 0;
60+
text-align: left;
6161
}
62+
.course-hero h1 { font-family: "Outfit", sans-serif; font-weight: 800; margin-bottom: 0.5rem; border: none; }
6263
.course-kicker {
6364
text-transform: uppercase;
6465
letter-spacing: 0.08em;
@@ -101,6 +102,7 @@ execute:
101102
margin: 1.25rem 0 2rem 0;
102103
}
103104
@media (max-width: 768px) {
105+
.course-hero { padding: 2rem; }
104106
.course-meta-grid { grid-template-columns: 1fr; }
105107
}
106108
</style>

0 commit comments

Comments
 (0)