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: fe3d90872141e245146c619fb1f5a8a02fbb4a9b (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
////
/// Typography
////

html {
    color: $base;
    font-size: $fontSize;
    font-variant-ligatures: common-ligatures;
    text-rendering: optimizeLegibility;
}

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

.headline__title {
    color: $contrast;
    display: inline-block;
    font-family: $fontFamily;
    font-size: $fontSize * 1.5;
    font-weight: bold;
    margin: 0;
    padding: .5em 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;
}