mirror of
https://github.com/gitbucket/gitbucket.git
synced 2025-11-12 00:15:50 +01:00
refs #1055 Make a header link anchor icon clickable
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
/****************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user