updated look
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 2m15s
All checks were successful
Deploy Website / build-and-deploy (push) Successful in 2m15s
This commit is contained in:
@@ -3,7 +3,7 @@ export function Citation({ id, index }: { id: string; index: number }) {
|
||||
<sup id={`cite-ref-${id}`} className="ml-0.5">
|
||||
<a
|
||||
href={`#cite-note-${id}`}
|
||||
className="text-zinc-500 hover:text-zinc-900 dark:hover:text-zinc-100 transition-colors font-mono text-[10px] no-underline"
|
||||
className="font-mono text-[10px] text-muted-strong transition-colors no-underline hover:text-ink"
|
||||
>
|
||||
[{index}]
|
||||
</a>
|
||||
@@ -15,13 +15,13 @@ export function Bibliography({ items, children }: { items?: { id: string; conten
|
||||
if (!items && !children) return null;
|
||||
|
||||
return (
|
||||
<div className="mt-12 pt-8 border-t border-zinc-200 dark:border-zinc-800">
|
||||
<h3 className="text-sm font-bold uppercase tracking-wider text-zinc-900 dark:text-zinc-100 mb-4">References</h3>
|
||||
<ol className="list-decimal pl-4 space-y-2 text-sm text-zinc-600 dark:text-zinc-400">
|
||||
{Array.isArray(items) && items.map((item, i) => (
|
||||
<div className="mt-12 border-t border-line pt-8">
|
||||
<h3 className="eyebrow mb-4">References</h3>
|
||||
<ol className="list-decimal space-y-2 pl-4 text-[0.94rem] leading-7 text-muted">
|
||||
{Array.isArray(items) && items.map((item) => (
|
||||
<li key={item.id} id={`cite-note-${item.id}`}>
|
||||
{item.content}
|
||||
<a href={`#cite-ref-${item.id}`} className="ml-2 hover:text-zinc-900 dark:hover:text-zinc-100">
|
||||
<a href={`#cite-ref-${item.id}`} className="ml-2 transition-colors hover:text-ink">
|
||||
↩
|
||||
</a>
|
||||
</li>
|
||||
|
||||
Reference in New Issue
Block a user