Skip to content

Commit

Permalink
CSS: footnote and citation targets
Browse files Browse the repository at this point in the history
These were changed in one of the recent docutils updates
  • Loading branch information
mgeier committed Jan 15, 2023
1 parent 100f239 commit 605ce37
Showing 1 changed file with 23 additions and 0 deletions.
23 changes: 23 additions & 0 deletions src/insipid_sphinx_theme/insipid/static/insipid.css_t
Original file line number Diff line number Diff line change
Expand Up @@ -196,6 +196,29 @@ strong:target {
background-color: #fbe54e;
}

.footnote:target {
background-color: unset;
}

.footnote:target .label {
padding: 3px;
margin: -3px;
background-color: #fbe54e;
}

.citation:target .label {
padding: 3px;
margin-left: -3px;
margin-top: -3px;
margin-bottom: -3px;
margin-right: 5px;
background-color: #fbe54e;
}

.citation:target .backrefs {
margin-left: -8px;
}

hr.docutils {
border: 0;
border-top: solid 1px #ccc;
Expand Down

0 comments on commit 605ce37

Please sign in to comment.