Skip to content

Commit 0c73c40

Browse files
committed
ENH: Add dark-background header image
1 parent 018a8e3 commit 0c73c40

File tree

3 files changed

+9
-2
lines changed

3 files changed

+9
-2
lines changed

_quarto.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,9 @@ website:
6262

6363
format:
6464
html:
65-
theme: flatly
65+
theme:
66+
light: flatly
67+
dark: darkly
6668
css: styles.css
6769
toc: true
6870

images/stanford-line2-8-dark.png

52.2 KB
Loading

index.qmd

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ format:
44
page-layout: full
55
---
66

7-
<center><a><img src="images/stanford-line2-8.png" alt="Poldracklab logo" width="50%"/></a></center>
7+
<center><a>
8+
<picture>
9+
<source srcset="images/stanford-line2-8-dark.png" media="(prefers-color-scheme: dark)" />
10+
<img src="images/stanford-line2-8.png" alt="Poldracklab logo" width="50%" />
11+
</picture></a>
12+
</center>
813

914
<br>
1015
<br>

0 commit comments

Comments
 (0)