Welcome to mirror list, hosted at ThFree Co, Russian Federation.

typography.scss « custom « sass « static - github.com/the2ne/hugo-frais.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: d72dbceec606f1a0ef8437ee1c70e3472eb0a7f3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
////
/// Typography
////

html {
    color: $base;
    font-size: $fontSize;
}

.page {
    font-size: $fontSize * 1.25;
}

.headline__title {
    font-family: $fontFamily;
    font-size: $fontSize * 1.5;
    font-weight: bold;
    margin: 0;
}

h1, h3, h5 {
    font-family: $fontFamilyAlternative;
    line-height: $baseline - .3;
    color: $contrast;
}

h2, h4, h6 {
    font-family: $fontFamily;
    line-height: $baseline - .3;
    color: $light;
}

h1 { font-size: $fontSize * 4.5; }
h2 { font-size: $fontSize * 3; }
h3 { font-size: $fontSize * 2.5; }
h4 { font-size: $fontSize * 2; }
h5 { font-size: $fontSize * 1.5; }
h6 { font-size: $fontSize * 1; }