jekyll-theme-mrwooo-solid-state 0.1.92 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -0
- data/_includes/head.html +3 -2
- data/_sass/base/_page.scss +59 -0
- data/_sass/base/_reset.scss +76 -0
- data/_sass/base/_typography.scss +219 -0
- data/_sass/components/_actions.scss +101 -0
- data/_sass/components/_box.scss +26 -0
- data/_sass/components/_button.scss +89 -0
- data/_sass/components/_contact.scss +43 -0
- data/_sass/components/_features.scss +71 -0
- data/_sass/components/_form.scss +235 -0
- data/_sass/components/_icon.scss +17 -0
- data/_sass/components/_icons.scss +28 -0
- data/_sass/components/_image.scss +60 -0
- data/_sass/components/_list.scss +56 -0
- data/_sass/components/_pagination.scss +75 -0
- data/_sass/components/_row.scss +35 -0
- data/_sass/components/_section.scss +13 -0
- data/_sass/components/_table.scss +81 -0
- data/_sass/fonts/FontAwesome.otf +0 -0
- data/_sass/fonts/fontawesome-webfont.eot +0 -0
- data/_sass/fonts/fontawesome-webfont.svg +2671 -0
- data/_sass/fonts/fontawesome-webfont.ttf +0 -0
- data/_sass/fonts/fontawesome-webfont.woff +0 -0
- data/_sass/fonts/fontawesome-webfont.woff2 +0 -0
- data/_sass/layout/_banner.scss +140 -0
- data/_sass/layout/_footer.scss +143 -0
- data/_sass/layout/_header.scss +140 -0
- data/_sass/layout/_menu.scss +127 -0
- data/_sass/layout/_wrapper.scss +303 -0
- data/_sass/libs/_breakpoints.scss +223 -0
- data/_sass/libs/_functions.scss +90 -0
- data/_sass/libs/_html-grid.scss +149 -0
- data/_sass/libs/_mixins.scss +63 -0
- data/_sass/libs/_vars.scss +54 -0
- data/_sass/libs/_vendor.scss +376 -0
- data/_sass/main.scss +57 -0
- data/_sass/noscript.scss +38 -0
- data/assets/sass/.keep +0 -0
- data/assets/sass/base/_page.scss +59 -0
- data/assets/sass/base/_reset.scss +76 -0
- data/assets/sass/base/_typography.scss +219 -0
- data/assets/sass/components/_actions.scss +101 -0
- data/assets/sass/components/_box.scss +26 -0
- data/assets/sass/components/_button.scss +89 -0
- data/assets/sass/components/_contact.scss +43 -0
- data/assets/sass/components/_features.scss +71 -0
- data/assets/sass/components/_form.scss +235 -0
- data/assets/sass/components/_icon.scss +17 -0
- data/assets/sass/components/_icons.scss +28 -0
- data/assets/sass/components/_image.scss +60 -0
- data/assets/sass/components/_list.scss +56 -0
- data/assets/sass/components/_pagination.scss +75 -0
- data/assets/sass/components/_row.scss +35 -0
- data/assets/sass/components/_section.scss +13 -0
- data/assets/sass/components/_table.scss +81 -0
- data/assets/{css → sass}/images/close.svg +0 -0
- data/assets/sass/layout/_banner.scss +140 -0
- data/assets/sass/layout/_footer.scss +143 -0
- data/assets/sass/layout/_header.scss +140 -0
- data/assets/sass/layout/_menu.scss +127 -0
- data/assets/sass/layout/_wrapper.scss +303 -0
- data/assets/sass/libs/_breakpoints.scss +223 -0
- data/assets/sass/libs/_functions.scss +90 -0
- data/assets/sass/libs/_html-grid.scss +149 -0
- data/assets/sass/libs/_mixins.scss +63 -0
- data/assets/sass/libs/_vars.scss +54 -0
- data/assets/sass/libs/_vendor.scss +376 -0
- data/assets/sass/main.scss +58 -0
- data/assets/sass/noscript.scss +38 -0
- metadata +70 -7
- data/_sass/main.sass +0 -4110
- data/assets/css/font-awesome.min.css +0 -4
- data/assets/css/main.css +0 -4110
- data/assets/css/noscript.css +0 -39
@@ -0,0 +1,143 @@
|
|
1
|
+
///
|
2
|
+
/// Solid State by HTML5 UP
|
3
|
+
/// html5up.net | @ajlkn
|
4
|
+
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
5
|
+
///
|
6
|
+
|
7
|
+
/* Footer */
|
8
|
+
|
9
|
+
#footer {
|
10
|
+
.inner {
|
11
|
+
@include padding(5em, 0);
|
12
|
+
@include vendor('display', 'flex');
|
13
|
+
@include vendor('flex-direction', 'row');
|
14
|
+
@include vendor('flex-wrap', 'wrap');
|
15
|
+
margin: 0 auto;
|
16
|
+
width: _size(inner);
|
17
|
+
|
18
|
+
> * {
|
19
|
+
width: 100%;
|
20
|
+
}
|
21
|
+
|
22
|
+
form {
|
23
|
+
margin: 0 _size(section-spacing, large) 0 0;
|
24
|
+
width: calc(50% - #{_size(section-spacing, large) * 0.5});
|
25
|
+
}
|
26
|
+
|
27
|
+
.contact {
|
28
|
+
width: calc(50% - #{_size(section-spacing, large) * 0.5});
|
29
|
+
}
|
30
|
+
|
31
|
+
.copyright {
|
32
|
+
border-top: solid 2px _palette(border);
|
33
|
+
list-style: none;
|
34
|
+
margin: (_size(element-margin) * 2) 0 _size(element-margin) 0;
|
35
|
+
padding: _size(element-margin) 0 0 0;
|
36
|
+
width: 100%;
|
37
|
+
|
38
|
+
li {
|
39
|
+
border-left: solid 2px _palette(border);
|
40
|
+
color: _palette(fg-light);
|
41
|
+
display: inline-block;
|
42
|
+
font-size: 0.9em;
|
43
|
+
line-height: 1;
|
44
|
+
margin-left: 1em;
|
45
|
+
padding: 0;
|
46
|
+
padding-left: 1em;
|
47
|
+
|
48
|
+
&:first-child {
|
49
|
+
border-left: 0;
|
50
|
+
margin-left: 0;
|
51
|
+
padding-left: 0;
|
52
|
+
}
|
53
|
+
|
54
|
+
a {
|
55
|
+
color: inherit;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
|
61
|
+
@include breakpoint('<=large') {
|
62
|
+
|
63
|
+
background-color: _palette(bg);
|
64
|
+
|
65
|
+
background-image: linear-gradient(to top, transparentize(_palette(bg), 0.2), transparentize(_palette(bg), 0.2)),
|
66
|
+
url('../../images/bg.jpg');
|
67
|
+
|
68
|
+
background-size: auto,
|
69
|
+
cover;
|
70
|
+
|
71
|
+
background-position: center,
|
72
|
+
center;
|
73
|
+
|
74
|
+
margin-top: (_size(wrapper-edges, large) * -1);
|
75
|
+
padding-top: _size(wrapper-edges, large);
|
76
|
+
|
77
|
+
}
|
78
|
+
|
79
|
+
@include breakpoint('<=medium') {
|
80
|
+
margin-top: (_size(wrapper-edges, medium) * -1);
|
81
|
+
padding-top: _size(wrapper-edges, medium);
|
82
|
+
|
83
|
+
.inner {
|
84
|
+
@include padding(3em, 3em);
|
85
|
+
display: block;
|
86
|
+
width: 100%;
|
87
|
+
|
88
|
+
form {
|
89
|
+
width: 100%;
|
90
|
+
margin: 0 0 (_size(element-margin) * 2) 0;
|
91
|
+
}
|
92
|
+
|
93
|
+
.contact {
|
94
|
+
width: 100%;
|
95
|
+
margin: 0 0 (_size(element-margin) * 2) 0;
|
96
|
+
}
|
97
|
+
|
98
|
+
.copyright {
|
99
|
+
margin: (_size(element-margin) * 2) 0 _size(element-margin) 0;
|
100
|
+
}
|
101
|
+
}
|
102
|
+
}
|
103
|
+
|
104
|
+
@include breakpoint('<=small') {
|
105
|
+
margin-top: (_size(wrapper-edges, small) * -1);
|
106
|
+
padding-top: _size(wrapper-edges, small);
|
107
|
+
|
108
|
+
.inner {
|
109
|
+
@include padding(2em, 2em);
|
110
|
+
|
111
|
+
form {
|
112
|
+
margin: 0 0 (_size(element-margin) * 1.5) 0;
|
113
|
+
}
|
114
|
+
|
115
|
+
.contact {
|
116
|
+
margin: 0 0 (_size(element-margin) * 1.5) 0;
|
117
|
+
}
|
118
|
+
}
|
119
|
+
}
|
120
|
+
|
121
|
+
@include breakpoint('<=xsmall') {
|
122
|
+
.inner {
|
123
|
+
.copyright {
|
124
|
+
li {
|
125
|
+
border-left: 0;
|
126
|
+
display: block;
|
127
|
+
margin: 1em 0 0 0;
|
128
|
+
padding-left: 0;
|
129
|
+
|
130
|
+
&:first-child {
|
131
|
+
margin-top: 0;
|
132
|
+
}
|
133
|
+
}
|
134
|
+
}
|
135
|
+
}
|
136
|
+
}
|
137
|
+
|
138
|
+
@include breakpoint('<=xxsmall') {
|
139
|
+
.inner {
|
140
|
+
@include padding(2em, 1.5em);
|
141
|
+
}
|
142
|
+
}
|
143
|
+
}
|
@@ -0,0 +1,140 @@
|
|
1
|
+
///
|
2
|
+
/// Solid State by HTML5 UP
|
3
|
+
/// html5up.net | @ajlkn
|
4
|
+
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
5
|
+
///
|
6
|
+
|
7
|
+
/* Header */
|
8
|
+
|
9
|
+
#header {
|
10
|
+
@include vendor('transition', 'background-color #{_duration(transition)} ease-in-out');
|
11
|
+
background-color: transparentize(desaturate(lighten(_palette(bg), 3), 1.5), 0.05);
|
12
|
+
height: 3.5em;
|
13
|
+
left: 0;
|
14
|
+
line-height: 3.5em;
|
15
|
+
padding: 0 1.25em;
|
16
|
+
position: fixed;
|
17
|
+
top: 0;
|
18
|
+
width: 100%;
|
19
|
+
z-index: _misc(z-index-base);
|
20
|
+
|
21
|
+
h1 {
|
22
|
+
@include vendor('transition', (
|
23
|
+
'opacity #{_duration(transition)} ease-in-out',
|
24
|
+
'visibility #{_duration(transition)}'
|
25
|
+
));
|
26
|
+
border-bottom: 0;
|
27
|
+
font-size: 0.8em;
|
28
|
+
margin-bottom: 0;
|
29
|
+
opacity: 1;
|
30
|
+
visibility: visible;
|
31
|
+
|
32
|
+
a {
|
33
|
+
border: 0;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
nav {
|
38
|
+
font-family: _font(family-heading);
|
39
|
+
font-size: 0.8em;
|
40
|
+
font-weight: _font(weight-heading-bold);
|
41
|
+
height: 3em;
|
42
|
+
letter-spacing: _font(kern-heading);
|
43
|
+
line-height: 3em;
|
44
|
+
position: absolute;
|
45
|
+
right: 0.7em;
|
46
|
+
text-transform: uppercase;
|
47
|
+
top: 0.7em;
|
48
|
+
|
49
|
+
a {
|
50
|
+
border: 0;
|
51
|
+
display: inline-block;
|
52
|
+
padding: 0 1em;
|
53
|
+
|
54
|
+
&:before {
|
55
|
+
float: right;
|
56
|
+
margin-left: 0.75em;
|
57
|
+
}
|
58
|
+
|
59
|
+
&[href="#menu"] {
|
60
|
+
@include icon;
|
61
|
+
@include vendor('transition', 'background-color #{_duration(transition)} ease-in-out');
|
62
|
+
border-radius: _size(border-radius);
|
63
|
+
box-shadow: inset 0 0 0 2px _palette(border);
|
64
|
+
padding: 0 1.35em;
|
65
|
+
|
66
|
+
&:before {
|
67
|
+
content: '\f0c9';
|
68
|
+
}
|
69
|
+
|
70
|
+
&:hover {
|
71
|
+
background-color: _palette(border-bg);
|
72
|
+
}
|
73
|
+
|
74
|
+
&:active {
|
75
|
+
background-color: _palette(border2-bg);
|
76
|
+
}
|
77
|
+
}
|
78
|
+
}
|
79
|
+
}
|
80
|
+
|
81
|
+
&.alt {
|
82
|
+
background-color: transparent;
|
83
|
+
|
84
|
+
h1 {
|
85
|
+
opacity: 0;
|
86
|
+
visibility: hidden;
|
87
|
+
}
|
88
|
+
}
|
89
|
+
|
90
|
+
@include breakpoint('<=small') {
|
91
|
+
height: 2.75em;
|
92
|
+
line-height: 2.75em;
|
93
|
+
|
94
|
+
nav {
|
95
|
+
top: 0;
|
96
|
+
right: 0;
|
97
|
+
height: inherit;
|
98
|
+
line-height: inherit;
|
99
|
+
|
100
|
+
a {
|
101
|
+
height: inherit;
|
102
|
+
line-height: inherit;
|
103
|
+
|
104
|
+
&[href="#menu"] {
|
105
|
+
box-shadow: none;
|
106
|
+
padding: 0 1em;
|
107
|
+
border-radius: 0;
|
108
|
+
|
109
|
+
&:hover, &:active {
|
110
|
+
background-color: inherit;
|
111
|
+
}
|
112
|
+
}
|
113
|
+
}
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
@include breakpoint('<=xsmall') {
|
118
|
+
nav {
|
119
|
+
a {
|
120
|
+
&[href="#menu"] {
|
121
|
+
width: 4em;
|
122
|
+
white-space: nowrap;
|
123
|
+
text-indent: 4em;
|
124
|
+
position: relative;
|
125
|
+
|
126
|
+
&:before {
|
127
|
+
width: inherit;
|
128
|
+
position: absolute;
|
129
|
+
top: 0;
|
130
|
+
left: 0;
|
131
|
+
text-indent: 0;
|
132
|
+
text-align: right;
|
133
|
+
margin-left: 0;
|
134
|
+
padding-right: 1.25em;
|
135
|
+
}
|
136
|
+
}
|
137
|
+
}
|
138
|
+
}
|
139
|
+
}
|
140
|
+
}
|
@@ -0,0 +1,127 @@
|
|
1
|
+
///
|
2
|
+
/// Solid State by HTML5 UP
|
3
|
+
/// html5up.net | @ajlkn
|
4
|
+
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
5
|
+
///
|
6
|
+
|
7
|
+
/* Menu */
|
8
|
+
|
9
|
+
#page-wrapper {
|
10
|
+
@include vendor('transition', 'filter 0.25s ease');
|
11
|
+
}
|
12
|
+
|
13
|
+
#menu {
|
14
|
+
@include vendor('align-items', 'center');
|
15
|
+
@include vendor('display', 'flex');
|
16
|
+
@include vendor('justify-content', 'center');
|
17
|
+
@include vendor('pointer-events', 'none');
|
18
|
+
@include vendor('transition', ('opacity #{_duration(menu)} ease', 'visibility #{_duration(menu)}'));
|
19
|
+
-moz-user-select: none;
|
20
|
+
-webkit-user-select: none;
|
21
|
+
-ms-user-select: none;
|
22
|
+
user-select: none;
|
23
|
+
-webkit-tap-highlight-color: rgba(0,0,0,0);
|
24
|
+
background: transparentize(_palette(bg), 0.2);
|
25
|
+
cursor: default;
|
26
|
+
height: 100%;
|
27
|
+
left: 0;
|
28
|
+
opacity: 0;
|
29
|
+
position: fixed;
|
30
|
+
text-align: center;
|
31
|
+
top: 0;
|
32
|
+
visibility: hidden;
|
33
|
+
width: 100%;
|
34
|
+
|
35
|
+
.inner {
|
36
|
+
@include padding(2.5em, 1.5em);
|
37
|
+
@include vendor('transform', 'translateY(0.5em)');
|
38
|
+
@include vendor('transition', ('opacity #{_duration(menu)} ease','transform #{_duration(menu)} ease'));
|
39
|
+
-webkit-overflow-scrolling: touch;
|
40
|
+
background: _palette(accent);
|
41
|
+
border-radius: _size(border-radius);
|
42
|
+
display: block;
|
43
|
+
max-width: 100%;
|
44
|
+
opacity: 0;
|
45
|
+
position: relative;
|
46
|
+
width: 18em;
|
47
|
+
}
|
48
|
+
|
49
|
+
h2 {
|
50
|
+
border-bottom: solid 2px _palette(border);
|
51
|
+
padding-bottom: 1em;
|
52
|
+
}
|
53
|
+
|
54
|
+
.close {
|
55
|
+
background-image: url('images/close.svg');
|
56
|
+
background-position: 75% 25%;
|
57
|
+
background-repeat: no-repeat;
|
58
|
+
background-size: 2em 2em;
|
59
|
+
border: 0;
|
60
|
+
content: '';
|
61
|
+
display: block;
|
62
|
+
height: 4em;
|
63
|
+
overflow: hidden;
|
64
|
+
position: absolute;
|
65
|
+
right: 0;
|
66
|
+
text-align: center;
|
67
|
+
text-indent: 4em;
|
68
|
+
top: 0;
|
69
|
+
width: 4em;
|
70
|
+
}
|
71
|
+
|
72
|
+
.links {
|
73
|
+
list-style: none;
|
74
|
+
margin-bottom: (_size(element-margin) - 0.5em);
|
75
|
+
padding: 0;
|
76
|
+
|
77
|
+
li {
|
78
|
+
padding: 0;
|
79
|
+
|
80
|
+
a {
|
81
|
+
border-radius: _size(border-radius);
|
82
|
+
border: 0;
|
83
|
+
display: block;
|
84
|
+
font-family: _font(family-heading);
|
85
|
+
font-size: 0.8em;
|
86
|
+
font-weight: _font(weight-heading);
|
87
|
+
letter-spacing: _font(kern-heading);
|
88
|
+
line-height: 1.85em;
|
89
|
+
padding: 0.75em 0;
|
90
|
+
text-transform: uppercase;
|
91
|
+
|
92
|
+
&:hover {
|
93
|
+
background: saturate(darken(_palette(accent), 3), 1.5);
|
94
|
+
}
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
|
99
|
+
@include breakpoint('<=small') {
|
100
|
+
.inner {
|
101
|
+
max-height: 100%;
|
102
|
+
overflow-y: auto;
|
103
|
+
overflow-x: hidden;
|
104
|
+
|
105
|
+
.close {
|
106
|
+
background-size: 1.5em 1.5em;
|
107
|
+
}
|
108
|
+
}
|
109
|
+
}
|
110
|
+
}
|
111
|
+
|
112
|
+
body.is-menu-visible {
|
113
|
+
#page-wrapper {
|
114
|
+
@include vendor('filter', 'blur(1.5px)');
|
115
|
+
}
|
116
|
+
|
117
|
+
#menu {
|
118
|
+
@include vendor('pointer-events', 'auto');
|
119
|
+
opacity: 1;
|
120
|
+
visibility: visible;
|
121
|
+
|
122
|
+
.inner {
|
123
|
+
@include vendor('transform', 'translateY(0)');
|
124
|
+
opacity: 1;
|
125
|
+
}
|
126
|
+
}
|
127
|
+
}
|
@@ -0,0 +1,303 @@
|
|
1
|
+
///
|
2
|
+
/// Solid State by HTML5 UP
|
3
|
+
/// html5up.net | @ajlkn
|
4
|
+
/// Free for personal and commercial use under the CCA 3.0 license (html5up.net/license)
|
5
|
+
///
|
6
|
+
|
7
|
+
/* Wrapper */
|
8
|
+
|
9
|
+
/// Sets the colors of the wrapper's top/bottom edges.
|
10
|
+
/// @param {string} $color Color.
|
11
|
+
@mixin wrapper-edges-color($color: black) {
|
12
|
+
&:before, &:after {
|
13
|
+
background-image: svg-url('<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100" preserveAspectRatio="none"><polygon points="0,100 100,0 100,100" style="fill:#{$color};" /></svg>');
|
14
|
+
}
|
15
|
+
|
16
|
+
&:before {
|
17
|
+
box-shadow: inset 0 -1px 0 0 $color, 0 1px 0 0 $color;
|
18
|
+
}
|
19
|
+
|
20
|
+
&:after {
|
21
|
+
box-shadow: inset 0 -1px 0 0 $color, 0 1px 0 0 $color;
|
22
|
+
}
|
23
|
+
}
|
24
|
+
|
25
|
+
#wrapper {
|
26
|
+
> header {
|
27
|
+
@include padding(7.5em, 0, (3.5em, 0, _size(wrapper-edges, large) * -0.5, 0));
|
28
|
+
|
29
|
+
.inner {
|
30
|
+
margin: 0 auto;
|
31
|
+
width: _size(inner);
|
32
|
+
}
|
33
|
+
|
34
|
+
h2 {
|
35
|
+
border-bottom: solid 2px _palette(border);
|
36
|
+
font-size: 2em;
|
37
|
+
margin-bottom: _size(element-margin) * 0.4;
|
38
|
+
padding-bottom: _size(element-margin) * 0.2;
|
39
|
+
}
|
40
|
+
|
41
|
+
p {
|
42
|
+
font-family: _font(family-heading);
|
43
|
+
font-size: 1em;
|
44
|
+
font-weight: _font(weight-heading);
|
45
|
+
letter-spacing: _font(kern-heading);
|
46
|
+
line-height: 2;
|
47
|
+
text-transform: uppercase;
|
48
|
+
}
|
49
|
+
}
|
50
|
+
|
51
|
+
@include breakpoint('<=large') {
|
52
|
+
> header {
|
53
|
+
@include padding(5em, 0, (4em, 0, _size(wrapper-edges, large) * 0.5, 0));
|
54
|
+
|
55
|
+
background-color: _palette(bg);
|
56
|
+
|
57
|
+
background-image: linear-gradient(to top, transparentize(_palette(bg), 0.2), transparentize(_palette(bg), 0.2)),
|
58
|
+
url('../../images/bg.jpg');
|
59
|
+
|
60
|
+
background-size: auto,
|
61
|
+
cover;
|
62
|
+
|
63
|
+
background-position: center,
|
64
|
+
0% 30%;
|
65
|
+
|
66
|
+
margin-bottom: (_size(wrapper-edges, large) * -1);
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
@include breakpoint('<=medium') {
|
71
|
+
> header {
|
72
|
+
@include padding(7em, 3em, (4em, 0, _size(wrapper-edges, medium) * 0.5, 0));
|
73
|
+
|
74
|
+
background-size: auto,
|
75
|
+
cover;
|
76
|
+
|
77
|
+
background-position: center,
|
78
|
+
0% 0%;
|
79
|
+
|
80
|
+
margin-bottom: (_size(wrapper-edges, medium) * -1);
|
81
|
+
|
82
|
+
.inner {
|
83
|
+
width: 100%;
|
84
|
+
}
|
85
|
+
}
|
86
|
+
}
|
87
|
+
|
88
|
+
@include breakpoint('<=small') {
|
89
|
+
> header {
|
90
|
+
@include padding(3.75em, 2em, (2.75em, 0, _size(wrapper-edges, small) * 0.5, 0));
|
91
|
+
|
92
|
+
background-size: auto,
|
93
|
+
125%;
|
94
|
+
|
95
|
+
margin-bottom: (_size(wrapper-edges, small) * -1);
|
96
|
+
|
97
|
+
h2 {
|
98
|
+
font-size: 1.25em;
|
99
|
+
}
|
100
|
+
|
101
|
+
p {
|
102
|
+
font-size: 0.8em;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
}
|
106
|
+
}
|
107
|
+
|
108
|
+
.wrapper {
|
109
|
+
background-color: _palette(bg);
|
110
|
+
margin: _size(wrapper-edges, large) 0;
|
111
|
+
position: relative;
|
112
|
+
@include wrapper-edges-color(_palette(bg));
|
113
|
+
|
114
|
+
&:before, &:after {
|
115
|
+
background-repeat: no-repeat;
|
116
|
+
background-size: 100% 100%;
|
117
|
+
content: '';
|
118
|
+
display: block;
|
119
|
+
height: _size(wrapper-edges, large);
|
120
|
+
position: absolute;
|
121
|
+
width: 100%;
|
122
|
+
}
|
123
|
+
|
124
|
+
&:before {
|
125
|
+
left: 0;
|
126
|
+
top: (_size(wrapper-edges, large) * -1);
|
127
|
+
}
|
128
|
+
|
129
|
+
&:after {
|
130
|
+
@include vendor('transform', 'scaleY(-1)');
|
131
|
+
bottom: (_size(wrapper-edges, large) * -1);
|
132
|
+
left: 0;
|
133
|
+
}
|
134
|
+
|
135
|
+
&.alt {
|
136
|
+
&:before {
|
137
|
+
@include vendor('transform', 'scaleX(-1)');
|
138
|
+
}
|
139
|
+
|
140
|
+
&:after {
|
141
|
+
@include vendor('transform', 'scaleY(-1) scaleX(-1)');
|
142
|
+
}
|
143
|
+
}
|
144
|
+
|
145
|
+
.inner {
|
146
|
+
@include padding(3em, 0);
|
147
|
+
margin: 0 auto;
|
148
|
+
width: _size(inner);
|
149
|
+
}
|
150
|
+
|
151
|
+
@for $i from 2 through _misc(max-wrapper-styles) {
|
152
|
+
$j: 3 * ($i - 1);
|
153
|
+
$color: desaturate(lighten(_palette(bg), $j), $j * 0.5);
|
154
|
+
|
155
|
+
&.style#{$i} {
|
156
|
+
background-color: $color;
|
157
|
+
@include wrapper-edges-color($color);
|
158
|
+
}
|
159
|
+
}
|
160
|
+
|
161
|
+
&.spotlight {
|
162
|
+
@include wrapper-edges-color(_palette(accent));
|
163
|
+
background-color: _palette(accent);
|
164
|
+
|
165
|
+
.inner {
|
166
|
+
@include vendor('display', 'flex');
|
167
|
+
@include vendor('align-items', 'center');
|
168
|
+
@include vendor('flex-direction', 'row');
|
169
|
+
}
|
170
|
+
|
171
|
+
.image {
|
172
|
+
border-radius: 100%;
|
173
|
+
margin: 0 _size(section-spacing, large) _size(element-margin) 0;
|
174
|
+
width: 22em;
|
175
|
+
overflow: hidden;
|
176
|
+
-ms-flex: 1;
|
177
|
+
|
178
|
+
img {
|
179
|
+
border-radius: 100%;
|
180
|
+
width: 100%;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
.content {
|
185
|
+
width: 100%;
|
186
|
+
-ms-flex: 2;
|
187
|
+
}
|
188
|
+
|
189
|
+
&:nth-child(2n - 1) {
|
190
|
+
.inner {
|
191
|
+
@include vendor('flex-direction', 'row-reverse');
|
192
|
+
text-align: right;
|
193
|
+
}
|
194
|
+
|
195
|
+
.image {
|
196
|
+
margin: 0 0 _size(element-margin) _size(section-spacing, large);
|
197
|
+
}
|
198
|
+
}
|
199
|
+
|
200
|
+
@for $i from 2 through _misc(max-wrapper-styles) {
|
201
|
+
$j: 3 * ($i - 1);
|
202
|
+
$color: saturate(darken(_palette(accent), $j), $j * 0.5);
|
203
|
+
|
204
|
+
&.style#{$i} {
|
205
|
+
background-color: $color;
|
206
|
+
@include wrapper-edges-color($color);
|
207
|
+
}
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
@include breakpoint('<=medium') {
|
212
|
+
margin: _size(wrapper-edges, medium) 0;
|
213
|
+
|
214
|
+
&:before, &:after {
|
215
|
+
height: _size(wrapper-edges, medium);
|
216
|
+
}
|
217
|
+
|
218
|
+
&:before {
|
219
|
+
top: (_size(wrapper-edges, medium) * -1);
|
220
|
+
}
|
221
|
+
|
222
|
+
&:after {
|
223
|
+
bottom: (_size(wrapper-edges, medium) * -1);
|
224
|
+
left: 0;
|
225
|
+
}
|
226
|
+
|
227
|
+
.inner {
|
228
|
+
@include padding(3em, 3em);
|
229
|
+
width: 100%;
|
230
|
+
}
|
231
|
+
|
232
|
+
&.spotlight {
|
233
|
+
.image {
|
234
|
+
margin: 0 _size(section-spacing, medium) _size(element-margin) 0;
|
235
|
+
width: 32em;
|
236
|
+
}
|
237
|
+
|
238
|
+
&:nth-child(2n - 1) {
|
239
|
+
.image {
|
240
|
+
margin: 0 0 _size(element-margin) _size(section-spacing, medium);
|
241
|
+
}
|
242
|
+
}
|
243
|
+
}
|
244
|
+
}
|
245
|
+
|
246
|
+
@include breakpoint('<=small') {
|
247
|
+
margin: _size(wrapper-edges, small) 0;
|
248
|
+
|
249
|
+
&:before, &:after {
|
250
|
+
height: _size(wrapper-edges, small);
|
251
|
+
}
|
252
|
+
|
253
|
+
&:before {
|
254
|
+
top: (_size(wrapper-edges, small) * -1);
|
255
|
+
}
|
256
|
+
|
257
|
+
&:after {
|
258
|
+
bottom: (_size(wrapper-edges, small) * -1);
|
259
|
+
left: 0;
|
260
|
+
}
|
261
|
+
|
262
|
+
.inner {
|
263
|
+
@include padding(2em, 2em);
|
264
|
+
}
|
265
|
+
|
266
|
+
&.spotlight {
|
267
|
+
.inner {
|
268
|
+
@include vendor('align-items', 'flex-start');
|
269
|
+
}
|
270
|
+
|
271
|
+
.image {
|
272
|
+
width: 19em;
|
273
|
+
margin: 0 _size(section-spacing, small) _size(element-margin) 0;
|
274
|
+
}
|
275
|
+
|
276
|
+
&:nth-child(2n - 1) {
|
277
|
+
.image {
|
278
|
+
margin: 0 0 _size(element-margin) _size(section-spacing, small);
|
279
|
+
}
|
280
|
+
}
|
281
|
+
}
|
282
|
+
}
|
283
|
+
|
284
|
+
@include breakpoint('<=xsmall') {
|
285
|
+
&.spotlight {
|
286
|
+
.inner {
|
287
|
+
display: block;
|
288
|
+
}
|
289
|
+
|
290
|
+
.image {
|
291
|
+
margin: 0 0 (_size(element-margin) * 0.5) 0 !important;
|
292
|
+
max-width: 85%;
|
293
|
+
width: 12em;
|
294
|
+
}
|
295
|
+
}
|
296
|
+
}
|
297
|
+
|
298
|
+
@include breakpoint('<=xxsmall') {
|
299
|
+
.inner {
|
300
|
+
@include padding(2em, 1.5em);
|
301
|
+
}
|
302
|
+
}
|
303
|
+
}
|