blob: 03af39fe8b0dec824301652992ca16524fc09186 (
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
54
55
|
@include namespace('landing') {
@include store((
--dims: (
--banner-width: 30rem,
),
--colors: (
--banner-bg: prop(--colors --bg, $global: true)
)
));
@include layout(namespace()) {
display: flex;
box-sizing: border-box;
flex-direction: row;
align-items: center;
min-height: 100%;
padding-bottom: prop(--dims --outer, $global: true);
@include element('banner') {
flex-shrink: 1.2;
width: 100%;
max-width: prop(--dims --banner-width);
background-color: prop(--colors --banner-bg);
}
@include element('content') {
width: 100%;
min-width: 0;
}
@include iro-responsive-env(('md', 'lg')) {
padding-right: iro-responsive-set((0, 6rem));
padding-left: iro-responsive-set((0, 6rem));
@include element('banner') {
padding-right: iro-responsive-set((0, 6rem));
}
}
@include media('<=md') {
display: block;
height: auto;
padding-bottom: 0;
@include element('banner', 'content') {
width: auto;
padding: 0;
}
@include element('banner') {
max-width: none;
}
}
}
}
|