refs #1055 Make a header link anchor icon clickable

This commit is contained in:
oohira
2016-01-26 23:53:07 +09:00
parent 7593c97ad3
commit 6265faa14f
3 changed files with 12 additions and 38 deletions

View File

@@ -2043,39 +2043,16 @@ div.markdown-body table colgroup + tbody tr:first-child td:last-child {
}
a.markdown-anchor-link {
position: absolute;
left: -18px;
display: none;
margin-left: -16px;
margin-right: 2px;
line-height: 1;
color: #999;
/* From octicon style */
font: normal normal normal 16px/1 octicons;
text-decoration: none;
text-rendering: auto;
}
a.markdown-anchor-link:before { content: '\f05c'} /*  */
h1 a.markdown-anchor-link {
top: 24px;
cursor: pointer;
}
h2 a.markdown-anchor-link {
top: 20px;
}
h3 a.markdown-anchor-link {
top: 12px;
}
h4 a.markdown-anchor-link {
top: 8px;
}
h5 a.markdown-anchor-link {
top: 6px;
}
h6 a.markdown-anchor-link {
top: 6px;
a.markdown-anchor-link span.octicon {
visibility: hidden;
vertical-align: middle;
}
/****************************************************************************/