Added link tags
This commit is contained in:
@@ -411,3 +411,27 @@ table td {
|
||||
page-break-after: avoid;
|
||||
}
|
||||
}
|
||||
|
||||
/* show the anchor links in headings if one hovers over the heading. */
|
||||
.anchor::before {
|
||||
content: url("/docs/pandoc/link.svg");
|
||||
display: inline-block;
|
||||
font-size: 1em;
|
||||
left: -1.5em;
|
||||
line-height: 1.5;
|
||||
opacity: 0.15;
|
||||
position: relative;
|
||||
width: 0em;
|
||||
}
|
||||
.anchor:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
h1:hover > .anchor::before,
|
||||
h2:hover > .anchor::before,
|
||||
h3:hover > .anchor::before,
|
||||
h4:hover > .anchor::before,
|
||||
h5:hover > .anchor::before,
|
||||
h6:hover > .anchor::before {
|
||||
opacity: 1;
|
||||
}
|
||||
/* end: heading anchor links */
|
||||
|
||||
Reference in New Issue
Block a user