/**
 *  core
 *
 *
 *  @author Björn Hase, Tentakelfabrik
 *  @license http://opensource.org/licenses/MIT The MIT License
 *  @link https://github.com/tentakelfabrik/crispy-css
 *
 */

@import
    'functions',
    'mixins',

    'core/normalize',
    'core/heading',
    'core/typography';

@include crispy__core__normalize();
@include crispy__core__heading();
@include crispy__core__typography();

@mixin crispy__core() {

    a {
        color: $crispy__color-link;

        &:hover {
            color: $crispy__color-link-hover;
        }

        &:focus {
            outline: none;
        }
    }

    /**
     *  body
     *
     *
     *
     *  line-height and breakpoints
     *  font-size and breakpoints
     *
     */
    body {
        font-family: $crispy__font-family;
        color: $crispy__color-text;
        background-color: $crispy__color-background;
        direction: $crispy__direction;

        font-size: $crispy__font-size;
        @include crispy__media-breakpoints('line-height', $crispy__line-height__breakpoints);

        line-height: $crispy__line-height;
        @include crispy__media-breakpoints('font-size', $crispy__font-size-breakpoints);
    }
}
