Skip to content

Commit

Permalink
prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
pdmosses committed Sep 29, 2020
1 parent 59f757a commit 80e0593
Showing 1 changed file with 26 additions and 29 deletions.
55 changes: 26 additions & 29 deletions _sass/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand All @@ -178,9 +152,9 @@
}
}
}

dd,
ol,
dd,
ol,
ul {
dl:first-child {
dt:first-child,
Expand All @@ -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,
Expand Down

0 comments on commit 80e0593

Please sign in to comment.