/* Copyright (C) YOOtheme GmbH, YOOtheme Proprietary Use License (http://www.yootheme.com/license) */

//
// Component: Base
//
// ========================================================================


// Variables
// ========================================================================

@base-body-background:                          @global-background;
@base-body-font-size:                           @global-font-size;
@base-body-line-height:                         @global-line-height;
@base-body-color:                               @global-color;

@base-link-color:                               @global-link-color;
@base-link-hover-color:                         @global-link-hover-color;
@base-ins-color:                                @global-color;
@base-mark-color:                               @global-color;

@base-margin-vertical:                          @global-margin;

@base-heading-color:                            @global-color;
@base-heading-margin-top:                       @global-large-margin;
@base-h1-font-size:                             round(@global-font-size * 2.57); // 36px
@base-h1-line-height:                           round(@base-h1-font-size * 1.16); // 42px
@base-h2-font-size:                             round(@global-font-size * 1.71); // 24px
@base-h2-line-height:                           round(@base-h2-font-size * 1.25); // 30px
@base-h3-font-size:                             round(@global-font-size * 1.28); // 18px
@base-h3-line-height:                           round(@base-h3-font-size * 1.33); // 24px
@base-h4-font-size:                             round(@global-font-size * 1.14); // 16px
@base-h4-line-height:                           round(@base-h4-font-size * 1.37); // 22px
@base-h5-font-size:                             @global-font-size; // 14px
@base-h5-line-height:                           @global-line-height; // 20px
@base-h6-font-size:                             round(@global-font-size * 0.85); // 12px
@base-h6-line-height:                           round(@base-h6-font-size * 1.5); // 18px

@base-hr-border:                                @global-border;

@base-blockquote-border:                        @global-border;
@base-blockquote-small-color:                   @global-muted-color;
@base-blockquote-font-size:                     round(@global-font-size * 1.14); // 16px
@base-blockquote-line-height:                   round(@base-blockquote-font-size * 1.37); // 22px

@base-code-font-size:                           round(@global-font-size * 0.85); // 12px

@base-pre-background:                           #fafafa;
@base-pre-color:                                @global-color;
@base-pre-font-size:                            round(@global-font-size * 0.85); // 12px
@base-pre-line-height:                          round(@base-pre-font-size * 1.5); // 18px

//
// New
//

@base-body-gradient-inner:                      @global-background;
@base-body-gradient-outer:                      @global-background;

@base-code-border:                              @global-border;
@base-code-background:                          #fafafa;
@base-pre-border:                               @global-border;


// Body
// ========================================================================

.hook-base-body() {
    background-image: -webkit-radial-gradient(100% 100%, center, @base-body-gradient-inner, @base-body-gradient-outer);
    background-image: radial-gradient(100% 100% at center, @base-body-gradient-inner, @base-body-gradient-outer);
}


// Code and preformatted text
// ========================================================================

.hook-base-code() {
    padding: 0 4px;
    border: 1px solid @base-code-border;
    border-radius: 3px;
    background: @base-code-background;
}

.hook-base-code-reset() {
    padding: 0;
    border: 0;
    background: transparent;
}

.hook-base-pre() {
    border: 1px solid @base-pre-border;
    border-radius: 3px;
}


// Miscellaneous
// ========================================================================

.hook-base-misc() {}