mirror of
https://github.com/Lolabird/ocean-dark-trilium-theme.git
synced 2026-10-25 14:24:39 -06:00
Adjust footnote styles
This commit is contained in:
parent
b82815ccd8
commit
f9d15c5bb7
1 changed files with 29 additions and 9 deletions
|
|
@ -526,15 +526,35 @@ a > i, a > em, a > b, a > strong {
|
|||
left: .5em;
|
||||
}
|
||||
|
||||
/***footnotes***/
|
||||
div.footnote-section.ck-widget {
|
||||
border: none;
|
||||
border-top: 1px solid var(--cool-gray);
|
||||
border-radius: 2px;
|
||||
counter-reset: footnote-counter;
|
||||
margin: 2.5rem 0;
|
||||
padding: 10px;
|
||||
}
|
||||
/***footnotes***/
|
||||
/*inline*/
|
||||
span.footnote-reference > sup > a {
|
||||
font-weight: 100;
|
||||
font-size: .9em;
|
||||
}
|
||||
/*block*/
|
||||
div.footnote-section.ck-widget {
|
||||
border: none;
|
||||
border-top: 1px solid var(--cool-gray);
|
||||
border-radius: 0;
|
||||
counter-reset: footnote-counter;
|
||||
margin: 2.5rem 0;
|
||||
padding: 10px 0;
|
||||
}
|
||||
.ck-content span.footnote-back-link {
|
||||
margin-right: 0;
|
||||
position: relative;
|
||||
top: 0;
|
||||
}
|
||||
.ck-content li.footnote-item:before {
|
||||
content: counter(footnote-counter) ". ";
|
||||
display: inline-block;
|
||||
min-width: 25px;
|
||||
position: relative;
|
||||
right: 0.2em;
|
||||
text-align: right;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
/*****ICONS*****/
|
||||
|
|
|
|||
Loading…
Reference in a new issue