##// END OF EJS Templates
move anchor-link off of heading text...
MinRK -
Show More
@@ -508,11 +508,21 b' var IPython = (function (IPython) {'
508 .append(
508 .append(
509 $('<a/>')
509 $('<a/>')
510 .addClass('heading-anchor')
510 .addClass('heading-anchor')
511 .attr('href', '#' + link)
512 .attr('id', link)
511 .attr('id', link)
513 .html(text)
512 .html(text)
513 ).append(
514 $('<a/>')
515 .addClass('anchor-link')
516 .attr('href', '#' + link)
517 .html('ΒΆ')
518 .hide()
514 )
519 )
515 );
520 );
521 r.hover(function() {
522 r.find("a.anchor-link").show();
523 }, function() {
524 r.find("a.anchor-link").hide();
525 });
516 };
526 };
517
527
518
528
@@ -55,17 +55,7 b' pre, code, kbd, samp { white-space: pre-wrap; }'
55 font-family: @monoFontFamily;
55 font-family: @monoFontFamily;
56 }
56 }
57
57
58 a {
59 text-decoration: underline;
60 }
61
62 p {
58 p {
63 margin-bottom:0;
59 margin-bottom:0;
64 }
60 }
65
61
66 a.heading-anchor:link, a.heading-anchor:visited {
67 text-decoration: none;
68 outline: none;
69 color: inherit;
70 }
71
@@ -19,3 +19,12 b' div.text_cell_render {'
19 color: @textColor;
19 color: @textColor;
20 }
20 }
21
21
22 a.heading-anchor {
23 text-decoration: none;
24 color: inherit;
25 }
26
27 a.anchor-link:link {
28 text-decoration: none;
29 padding: 0px 20px;
30 }
@@ -984,9 +984,7 b' pre.dialog{background-color:#f7f7f7;border:1px solid #ddd;border-radius:4px;padd'
984 p.dialog{padding:0.2em;}
984 p.dialog{padding:0.2em;}
985 pre,code,kbd,samp{white-space:pre-wrap;}
985 pre,code,kbd,samp{white-space:pre-wrap;}
986 #fonttest{font-family:monospace;}
986 #fonttest{font-family:monospace;}
987 a{text-decoration:underline;}
988 p{margin-bottom:0;}
987 p{margin-bottom:0;}
989 a.heading-anchor:link,a.heading-anchor:visited{text-decoration:none;outline:none;color:inherit;}
990 #notification_area{position:absolute;right:0px;top:0px;height:25px;padding:3px 0px;padding-right:3px;z-index:10;}
988 #notification_area{position:absolute;right:0px;top:0px;height:25px;padding:3px 0px;padding-right:3px;z-index:10;}
991 .notification_widget{float:right;right:0px;top:1px;height:25px;padding:3px 6px;z-index:10;}
989 .notification_widget{float:right;right:0px;top:1px;height:25px;padding:3px 6px;z-index:10;}
992 div.output_area{padding:0px;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}
990 div.output_area{padding:0px;page-break-inside:avoid;display:-webkit-box;-webkit-box-orient:horizontal;-webkit-box-align:stretch;display:-moz-box;-moz-box-orient:horizontal;-moz-box-align:stretch;display:box;box-orient:horizontal;box-align:stretch;}
@@ -1038,6 +1036,8 b' span#checkpoint_status span#autosave_status{font-size:small;}'
1038 div.text_cell{padding:5px 5px 5px 5px;}
1036 div.text_cell{padding:5px 5px 5px 5px;}
1039 div.text_cell_input{color:#000000;border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7;}
1037 div.text_cell_input{color:#000000;border:1px solid #cfcfcf;border-radius:4px;background:#f7f7f7;}
1040 div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:5px;color:#000000;}
1038 div.text_cell_render{outline:none;resize:none;width:inherit;border-style:none;padding:5px;color:#000000;}
1039 a.heading-anchor{text-decoration:none;color:inherit;}
1040 a.anchor-link:link{text-decoration:none;padding:0px 20px;}
1041 .toolbar{padding:3px 15px;border-bottom:1px #ababab solid;}.toolbar button{margin-top:2px;margin-bottom:2px;}
1041 .toolbar{padding:3px 15px;border-bottom:1px #ababab solid;}.toolbar button{margin-top:2px;margin-bottom:2px;}
1042 .toolbar select,.toolbar label{height:19px;vertical-align:middle;margin-right:2px;margin-bottom:0;display:inline;font-size:92%;margin-left:0.3em;margin-right:0.3em;padding:0px;}
1042 .toolbar select,.toolbar label{height:19px;vertical-align:middle;margin-right:2px;margin-bottom:0;display:inline;font-size:92%;margin-left:0.3em;margin-right:0.3em;padding:0px;}
1043 .toolbar select{width:auto;}
1043 .toolbar select{width:auto;}
General Comments 0
You need to be logged in to leave comments. Login now