Swap to use IdAttributePlugin instead of markdown-it-anchor
This commit is contained in:
1 parent
49610beab3
commit
1c3c777a1e
5 files changed
+74
-28
No files matched your search
@@ -257,25 +257,25 @@ header {
|
||||
}
|
||||
|
||||
/* Direct Links / Markdown Headers */
|
||||
.header-anchor {
|
||||
.heading-anchor {
|
||||
text-decoration: none;
|
||||
font-style: normal;
|
||||
font-size: 1em;
|
||||
margin-left: .1em;
|
||||
}
|
||||
a[href].header-anchor,
|
||||
a[href].header-anchor:visited {
|
||||
a[href].heading-anchor,
|
||||
a[href].heading-anchor:visited {
|
||||
color: transparent;
|
||||
}
|
||||
a[href].header-anchor:focus,
|
||||
a[href].header-anchor:hover {
|
||||
a[href].heading-anchor:focus,
|
||||
a[href].heading-anchor:hover {
|
||||
text-decoration: underline;
|
||||
}
|
||||
a[href].header-anchor:focus,
|
||||
:hover > a[href].header-anchor {
|
||||
a[href].heading-anchor:focus,
|
||||
:hover > a[href].heading-anchor {
|
||||
color: #aaa;
|
||||
}
|
||||
|
||||
h2 + .header-anchor {
|
||||
h2 + .heading-anchor {
|
||||
font-size: 1.5em;
|
||||
}
|
||||
Reference in new issue
Block a user