summaryrefslogtreecommitdiffstats
path: root/assets/css/_base.scss
blob: e6f7736a0af8e8516b1836c413b513402436562d (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
@use 'iro-sass/src/index' as iro;
@use 'iro-design/src/functions' as fn;

html,
pre,
code {
    font-feature-settings: 'calt' 0, 'dlig' 1, 'ss09' 1;
}

body {
    box-sizing: border-box;
    height:     auto;
    min-height: 100%;
}

main {
    font-size: fn.dim(--font-size --150);
}

img {
    display:   block;
    max-width: 100%;
}

figure {
    margin:  fn.dim(--paragraph --margin-top) 0 0;
    padding: 0;

    img {
        display:    block;
        max-width:  100%;
        max-height: 70vh;
        object-fit: contain;
    }
}