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

_base.scss « scss « assets - github.com/ineesalmeida/almeida-cv.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 127b986e25d685300b800db3d404c7c2d1e82b16 (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
39
40
41
42
43
44
45
46
47
48
49
*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: inherit;
}

html {
    font-size: 62.5%;
    background-color: $color-background;

    @media print {
        background-color: $color-white;
    }
}

.content {
    // A4 paper
    width: $page-width;
    min-height: paper_height($page-width);
    background-color: $color-white;

    @media screen and (min-width: 60rem) {
        margin: 6rem 0;
        @include shadow(1);
        @include hz-center;
    }
    @media print {
        margin: 0;
        height: paper_height($page-width) * $pages;
    }
}

body {
    box-sizing: border-box;
}

@media print {
    @page {
        margin: 0;
        size: A4;
    }
}

::selection {
    color: $color-white;
    background-color: darken(rgba($color-primary, 0.6), 10%);
}