generated from CdeCMx-org/templates_paginaweb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
_main.scss
58 lines (47 loc) · 993 Bytes
/
_main.scss
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
///
/// Editorial by HTML5 UP
/// html5up.net | @ajlkn
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
///
/* Main */
#main {
@include vendor('flex-grow', '1');
@include vendor('flex-shrink', '1');
width: 100%;
> .inner {
@include padding(0, 6em);
margin: 0 auto;
max-width: 110em;
> section {
@include padding(6em, 0);
border-top: solid 2px _palette(border);
&:first-of-type {
border-top: 0 !important;
}
}
}
@include breakpoint('<=xlarge') {
> .inner {
@include padding(0, 5em);
> section {
@include padding(5em, 0);
}
}
}
@include breakpoint('<=large') {
> .inner {
@include padding(0, 4em);
> section {
@include padding(4em, 0);
}
}
}
@include breakpoint('<=small') {
> .inner {
@include padding(0, 2em);
> section {
@include padding(3em, 0);
}
}
}
}