Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 68a89e4

Browse files
committed
DOC: github ribbon does not cover up index link
thanks @jenshnielsen for spotting the fact that the previous "solution" didn't actually work as intended.
1 parent 1fa3318 commit 68a89e4

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

doc/_templates/layout.html

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -32,17 +32,17 @@
3232
<!-- End Piwik Tag -->
3333
<link rel="shortcut icon" href="_static/favicon.ico">
3434

35+
<!-- The "Fork me on github" ribbon -->
36+
<img style="float: right; margin-bottom: -40px; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" usemap="#ribbonmap"/>
37+
<map name="ribbonmap">
38+
<area shape="poly" coords="15,0,148,-1,148,135" href="https://github.com/matplotlib/matplotlib" title="Fork me on GitHub" />
39+
</map>
40+
3541
<div style="background-color: white; text-align: left; padding: 10px 10px 15px 15px">
3642
<a href="{{ pathto('index') }}"><img src="{{
3743
pathto("_static/logo2.png", 1) }}" border="0" alt="matplotlib"/></a>
3844
</div>
3945

40-
<!-- The "Fork me on github" ribbon -->
41-
<img style="position: absolute; top: 0; right: 0; border: 0;" src="https://s3.amazonaws.com/github/ribbons/forkme_right_orange_ff7600.png" usemap="#ribbonmap"/>
42-
<map name="ribbonmap">
43-
<area shape="poly" coords="20,2,148,-1,148,135" href="https://github.com/matplotlib/matplotlib" alt="Fork me on GitHub" />
44-
</map>
45-
4646
{{ super() }}
4747
{% endblock %}
4848

0 commit comments

Comments
 (0)