Skip to content

Commit cf04535

Browse files
committed
fixed index.html for header image
changed index.html to use an overlay_image as opposed to an overlay_color. added an overlay_filter. updated main.scss to use .page__hero--overlay.
1 parent 45ff9a1 commit cf04535

File tree

2 files changed

+6
-13
lines changed

2 files changed

+6
-13
lines changed

assets/css/main.scss

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -18,24 +18,16 @@
1818

1919
/* Custom header image override */
2020
/* https://claude.ai/share/ea376385-c62a-4607-93a6-51cc03e81b1d */
21-
.page__hero {
22-
background: url('/assets/images/cs229-notebook-header.jpg') center top/cover no-repeat !important;
23-
min-height: 150px; /* Adjust as needed */
24-
display: flex;
25-
align-items: center;
26-
justify-content: center;
27-
}
28-
29-
.page__hero .page__title {
30-
color: #1a1a1a !important; /* Dark text */
21+
.page__hero--overlay .page__title {
22+
color: #1a1a1a !important;
3123
text-shadow: 1px 1px 3px rgba(255,255,255,0.8),
3224
-1px -1px 3px rgba(255,255,255,0.8),
3325
1px -1px 3px rgba(255,255,255,0.8),
3426
-1px 1px 3px rgba(255,255,255,0.8) !important;
3527
font-weight: 600 !important;
3628
}
3729

38-
.page__hero .page__lead {
30+
.page__hero--overlay .page__lead {
3931
color: #2a2a2a !important;
4032
text-shadow: 1px 1px 2px rgba(255,255,255,0.7),
4133
-1px -1px 2px rgba(255,255,255,0.7),

index.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
author_profile: true
44
paginator: true
55
header:
6-
overlay_color: "#24292e"
7-
---
6+
overlay_image: /assets/images/cs229-notebook-header.jpg
7+
overlay_filter: 0.3
8+
---

0 commit comments

Comments
 (0)