Skip to content

Commit e256a04

Browse files
ryan-williamsclaude
andcommitted
style: add CSS for markdown footnotes
Position footnotes at bottom of slide with reduced opacity, hide separator line and backref links. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
1 parent d653a2e commit e256a04

1 file changed

Lines changed: 19 additions & 0 deletions

File tree

packages/client/styles/index.css

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,3 +152,22 @@ html {
152152
.slidev-note ul {
153153
margin: 0;
154154
}
155+
156+
/* Footnotes (from markdown-it-footnote) */
157+
.footnotes-sep {
158+
display: none;
159+
}
160+
161+
.footnotes {
162+
position: absolute;
163+
bottom: 0.5rem;
164+
left: 0;
165+
right: 0;
166+
padding: 0 2rem;
167+
font-size: 0.75rem;
168+
opacity: 0.5;
169+
}
170+
171+
.footnote-backref {
172+
display: none;
173+
}

0 commit comments

Comments
 (0)