blob: b824005502d03879bf5a596df530da7af06e0d32 (
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
56
57
58
59
60
|
@include namespace('landing') {
@include store((
--dims: (
--banner-width: 30rem,
),
--colors: (
--banner-bg: prop(--colors --bg, $global: true)
)
));
@include layout(namespace()) {
display: flex;
flex-direction: row;
align-items: center;
min-height: 100%;
@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')) {
@include element('banner') {
padding:
iro-responsive-set((2rem, 6rem))
iro-responsive-set((0, 6rem));
}
@include element('content') {
padding:
iro-responsive-set((2rem, 6rem))
iro-responsive-set((0, 6rem))
iro-responsive-set((2rem, 6rem))
0;
}
}
@include media('<=md') {
display: block;
height: auto;
@include element('banner', 'content') {
width: auto;
padding-right: 0;
padding-left: 0;
}
@include element('banner') {
max-width: none;
}
}
}
}
|