.footnote-ref {
    padding-left: 2px;

    a {
        border: none;
    }
}

.footnote-backref {
    border: none;
}

.footnotes-list {
    margin: 0;
    padding-left: rem(5);

    color: $grey--darker;
    font-size: rem(18);

    counter-reset: footnotes;

    li {
        @include display(flex);

        &:target {
            p {
                background: #fcfcb4;
            }
        }

        &:before {
            display: block;
            content: counter(footnotes) ".";

            padding: rem(2) rem(8) rem(2) 0;

            counter-increment: footnotes;

            color: $grey--dark;
            font-size: rem(15);
            line-height: rem(34);
        }
    }

    p {
        margin: 0;
        padding: rem(2);
        @include flex(1);
    }

    a {
        color: $purple;
        border: none;

        &:hover {
            color: $purple--light;
        }
    }
}

.footnote-backref {
    display: inline-block;

    margin-left: rem(5);

    color: $grey--darker !important;
    line-height: 1;
    vertical-align: text-bottom;

    &:hover {
        color: $purple--light !important;
    }
}
.footnote-ref {
    padding-left: 2px;

    a {
        border: none;
    }
}

.footnote-backref {
    border: none;
}

.footnotes-list {
    margin: 0;
    padding-left: rem(5);

    color: $grey--darker;
    font-size: rem(18);

    counter-reset: footnotes;

    li {
        @include display(flex);

        &:target {
            p {
                background: #fcfcb4;
            }
        }

        &:before {
            display: block;
            content: counter(footnotes) ".";

            padding: 0 rem(8) 0 0;

            counter-increment: footnotes;

            color: $grey--dark;
            font-size: rem(15);
            line-height: rem(28);
        }
    }

    p {
        margin: 0;
        line-height: rem(28);
        @include flex(1);
    }

    a {
        color: $purple;
        border: none;

        &:hover {
            color: $purple--light;
        }
    }
}

.footnote-backref {
    display: inline-block;

    margin-left: rem(5);

    color: $grey--darker !important;
    line-height: 1;
    vertical-align: text-bottom;

    &:hover {
        color: $purple--light !important;
    }
}
Remove white space between footnotes.
Remove white space between footnotes.
