Skip to content

Build your personal knowledge base with Trilium Notes

762 B
Raw Blame
@import "@triliumnext/ckeditor5/src/theme/footnotes.css";

.ck-content .footnote-section {
    border-top: 1px solid var(--main-border-color);
}

.ck-content .footnote-item:target .footnote-content {
    background: var(--background-highlight);
}

/* Markdown footnotes (marked-footnote plugin) */
.ck-content section.footnotes[data-footnotes] {
    border-top: 1px solid var(--background-highlight);
    margin: 1em 0;
    padding: 10px;
    font-size: 0.9em;
}

.ck-content section.footnotes[data-footnotes] .sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
}

.ck-content section.footnotes[data-footnotes] li:target p {
    background: var(--background-highlight);
    border-radius: 2px;
}