mirror of
https://github.com/Lolabird/stellar-dark-theme-trilium.git
synced 2026-10-20 11:57:00 -06:00
Adjust footnote styles
This commit is contained in:
parent
b9faa57321
commit
2599b52b7a
1 changed files with 23 additions and 2 deletions
|
|
@ -506,13 +506,34 @@ body blockquote{
|
||||||
}
|
}
|
||||||
|
|
||||||
/***footnotes***/
|
/***footnotes***/
|
||||||
|
/*Inline*/
|
||||||
|
span.footnote-reference > sup > a {
|
||||||
|
font-weight: 100;
|
||||||
|
font-size: .9em;
|
||||||
|
}
|
||||||
|
/*Block*/
|
||||||
div.footnote-section.ck-widget {
|
div.footnote-section.ck-widget {
|
||||||
border: none;
|
border: none;
|
||||||
border-top: 1px solid var(--devils-gray-lol);
|
border-top: 1px solid var(--devils-gray-lol);
|
||||||
border-radius: 2px;
|
border-radius: 0;
|
||||||
counter-reset: footnote-counter;
|
counter-reset: footnote-counter;
|
||||||
margin: 2.5rem 0;
|
margin: 2.5rem 0;
|
||||||
padding: 10px;
|
padding: 10px 0;
|
||||||
|
}
|
||||||
|
.ck-content span.footnote-back-link {
|
||||||
|
margin-right: 0;
|
||||||
|
position: relative;
|
||||||
|
top: 0;
|
||||||
|
}
|
||||||
|
.ck-content li.footnote-item:before {
|
||||||
|
font-variant-numeric: tabular-nums;
|
||||||
|
content: counter(footnote-counter) ". ";
|
||||||
|
display: inline-block;
|
||||||
|
min-width: 28px;
|
||||||
|
position: relative;
|
||||||
|
right: 0.2em;
|
||||||
|
text-align: right;
|
||||||
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue