Sha256: aa8d320af130d0bc51b2ca7b040838bef4cb1caa22c873348925a9f93102b73f

Contents?: true

Size: 603 Bytes

Versions: 7

Compression:

Stored size: 603 Bytes

Contents

// anchor heading styles

.anchor-heading {
  position: absolute;
  width: $sp-5;
  height: 100%;
  padding-right: $sp-1;
  padding-left: $sp-2;
  overflow: visible;

  @include mq(md) {
    padding-left: $sp-2;
  }

  .anchor-tag {
    @include fs-3;
    display: flex;
    opacity: 0;

    &:hover {
      filter: drop-shadow(0 0 0.7mm $drop-shadow-yellow);
    }
  }
}

.anchor-heading:hover,
h1:hover > .anchor-heading,
h2:hover > .anchor-heading,
h3:hover > .anchor-heading,
h4:hover > .anchor-heading,
h5:hover > .anchor-heading,
h6:hover > .anchor-heading {
  .anchor-tag {
    opacity: 1;
  }
}

Version data entries

7 entries across 7 versions & 3 rubygems

Version Path
jekyll-garden-0.0.12 _sass/includes/_anchor_headings.scss
jekyll-wikibonsai-0.0.11 _sass/includes/_anchor_headings.scss
jekyll-wikibonsai-0.0.10 _sass/includes/_anchor_headings.scss
jekyll-bonsai-0.0.7 _sass/includes/_anchor_headings.scss
jekyll-bonsai-0.0.6 _sass/includes/_anchor_headings.scss
jekyll-bonsai-0.0.5 _sass/includes/_anchor_headings.scss
jekyll-bonsai-0.0.4 _sass/includes/_anchor_headings.scss