blob: c5f7128981251056548f6ccbb590ae639611b092 (
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
52
53
|
@use 'sass:meta';
@use 'iro-sass/src/bem';
@use 'iro-sass/src/props';
@use '../props' as *;
@forward 'body.vars';
@use 'body.vars' as vars;
@mixin styles {
@include materialize-at-root(meta.module-variables('vars'));
@include bem.scope('body') {
font-size: props.get(vars.$font-size);
strong {
color: props.get(vars.$strong--text-color);
}
p,
ul,
ol {
max-inline-size: props.get(vars.$paragraph--max-inline-size);
margin-block-start: props.get(vars.$paragraph--margin-bs);
}
img {
display: block;
inline-size: auto;
max-inline-size: 100%;
block-size: auto;
max-block-size: props.get(vars.$img--max-block-size);
margin-block-start: props.get(vars.$paragraph--margin-bs);
}
figure {
margin-block-start: props.get(vars.$paragraph--margin-bs);
img {
margin-block: 0;
}
}
hr {
margin-block: calc(2 * props.get(vars.$paragraph--margin-bs));
}
table,
pre,
blockquote {
margin-block-start: props.get(vars.$paragraph--margin-bs);
}
}
}
|