Sha256: 42b5e406fee9e38eb940918183a7658510d129a054168d159a208606d712af87

Contents?: true

Size: 1.59 KB

Versions: 1

Compression:

Stored size: 1.59 KB

Contents

// Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU General Public License as published by
// the Free Software Foundation, either version 3 of the License, or
// (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
// GNU General Public License for more details.
//
// You should have received a copy of the GNU General Public License
// along with this program.  If not, see <http://www.gnu.org/licenses/>.

// <<<<< LINK
// Footnote number within body text
a[href^="#fn:"],
// Back to footnote link
a[href^="#fnref:"] {
  margin-left: .1rem;
  font-weight: $font-weight-bold;

  @media screen and (max-width: 73.5em) {
    font-weight: normal;
  }
}

sup {
  line-height: 1;

  &[id^="fnref"] {
    @media screen and (max-width: $break-point-4) {
      vertical-align: baseline;
      font-size: inherit;

      > a::before { content: "["; }
      > a::after  { content: "]"; }
    }
  }
}

// List of footnotes
.footnotes {
  margin-top: 5rem;

  > ol {
    color: $gray;

    > li {
      padding: .5rem;
      margin-left: .5rem;
      > p { margin: 0; }
      &:focus {
        outline: none;
        color: $gray-text;
        background: $gray-bg;
      }
    }
  }

  &::before {
    content: "";
    display: block;
    margin: 1.5rem 0;
    border: 0;
    border-top: 1px solid $border-color;
  }
}
// >>>>> LINK

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
jekyll-theme-hydejack-8.0.0 _sass/pooleparty/_footnotes.pre.scss