feat: improve footnote ref design

This commit is contained in:
Stefan Imhoff
2024-11-09 14:34:05 +01:00
parent 9183d6f653
commit 7b6a230e93

View File

@@ -244,7 +244,14 @@ const schema = JSON.stringify({
}
[data-footnote-ref] {
@apply relative rounded-full bg-accent p-[0.25em] font-light not-italic !text-white no-underline mis-[0.1em];
@apply relative rounded-full font-light not-italic !text-shibui-400 no-underline mis-[0.2em] dark:!text-shibui-100;
}
p:hover [data-footnote-ref],
p:focus [data-footnote-ref],
[data-footnote-ref]:hover,
[data-footnote-ref]:focus {
@apply relative rounded-full font-light not-italic !text-accent no-underline mis-[0.2em];
}
}
</style>