Skip to content

Commit 2bdf9e1

Browse files
committed
headerlink style
1 parent 279c564 commit 2bdf9e1

File tree

1 file changed

+29
-0
lines changed

1 file changed

+29
-0
lines changed

themes/scipy_lectures/static/nature.css_t

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -375,6 +375,35 @@ div.body h4 a.toc-backref {
375375
color: #20435c;
376376
}
377377

378+
a.headerlink:after {
379+
content: "\f0c1";
380+
margin-left: -1.1ex;
381+
}
382+
383+
h1:hover a.headerlink, h2:hover a.headerlink,
384+
h3:hover a.headerlink, h4:hover a.headerlink {
385+
visibility: hidden;
386+
display: inline-block;
387+
}
388+
389+
a.headerlink {
390+
display: inline-block;
391+
}
392+
393+
h1:hover a.headerlink:after, h2:hover a.headerlink:after,
394+
h3:hover a.headerlink:after, h4:hover a.headerlink:after {
395+
visibility: visible;
396+
}
397+
398+
399+
a.headerlink {
400+
color: #8a0d0d;
401+
}
402+
403+
a.headerlink:hover {
404+
color: #f21515;
405+
}
406+
378407
div.body hr.docutils {
379408
border-style: solid;
380409
color: gray;

0 commit comments

Comments
 (0)