Skip to content
This repository was archived by the owner on Apr 18, 2018. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
17 changes: 17 additions & 0 deletions doc/_static/css/custom.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* Make equation numbers float to the right */
.eqno {
margin-left: 5px;
float: right;
}
/* Hide the link... */
.math .headerlink {
display: none;
visibility: hidden;
}
/* ...unless the equation is hovered */
.math:hover .headerlink {
display: inline-block;
visibility: visible;
/* Place link in margin and keep equation number aligned with boundary */
margin-right: -0.7em;
}
2 changes: 2 additions & 0 deletions doc/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,5 +185,7 @@
'Miscellaneous'),
]

def setup(app):
app.add_stylesheet('css/custom.css')