Skip to content
Snippets Groups Projects
Unverified Commit 15f1faae authored by Patrick Marsceill's avatar Patrick Marsceill
Browse files

Anchor heading css

parent 8d60dda6
No related branches found
No related tags found
Loading
a.anchor_heading {
visibility: hidden;
}
h1:hover > a.anchor_heading,
h2:hover > a.anchor_heading,
h3:hover > a.anchor_heading,
h4:hover > a.anchor_heading,
h5:hover > a.anchor_heading,
h6:hover > a.anchor_heading {
visibility: visible;
}
\ No newline at end of file
......@@ -111,4 +111,34 @@
margin-left: 1em;
font-weight: 500;
}
.anchor-heading {
fill: $link-color;
visibility: hidden;
@include mq(md) {
position: absolute;
left: -$sp-5;
width: $sp-5;
height: 100%;
}
}
h1:hover > .anchor-heading,
h2:hover > .anchor-heading,
h3:hover > .anchor-heading,
h4:hover > .anchor-heading,
h5:hover > .anchor-heading,
h6:hover > .anchor-heading {
visibility: visible;
}
h1,
h2,
h3,
h4,
h5,
h6 {
position: relative;
}
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment