mirror of
https://github.com/snachodog/just-the-docs.git
synced 2025-04-22 02:52:23 -06:00
prettier
This commit is contained in:
parent
59f757a790
commit
80e05938c7
@ -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,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user