summaryrefslogtreecommitdiffstats
path: root/assets/css/style.scss
blob: 535bc72eeeee8ec5ba0de09679651d894a3d3008 (plain) (blame)
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
50
51
@import '../../node_modules/iro-sass/src/main';
@import '../../node_modules/iro-sass/src/bem-shortcodes';
@import '../../node_modules/iro-sass/src/responsive-shortcodes';
@import '../../node_modules/iro-sass/src/props-shortcodes';
@import '../../node_modules/include-media/dist/include-media';

@import 'vars';
@import 'functions';
@import 'fonts';
@import 'basics';

@import 'layouts/container';

@import 'objects/icon';
@import 'objects/badge';

@import 'components/header';
@import 'components/footer';
@import 'components/card';
@import 'components/note';
@import 'components/lightbox';

@import 'layouts/card-list';

@import 'scopes/colored-links';
@import 'scopes/invisible-links';
@import 'scopes/headlines';
@import 'scopes/small';
@import 'scopes/body';
@import 'scopes/intro';

@import 'utils';

:root {
    @include assign;

    @each $breakpoint in map-keys($breakpoints) {
        @include media('<=#{$breakpoint}') {
            @include assign($breakpoint);
        }
    }

    @media (prefers-color-scheme: light) {
        @include assign('light');
    }

    @media print {
        @include assign('light');
        @include assign('print');
    }
}