blob: 2c06606601f4aba39a1d1d54f9da30018517a72b (
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
|
@include namespace('site') {
@include store((
--dims: (
--outer-pad-x: 6rem,
--inner-pad-x: 2rem,
--pad-y: 6rem,
)
));
@include layout(namespace()) {
display: flex;
flex-direction: row;
justify-content: space-around;
@include element('col') {
box-sizing: border-box;
flex: 0 0 auto;
width: 100%;
min-width: 0;
max-width: 35rem;
height: 100%;
padding: prop(--dims --pad-y) prop(--dims --inner-pad-x) prop(--dims --pad-y) prop(--dims --outer-pad-x);
@include next-twin-element {
flex: 1 1 auto;
max-width: 45rem;
height: auto;
padding-right: prop(--dims --outer-pad-x);
padding-left: prop(--dims --inner-pad-x);
}
}
@include media('<=sm') {
display: block;
@include element('col') {
width: auto;
height: auto;
@include next-twin-element {
width: auto;
}
}
}
}
}
|