Project

General

Profile

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

    
3
//
4
// Component: Base
5
//
6
// ========================================================================
7

    
8

    
9
// Variables
10
// ========================================================================
11

    
12
@base-body-background:                          @global-background;
13
@base-body-font-family:                         @global-body-font-family;
14
@base-body-font-weight:                         @global-font-weight;
15
@base-body-font-size:                           @global-font-size;
16
@base-body-line-height:                         @global-line-height;
17
@base-body-color:                               @global-color;
18

    
19
@base-link-color:                               @global-link-color;
20
@base-link-hover-color:                         @global-link-hover-color;
21
@base-ins-color:                                @global-color;
22
@base-mark-color:                               @global-color;
23

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

    
26
@base-heading-font-family:                      @global-heading-font-family;
27
@base-heading-font-weight:                      @global-font-weight;
28
@base-heading-color:                            @global-heading-color;
29
@base-heading-margin-top:                       @global-margin-large;
30
@base-h1-font-size:                             round((@global-font-size * 3.2)); // 48px
31
@base-h1-line-height:                           round((@base-h1-font-size * 1.21)); // 58px
32
@base-h2-font-size:                             round((@global-font-size * 2.4)); // 36px
33
@base-h2-line-height:                           round((@base-h2-font-size * 1.278)); // 46px
34
@base-h3-font-size:                             round((@global-font-size * 1.6)); // 24px
35
@base-h3-line-height:                           round((@base-h3-font-size * 1.333)); // 32px
36
@base-h4-font-size:                             round((@global-font-size * 1.333)); // 20px
37
@base-h4-line-height:                           round((@base-h4-font-size * 1.4)); // 28px
38
@base-h5-font-size:                             @global-font-size; // 15px
39
@base-h5-line-height:                           @global-line-height; // 24px
40
@base-h6-font-size:                             round((@global-font-size * 0.8)); // 12px
41
@base-h6-line-height:                           round((@base-h6-font-size * 1.67)); // 20px
42

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

    
45
@base-blockquote-border:                        @global-border;
46
@base-blockquote-font-size:                     round((@global-font-size * 1.333)); // 20px
47
@base-blockquote-line-height:                   round((@base-blockquote-font-size * 1.4)); // 28px
48

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

    
51
@base-pre-color:                                @global-color;
52
@base-pre-font-size:                            round((@global-font-size * 0.8)); // 12px
53
@base-pre-line-height:                          round((@base-pre-font-size * 1.67)); // 20px
54

    
55
@base-selection-background:                     fade(@global-primary-background, 60%);
56

    
57

    
58
// Body
59
// ========================================================================
60

    
61
.hook-base-body() {}
62

    
63

    
64
// Text-level semantics
65
// ========================================================================
66

    
67
.hook-base-code() {}
68

    
69

    
70
// Headings
71
// ========================================================================
72

    
73
.hook-base-h1() {}
74

    
75
.hook-base-h2() {}
76

    
77
.hook-base-h3() {}
78

    
79
.hook-base-h4() {}
80

    
81
.hook-base-h5() {}
82

    
83
.hook-base-h6() {}
84

    
85

    
86
// Preformatted text
87
// ========================================================================
88

    
89
.hook-base-pre() {}
90

    
91

    
92
// Miscellaneous
93
// ========================================================================
94

    
95
.hook-base-misc() {
96

    
97
    a { transition: color .2s, background .2s, border-color .2s; }
98

    
99
}
(6-6/49)