// primer CSS markdown color remap
@mixin markdown-remap {
    h1, h2, h3, h4, h5, h6 {
        color: $color-primary;
    }

    h1 {
        font-size: $font-size-l1;
        border-bottom: $spliter;
    }

    h2 {
        font-size: $font-size-l2;
        border-bottom: $spliter;
    }

    h3 {
        font-size: $font-size-l3;
    }

    h4, h5, h6 {
        font-size: $font-size-l4;
    }

    hr {
        background-color: $color-spliter;
    }

    ul {
        list-style-type: circle;
    }

    @include link-secondary();

    img {
        border: 2px solid $color-secondary;
        border-radius: 1px;
    }
}

#post-content {
    &.markdown-body {
        @include markdown-remap();
    }
}

#post-summary {
    &.markdown-body {
        @include markdown-remap();

        // do not show heads in summary
        h1, h2, h3, h4, h5, h6 {
            display: none;
        }
    }
}