Adjust anchor icon style
This commit is contained in:
+1
-1
@@ -5,7 +5,7 @@
|
|||||||
a.href = '#' + h.id;
|
a.href = '#' + h.id;
|
||||||
a.className = 'heading-anchor';
|
a.className = 'heading-anchor';
|
||||||
a.setAttribute('aria-label', 'Link to this section');
|
a.setAttribute('aria-label', 'Link to this section');
|
||||||
a.textContent = '§';
|
a.textContent = '#';
|
||||||
h.insertBefore(a, h.firstChild);
|
h.insertBefore(a, h.firstChild);
|
||||||
});
|
});
|
||||||
}());
|
}());
|
||||||
|
|||||||
+2
-2
@@ -234,12 +234,12 @@ main {
|
|||||||
max-width: 100%;
|
max-width: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.heading-anchor {
|
.content a.heading-anchor {
|
||||||
color: var(--text-muted);
|
color: var(--text-muted);
|
||||||
margin-right: 0.4em;
|
margin-right: 0.4em;
|
||||||
font-weight: normal;
|
font-weight: normal;
|
||||||
}
|
}
|
||||||
.heading-anchor:hover {
|
.content a.heading-anchor:hover {
|
||||||
color: var(--primary-hover);
|
color: var(--primary-hover);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user