mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-09-02 21:42:15 +08:00
style(share): footnotes
This commit is contained in:
parent
9a07ddac7d
commit
d6dedb1611
@ -163,3 +163,53 @@ iframe.pdf-view {
|
|||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.ck-content .footnote-section {
|
||||||
|
border-top: 1px solid #c4c4c4;
|
||||||
|
border-radius: 2px;
|
||||||
|
counter-reset: footnote-counter;
|
||||||
|
margin: 1em 0;
|
||||||
|
padding: 10px
|
||||||
|
}
|
||||||
|
|
||||||
|
.ck-content .footnote-item {
|
||||||
|
counter-increment: footnote-counter;
|
||||||
|
display: flex;
|
||||||
|
list-style: none;
|
||||||
|
margin-left: .5em
|
||||||
|
}
|
||||||
|
|
||||||
|
.ck-content .footnote-item>* {
|
||||||
|
vertical-align: text-top
|
||||||
|
}
|
||||||
|
|
||||||
|
.ck-content .footnote-back-link {
|
||||||
|
margin-right: .1em;
|
||||||
|
position: relative;
|
||||||
|
top: -.2em
|
||||||
|
}
|
||||||
|
|
||||||
|
.ck-content .footnotes .footnote-back-link>sup {
|
||||||
|
margin-right: 0
|
||||||
|
}
|
||||||
|
|
||||||
|
.ck-content .footnote-item:before {
|
||||||
|
content: counter(footnote-counter) ". ";
|
||||||
|
display: inline-block;
|
||||||
|
min-width: fit-content;
|
||||||
|
position: relative;
|
||||||
|
right: .2em;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
|
||||||
|
.ck-content .footnote-content {
|
||||||
|
border-radius: 2px;
|
||||||
|
display: inline-block;
|
||||||
|
flex-grow: 1;
|
||||||
|
padding: 0 .3em;
|
||||||
|
width: 95%
|
||||||
|
}
|
||||||
|
|
||||||
|
.ck-content .ck-content-widget.footnote-section .ck-content-widget__type-around__button_after {
|
||||||
|
display: none
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user