1
0
mirror of https://github.com/thangisme/notes.git synced 2024-11-14 18:00:01 -05:00
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;
margin-bottom: 0;
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,
div,
dl,
@ -178,9 +152,9 @@
}
}
}
dd,
ol,
dd,
ol,
ul {
dl:first-child {
dt:first-child,
@ -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,
h1:hover > .anchor-heading,
h2:hover > .anchor-heading,