This commit is contained in:
PLanCompS 2020-09-29 17:25:34 +02:00
parent 59f757a790
commit 80e05938c7

View File

@ -130,32 +130,6 @@
grid-column: 2; grid-column: 2;
margin-bottom: 0; margin-bottom: 0;
margin-left: 1em; margin-left: 1em;
}
.anchor-heading {
position: absolute;
right: -$sp-4;
width: $sp-5;
height: 100%;
padding-right: $sp-1;
padding-left: $sp-1;
overflow: visible;
@include mq(md) {
right: auto;
left: -$sp-5;
}
svg {
display: inline-block;
width: 100%;
height: 100%;
color: $link-color;
visibility: hidden;
}
}
dd {
blockquote, blockquote,
div, div,
dl, dl,
@ -190,6 +164,29 @@
} }
} }
.anchor-heading {
position: absolute;
right: -$sp-4;
width: $sp-5;
height: 100%;
padding-right: $sp-1;
padding-left: $sp-1;
overflow: visible;
@include mq(md) {
right: auto;
left: -$sp-5;
}
svg {
display: inline-block;
width: 100%;
height: 100%;
color: $link-color;
visibility: hidden;
}
}
.anchor-heading:hover, .anchor-heading:hover,
h1:hover > .anchor-heading, h1:hover > .anchor-heading,
h2:hover > .anchor-heading, h2:hover > .anchor-heading,