Show multiple footnote backrefs on hover

This commit is contained in:
RunasSudo 2021-02-24 00:15:31 +11:00
parent 3c3d496094
commit 683e459cb4
Signed by: RunasSudo
GPG Key ID: 7234E476BF21C61A
1 changed files with 20 additions and 0 deletions

View File

@ -55,6 +55,26 @@ a, a.reference, a.footnote-reference {
border-bottom: none;
}
/* Footnotes */
dl.footnote dt {
position: relative;
}
span.fn-backref {
position: absolute;
background-color: white;
z-index: 999;
border: 1px solid #999;
border-radius: 4px;
padding: 2px;
top: -3px;
}
dl.footnote dt:hover span.fn-backref {
display: inline;
}
/* Sidebar */
div.sphinxsidebarwrapper p.caption {