blob: a6a5cd7ef075e4c51857ae5022e4efee9f5111b2 (
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
|
@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);
p {
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: props.get(vars.$block--margin-b);
}
figure {
margin-block: props.get(vars.$block--margin-b);
img {
margin-block: 0;
}
}
}
}
|