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


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

@base-body-font-weight:                         400;

@base-link-text-decoration:                     underline;
@base-link-hover-text-decoration:               none;

@base-strong-font-weight:                       500;
@base-code-color:                               @global-emphasis-color;
@base-em-color:                                 @global-emphasis-color;

@base-h1-line-height:                           1.3;
@base-h3-line-height:                           1.3;
@base-h4-line-height:                           1.3;
@base-h5-font-size:                             @global-font-size;
@base-h5-line-height:                           1.3;
@base-h6-line-height:                           1.3;

@base-selection-background:                     darken(@global-primary-background, 2%);
@base-selection-color:                          @global-inverse-color;

@base-blockquote-font-size:                     @global-medium-font-size;
@base-blockquote-footer-font-size:              @global-font-size;

//
// Master
//

@base-h1-font-weight:                           600;
@base-h1-letter-spacing:                        0.75px;

@base-h3-font-weight:                           400;

@base-h4-font-family:                           @global-primary-font-family;
@base-h4-font-weight:                           400;
@base-h4-text-transform:                        @global-primary-text-transform;
@base-h4-letter-spacing:                        @global-primary-letter-spacing;
@base-h4-font-style:                            @global-primary-font-style;

@base-h5-text-transform:                        uppercase;
@base-h5-letter-spacing:                        1.7px;

@base-h6-text-transform:                        uppercase;
@base-h6-letter-spacing:                        1.7px;

@base-code-padding-horizontal:                  6px;
@base-code-padding-vertical:                    2px;
@base-code-border-width:                        @global-border-width;
@base-code-border:                              @global-border;

@base-pre-padding:                              10px;
@base-pre-background:                           @global-background;
@base-pre-border-width:                         @global-border-width;
@base-pre-border:                               @global-border;

@base-blockquote-font-weight:                   400;
@base-blockquote-letter-spacing:                0;

@base-blockquote-footer-font-family:            @global-primary-font-family;
@base-blockquote-footer-font-weight:            @global-primary-font-weight;


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

.hook-base-body() {}


// Links
// ========================================================================

.hook-base-link() {}

.hook-base-link-hover() {}


// Text-level semantics
// ========================================================================

.hook-base-code() {}


// Headings
// ========================================================================

.hook-base-heading() {}

.hook-base-h1() {}

.hook-base-h2() {}

.hook-base-h3() {}

.hook-base-h4() {}

.hook-base-h5() {}

.hook-base-h6() {}


// Horizontal rules
// ========================================================================

.hook-base-hr() {}


// Blockquotes
// ========================================================================

.hook-base-blockquote() {}

.hook-base-blockquote-footer() {}


// Preformatted text
// ========================================================================

.hook-base-pre() {}


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

.hook-base-misc() {}


// Inverse
// ========================================================================

@inverse-base-link-color:                      @inverse-global-emphasis-color;
@inverse-base-link-hover-color:                fade(@inverse-global-color, 70%);
@inverse-base-heading-color:                   @inverse-global-emphasis-color;
@inverse-base-code-border:                     @inverse-global-border;

.hook-inverse-base-link() {}
.hook-inverse-base-link-hover() {}

.hook-inverse-base-code() {}

.hook-inverse-base-heading() {}

.hook-inverse-base-h1() {}

.hook-inverse-base-h2() {}
.hook-inverse-base-h3() {}
.hook-inverse-base-h4() {}
.hook-inverse-base-h5() {}
.hook-inverse-base-h6() {}

.hook-inverse-base-blockquote() {}
.hook-inverse-base-blockquote-footer() {}

.hook-inverse-base-hr() {}
