Skip to content

Commit c6ea5c7

Browse files
committed
custom header image
following instructions on https://claude.ai/share/ea376385-c62a-4607-93a6-51cc03e81b1d, created a custom header image for the home page.
1 parent 73017db commit c6ea5c7

File tree

2 files changed

+28
-1
lines changed

2 files changed

+28
-1
lines changed

assets/css/main.scss

Lines changed: 28 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,31 @@
1414
height: var(--length);
1515
width: var(--length) !important;
1616
}
17-
}
17+
}
18+
19+
/* Custom header image override */
20+
/* https://claude.ai/share/ea376385-c62a-4607-93a6-51cc03e81b1d */
21+
.masthead {
22+
background: url('/assets/images/cs229-notebook-header.jpg') center top/cover no-repeat !important;
23+
min-height: 60px; /* Matches typical masthead height */
24+
display: flex;
25+
align-items: center;
26+
justify-content: center;
27+
}
28+
29+
.masthead .site-title {
30+
color: #1a1a1a !important; /* Dark text */
31+
text-shadow: 1px 1px 3px rgba(255,255,255,0.8),
32+
-1px -1px 3px rgba(255,255,255,0.8),
33+
1px -1px 3px rgba(255,255,255,0.8),
34+
-1px 1px 3px rgba(255,255,255,0.8) !important; /* White shadow/outline for contrast */
35+
font-weight: 600 !important;
36+
}
37+
38+
.masthead .site-subtitle {
39+
color: #2a2a2a !important;
40+
text-shadow: 1px 1px 2px rgba(255,255,255,0.7),
41+
-1px -1px 2px rgba(255,255,255,0.7),
42+
1px -1px 2px rgba(255,255,255,0.7),
43+
-1px 1px 2px rgba(255,255,255,0.7) !important;
44+
}
476 KB
Loading

0 commit comments

Comments
 (0)