jekyll-theme-html5up-editorial 0.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +52 -0
- data/_includes/footer.html +10 -0
- data/_includes/header.html +25 -0
- data/_includes/recent-posts.html +19 -0
- data/_includes/related-posts.html +19 -0
- data/_includes/scripts.html +5 -0
- data/_includes/sidebar.html +91 -0
- data/_includes/socialmedia.html +0 -0
- data/_layouts/default.html +1 -0
- data/_layouts/generic.html +13 -0
- data/_layouts/index.html +114 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +5 -0
- data/_sass/base/_page.scss +48 -0
- data/_sass/base/_reset.scss +76 -0
- data/_sass/base/_typography.scss +187 -0
- data/_sass/components/_actions.scss +63 -0
- data/_sass/components/_box.scss +26 -0
- data/_sass/components/_button.scss +85 -0
- data/_sass/components/_contact.scss +47 -0
- data/_sass/components/_features.scss +156 -0
- data/_sass/components/_form.scss +179 -0
- data/_sass/components/_icon.scss +33 -0
- data/_sass/components/_icons.scss +30 -0
- data/_sass/components/_image.scss +74 -0
- data/_sass/components/_list.scss +56 -0
- data/_sass/components/_mini-posts.scss +31 -0
- data/_sass/components/_pagination.scss +70 -0
- data/_sass/components/_posts.scss +179 -0
- data/_sass/components/_row.scss +31 -0
- data/_sass/components/_section.scss +39 -0
- data/_sass/components/_table.scss +81 -0
- data/_sass/layout/_banner.scss +75 -0
- data/_sass/layout/_footer.scss +18 -0
- data/_sass/layout/_header.scss +51 -0
- data/_sass/layout/_main.scss +58 -0
- data/_sass/layout/_menu.scss +98 -0
- data/_sass/layout/_sidebar.scss +223 -0
- data/_sass/layout/_wrapper.scss +13 -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 +78 -0
- data/_sass/libs/_vars.scss +44 -0
- data/_sass/libs/_vendor.scss +376 -0
- data/_sass/main.scss +63 -0
- data/_sass/variable-overrides.scss +58 -0
- data/assets/css/fontawesome-all.min.css +101 -0
- data/assets/css/main.scss +4 -0
- data/assets/images/learn-more.jpg +0 -0
- data/assets/images/pic01.jpg +0 -0
- data/assets/images/pic02.jpg +0 -0
- data/assets/images/pic03.jpg +0 -0
- data/assets/images/pic04.jpg +0 -0
- data/assets/images/pic05.jpg +0 -0
- data/assets/images/pic06.jpg +0 -0
- data/assets/images/pic07.jpg +0 -0
- data/assets/images/pic08.jpg +0 -0
- data/assets/images/pic09.jpg +0 -0
- data/assets/images/pic10.jpg +0 -0
- data/assets/images/pic11.jpg +0 -0
- data/assets/images/post_lorem_image1.jpeg +0 -0
- data/assets/images/post_lorem_image10.jpeg +0 -0
- data/assets/images/post_lorem_image2.jpeg +0 -0
- data/assets/images/post_lorem_image3.jpeg +0 -0
- data/assets/images/post_lorem_image4.jpeg +0 -0
- data/assets/images/post_lorem_image5.jpeg +0 -0
- data/assets/images/post_lorem_image6.jpeg +0 -0
- data/assets/images/post_lorem_image7.jpeg +0 -0
- data/assets/images/post_lorem_image8.jpeg +0 -0
- data/assets/images/post_lorem_image9.jpeg +0 -0
- data/assets/js/breakpoints.min.js +2 -0
- data/assets/js/browser.min.js +2 -0
- data/assets/js/jquery.min.js +2 -0
- data/assets/js/main.js +262 -0
- data/assets/js/util.js +587 -0
- data/assets/webfonts/fa-brands-400.eot +0 -0
- data/assets/webfonts/fa-brands-400.svg +3717 -0
- data/assets/webfonts/fa-brands-400.ttf +0 -0
- data/assets/webfonts/fa-brands-400.woff +0 -0
- data/assets/webfonts/fa-brands-400.woff2 +0 -0
- data/assets/webfonts/fa-regular-400.eot +0 -0
- data/assets/webfonts/fa-regular-400.svg +801 -0
- data/assets/webfonts/fa-regular-400.ttf +0 -0
- data/assets/webfonts/fa-regular-400.woff +0 -0
- data/assets/webfonts/fa-regular-400.woff2 +0 -0
- data/assets/webfonts/fa-solid-900.eot +0 -0
- data/assets/webfonts/fa-solid-900.svg +5034 -0
- data/assets/webfonts/fa-solid-900.ttf +0 -0
- data/assets/webfonts/fa-solid-900.woff +0 -0
- data/assets/webfonts/fa-solid-900.woff2 +0 -0
- metadata +149 -0
@@ -0,0 +1,81 @@
|
|
1
|
+
///
|
2
|
+
/// Editorial 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
|
+
/* Table */
|
8
|
+
|
9
|
+
.table-wrapper {
|
10
|
+
-webkit-overflow-scrolling: touch;
|
11
|
+
overflow-x: auto;
|
12
|
+
}
|
13
|
+
|
14
|
+
table {
|
15
|
+
margin: 0 0 _size(element-margin) 0;
|
16
|
+
width: 100%;
|
17
|
+
|
18
|
+
tbody {
|
19
|
+
tr {
|
20
|
+
border: solid 1px _palette(border);
|
21
|
+
border-left: 0;
|
22
|
+
border-right: 0;
|
23
|
+
|
24
|
+
&:nth-child(2n + 1) {
|
25
|
+
background-color: _palette(border-bg);
|
26
|
+
}
|
27
|
+
}
|
28
|
+
}
|
29
|
+
|
30
|
+
td {
|
31
|
+
padding: 0.75em 0.75em;
|
32
|
+
}
|
33
|
+
|
34
|
+
th {
|
35
|
+
color: _palette(fg-bold);
|
36
|
+
font-size: 0.9em;
|
37
|
+
font-weight: _font(weight-bold);
|
38
|
+
padding: 0 0.75em 0.75em 0.75em;
|
39
|
+
text-align: left;
|
40
|
+
}
|
41
|
+
|
42
|
+
thead {
|
43
|
+
border-bottom: solid 2px _palette(border);
|
44
|
+
}
|
45
|
+
|
46
|
+
tfoot {
|
47
|
+
border-top: solid 2px _palette(border);
|
48
|
+
}
|
49
|
+
|
50
|
+
&.alt {
|
51
|
+
border-collapse: separate;
|
52
|
+
|
53
|
+
tbody {
|
54
|
+
tr {
|
55
|
+
td {
|
56
|
+
border: solid 1px _palette(border);
|
57
|
+
border-left-width: 0;
|
58
|
+
border-top-width: 0;
|
59
|
+
|
60
|
+
&:first-child {
|
61
|
+
border-left-width: 1px;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
|
65
|
+
&:first-child {
|
66
|
+
td {
|
67
|
+
border-top-width: 1px;
|
68
|
+
}
|
69
|
+
}
|
70
|
+
}
|
71
|
+
}
|
72
|
+
|
73
|
+
thead {
|
74
|
+
border-bottom: 0;
|
75
|
+
}
|
76
|
+
|
77
|
+
tfoot {
|
78
|
+
border-top: 0;
|
79
|
+
}
|
80
|
+
}
|
81
|
+
}
|
@@ -0,0 +1,75 @@
|
|
1
|
+
///
|
2
|
+
/// Editorial 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
|
+
/* Banner */
|
8
|
+
|
9
|
+
#banner {
|
10
|
+
@include padding(6em, 0);
|
11
|
+
@include vendor('display', 'flex');
|
12
|
+
|
13
|
+
h1 {
|
14
|
+
margin-top: -0.125em;
|
15
|
+
}
|
16
|
+
|
17
|
+
.content {
|
18
|
+
@include vendor('flex-grow', '1');
|
19
|
+
@include vendor('flex-shrink', '1');
|
20
|
+
width: 50%;
|
21
|
+
}
|
22
|
+
|
23
|
+
.image {
|
24
|
+
@include vendor('flex-grow', '0');
|
25
|
+
@include vendor('flex-shrink', '0');
|
26
|
+
display: block;
|
27
|
+
margin: 0 0 _size(element-margin) (_size(element-margin) * 2);
|
28
|
+
width: 50%;
|
29
|
+
|
30
|
+
img {
|
31
|
+
height: 100%;
|
32
|
+
-moz-object-fit: cover;
|
33
|
+
-webkit-object-fit: cover;
|
34
|
+
-ms-object-fit: cover;
|
35
|
+
object-fit: cover;
|
36
|
+
-moz-object-position: center;
|
37
|
+
-webkit-object-position: center;
|
38
|
+
-ms-object-position: center;
|
39
|
+
object-position: center;
|
40
|
+
width: 100%;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
@include orientation(portrait) {
|
45
|
+
@include vendor('flex-direction', 'column-reverse');
|
46
|
+
|
47
|
+
h1 {
|
48
|
+
br {
|
49
|
+
display: none;
|
50
|
+
}
|
51
|
+
}
|
52
|
+
|
53
|
+
.content {
|
54
|
+
@include vendor('flex-grow', '0');
|
55
|
+
@include vendor('flex-shrink', '0');
|
56
|
+
width: 100%;
|
57
|
+
}
|
58
|
+
|
59
|
+
.image {
|
60
|
+
@include vendor('flex-grow', '0');
|
61
|
+
@include vendor('flex-shrink', '0');
|
62
|
+
margin: 0 0 (_size(element-margin) * 2) 0;
|
63
|
+
height: 25em;
|
64
|
+
max-height: 50vh;
|
65
|
+
min-height: 18em;
|
66
|
+
width: 100%;
|
67
|
+
}
|
68
|
+
|
69
|
+
@include breakpoint('<=xsmall') {
|
70
|
+
.image {
|
71
|
+
max-height: 35vh;
|
72
|
+
}
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
@@ -0,0 +1,18 @@
|
|
1
|
+
///
|
2
|
+
/// Editorial 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
|
+
.copyright {
|
11
|
+
color: _palette(fg-light);
|
12
|
+
font-size: 0.9em;
|
13
|
+
|
14
|
+
a {
|
15
|
+
color: inherit;
|
16
|
+
}
|
17
|
+
}
|
18
|
+
}
|
@@ -0,0 +1,51 @@
|
|
1
|
+
///
|
2
|
+
/// Editorial 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('display', 'flex');
|
11
|
+
border-bottom: solid 5px _palette(accent);
|
12
|
+
padding: 6em 0 1em 0;
|
13
|
+
position: relative;
|
14
|
+
|
15
|
+
> * {
|
16
|
+
@include vendor('flex', '1');
|
17
|
+
margin-bottom: 0;
|
18
|
+
}
|
19
|
+
|
20
|
+
.logo {
|
21
|
+
border-bottom: 0;
|
22
|
+
color: inherit;
|
23
|
+
font-family: _font(family-heading);
|
24
|
+
font-size: 1.125em;
|
25
|
+
}
|
26
|
+
|
27
|
+
.icons {
|
28
|
+
text-align: right;
|
29
|
+
}
|
30
|
+
|
31
|
+
@include breakpoint('<=xlarge') {
|
32
|
+
padding-top: 5em;
|
33
|
+
}
|
34
|
+
|
35
|
+
@include breakpoint('<=small') {
|
36
|
+
padding-top: 6.5em;
|
37
|
+
|
38
|
+
.logo {
|
39
|
+
font-size: 1.25em;
|
40
|
+
margin: 0;
|
41
|
+
}
|
42
|
+
|
43
|
+
.icons {
|
44
|
+
height: (6.25em / 1.25);
|
45
|
+
line-height: (6.25em / 1.25);
|
46
|
+
position: absolute;
|
47
|
+
right: (-0.625em / 1.25);
|
48
|
+
top: 0;
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
@@ -0,0 +1,58 @@
|
|
1
|
+
///
|
2
|
+
/// Editorial 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
|
+
/* Main */
|
8
|
+
|
9
|
+
#main {
|
10
|
+
@include vendor('flex-grow', '1');
|
11
|
+
@include vendor('flex-shrink', '1');
|
12
|
+
width: 100%;
|
13
|
+
|
14
|
+
> .inner {
|
15
|
+
@include padding(0, 6em);
|
16
|
+
margin: 0 auto;
|
17
|
+
max-width: 110em;
|
18
|
+
|
19
|
+
> section {
|
20
|
+
@include padding(6em, 0);
|
21
|
+
border-top: solid 2px _palette(border);
|
22
|
+
|
23
|
+
&:first-of-type {
|
24
|
+
border-top: 0 !important;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
@include breakpoint('<=xlarge') {
|
30
|
+
> .inner {
|
31
|
+
@include padding(0, 5em);
|
32
|
+
|
33
|
+
> section {
|
34
|
+
@include padding(5em, 0);
|
35
|
+
}
|
36
|
+
}
|
37
|
+
}
|
38
|
+
|
39
|
+
@include breakpoint('<=large') {
|
40
|
+
> .inner {
|
41
|
+
@include padding(0, 4em);
|
42
|
+
|
43
|
+
> section {
|
44
|
+
@include padding(4em, 0);
|
45
|
+
}
|
46
|
+
}
|
47
|
+
}
|
48
|
+
|
49
|
+
@include breakpoint('<=small') {
|
50
|
+
> .inner {
|
51
|
+
@include padding(0, 2em);
|
52
|
+
|
53
|
+
> section {
|
54
|
+
@include padding(3em, 0);
|
55
|
+
}
|
56
|
+
}
|
57
|
+
}
|
58
|
+
}
|
@@ -0,0 +1,98 @@
|
|
1
|
+
///
|
2
|
+
/// Editorial 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
|
+
#menu {
|
10
|
+
ul {
|
11
|
+
@include vendor('user-select', 'none');
|
12
|
+
color: _palette(fg-bold);
|
13
|
+
font-family: _font(family-heading);
|
14
|
+
font-weight: _font(weight-heading-alt);
|
15
|
+
letter-spacing: _font(kerning-heading);
|
16
|
+
list-style: none;
|
17
|
+
margin-bottom: 0;
|
18
|
+
padding: 0;
|
19
|
+
text-transform: uppercase;
|
20
|
+
|
21
|
+
a, span {
|
22
|
+
border-bottom: 0;
|
23
|
+
color: inherit;
|
24
|
+
cursor: pointer;
|
25
|
+
display: block;
|
26
|
+
font-size: 0.9em;
|
27
|
+
padding: 0.625em 0;
|
28
|
+
|
29
|
+
&:hover {
|
30
|
+
color: _palette(accent);
|
31
|
+
}
|
32
|
+
|
33
|
+
&.opener {
|
34
|
+
@include vendor('transition', 'color #{_duration(transition)} ease-in-out');
|
35
|
+
@include icon(false, solid);
|
36
|
+
-webkit-tap-highlight-color: rgba(255,255,255,0);
|
37
|
+
position: relative;
|
38
|
+
|
39
|
+
&:before {
|
40
|
+
@include vendor('transition', (
|
41
|
+
'color #{_duration(transition)} ease-in-out',
|
42
|
+
'transform #{_duration(transition)} ease-in-out'
|
43
|
+
));
|
44
|
+
color: _palette(fg-light);
|
45
|
+
content: '\f078';
|
46
|
+
position: absolute;
|
47
|
+
right: 0;
|
48
|
+
}
|
49
|
+
|
50
|
+
&:hover {
|
51
|
+
&:before {
|
52
|
+
color: _palette(accent);
|
53
|
+
}
|
54
|
+
}
|
55
|
+
|
56
|
+
&.active {
|
57
|
+
& + ul {
|
58
|
+
display: block;
|
59
|
+
}
|
60
|
+
|
61
|
+
&:before {
|
62
|
+
@include vendor('transform', 'rotate(-180deg)');
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
> ul {
|
70
|
+
> li {
|
71
|
+
border-top: solid 1px _palette(border);
|
72
|
+
margin: 0.5em 0 0 0;
|
73
|
+
padding: 0.5em 0 0 0;
|
74
|
+
|
75
|
+
> ul {
|
76
|
+
color: _palette(fg-light);
|
77
|
+
display: none;
|
78
|
+
margin: 0.5em 0 1.5em 0;
|
79
|
+
padding-left: 1em;
|
80
|
+
|
81
|
+
a, span {
|
82
|
+
font-size: 0.8em;
|
83
|
+
}
|
84
|
+
|
85
|
+
> li {
|
86
|
+
margin: 0.125em 0 0 0;
|
87
|
+
padding: 0.125em 0 0 0;
|
88
|
+
}
|
89
|
+
}
|
90
|
+
|
91
|
+
&:first-child {
|
92
|
+
border-top: 0;
|
93
|
+
margin-top: 0;
|
94
|
+
padding-top: 0;
|
95
|
+
}
|
96
|
+
}
|
97
|
+
}
|
98
|
+
}
|
@@ -0,0 +1,223 @@
|
|
1
|
+
///
|
2
|
+
/// Editorial 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
|
+
/* Sidebar */
|
8
|
+
|
9
|
+
#search {
|
10
|
+
form {
|
11
|
+
@include icon(false, solid);
|
12
|
+
position: relative;
|
13
|
+
|
14
|
+
&:before {
|
15
|
+
@include vendor('transform', 'scaleX(-1)');
|
16
|
+
color: _palette(fg);
|
17
|
+
content: '\f002';
|
18
|
+
cursor: default;
|
19
|
+
display: block;
|
20
|
+
font-size: 1.5em;
|
21
|
+
height: _size(element-height) / 1.375;
|
22
|
+
line-height: _size(element-height) / 1.375;
|
23
|
+
opacity: 0.325;
|
24
|
+
position: absolute;
|
25
|
+
right: 0;
|
26
|
+
text-align: center;
|
27
|
+
top: 0;
|
28
|
+
width: _size(element-height) / 1.375;
|
29
|
+
}
|
30
|
+
|
31
|
+
input[type="text"] {
|
32
|
+
padding-right: _size(element-height);
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
#sidebar {
|
38
|
+
$pad: 2em / 0.9;
|
39
|
+
|
40
|
+
@include vendor('flex-grow', '0');
|
41
|
+
@include vendor('flex-shrink', '0');
|
42
|
+
@include vendor('transition', (
|
43
|
+
'margin-left 0.5s ease',
|
44
|
+
'box-shadow 0.5s ease'
|
45
|
+
));
|
46
|
+
background-color: _palette(bg-alt);
|
47
|
+
font-size: 0.9em;
|
48
|
+
position: relative;
|
49
|
+
width: _size(sidebar-width);
|
50
|
+
|
51
|
+
h2 {
|
52
|
+
font-size: (1.25em / 0.9);
|
53
|
+
}
|
54
|
+
|
55
|
+
> .inner {
|
56
|
+
@include padding($pad, $pad, (0, 0, $pad, 0));
|
57
|
+
position: relative;
|
58
|
+
width: _size(sidebar-width);
|
59
|
+
|
60
|
+
> * {
|
61
|
+
border-bottom: solid 2px _palette(border);
|
62
|
+
margin: 0 0 (_size(element-margin) * 1.75) 0;
|
63
|
+
padding: 0 0 (_size(element-margin) * 1.75) 0;
|
64
|
+
|
65
|
+
> :last-child {
|
66
|
+
margin-bottom: 0;
|
67
|
+
}
|
68
|
+
|
69
|
+
&:last-child {
|
70
|
+
border-bottom: 0;
|
71
|
+
margin-bottom: 0;
|
72
|
+
padding-bottom: 0;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
|
76
|
+
> .alt {
|
77
|
+
background-color: darken(_palette(bg-alt), 2);
|
78
|
+
border-bottom: 0;
|
79
|
+
margin: ($pad * -1) 0 ($pad * 2) ($pad * -1);
|
80
|
+
padding: $pad;
|
81
|
+
width: calc(100% + #{$pad * 2});
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
.toggle {
|
86
|
+
@include icon(false, solid);
|
87
|
+
@include vendor('transition', 'left 0.5s ease');
|
88
|
+
-webkit-tap-highlight-color: rgba(255,255,255,0);
|
89
|
+
border: 0;
|
90
|
+
display: block;
|
91
|
+
height: 7.5em;
|
92
|
+
left: _size(sidebar-width);
|
93
|
+
line-height: 7.5em;
|
94
|
+
outline: 0;
|
95
|
+
overflow: hidden;
|
96
|
+
position: absolute;
|
97
|
+
text-align: center;
|
98
|
+
text-indent: -15em;
|
99
|
+
white-space: nowrap;
|
100
|
+
top: 0;
|
101
|
+
width: 6em;
|
102
|
+
z-index: _misc(z-index-base);
|
103
|
+
|
104
|
+
&:before {
|
105
|
+
content: '\f0c9';
|
106
|
+
font-size: 2rem;
|
107
|
+
height: inherit;
|
108
|
+
left: 0;
|
109
|
+
line-height: inherit;
|
110
|
+
position: absolute;
|
111
|
+
text-indent: 0;
|
112
|
+
top: 0;
|
113
|
+
width: inherit;
|
114
|
+
}
|
115
|
+
}
|
116
|
+
|
117
|
+
&.inactive {
|
118
|
+
margin-left: (_size(sidebar-width) * -1);
|
119
|
+
}
|
120
|
+
|
121
|
+
@include breakpoint('<=xlarge') {
|
122
|
+
$pad: 1.5em / 0.9;
|
123
|
+
|
124
|
+
width: _size(sidebar-width-alt);
|
125
|
+
|
126
|
+
> .inner {
|
127
|
+
@include padding($pad, $pad, (0, 0, $pad, 0));
|
128
|
+
width: _size(sidebar-width-alt);
|
129
|
+
|
130
|
+
> .alt {
|
131
|
+
margin: ($pad * -1) 0 ($pad * 2) ($pad * -1);
|
132
|
+
padding: $pad;
|
133
|
+
width: calc(100% + #{$pad * 2});
|
134
|
+
}
|
135
|
+
}
|
136
|
+
|
137
|
+
.toggle {
|
138
|
+
height: 6.25em;
|
139
|
+
left: _size(sidebar-width-alt);
|
140
|
+
line-height: 6.25em;
|
141
|
+
text-indent: 5em;
|
142
|
+
width: 5em;
|
143
|
+
|
144
|
+
&:before {
|
145
|
+
font-size: 1.5rem;
|
146
|
+
}
|
147
|
+
}
|
148
|
+
|
149
|
+
&.inactive {
|
150
|
+
margin-left: (_size(sidebar-width-alt) * -1);
|
151
|
+
}
|
152
|
+
}
|
153
|
+
|
154
|
+
@include breakpoint('<=large') {
|
155
|
+
box-shadow: 0 0 5em 0 rgba(0, 0, 0, 0.175);
|
156
|
+
height: 100%;
|
157
|
+
left: 0;
|
158
|
+
position: fixed;
|
159
|
+
top: 0;
|
160
|
+
z-index: _misc(z-index-base);
|
161
|
+
|
162
|
+
&.inactive {
|
163
|
+
box-shadow: none;
|
164
|
+
}
|
165
|
+
|
166
|
+
> .inner {
|
167
|
+
-webkit-overflow-scrolling: touch;
|
168
|
+
height: 100%;
|
169
|
+
left: 0;
|
170
|
+
overflow-x: hidden;
|
171
|
+
overflow-y: auto;
|
172
|
+
position: absolute;
|
173
|
+
top: 0;
|
174
|
+
|
175
|
+
&:after {
|
176
|
+
content: '';
|
177
|
+
display: block;
|
178
|
+
height: 4em;
|
179
|
+
width: 100%;
|
180
|
+
}
|
181
|
+
}
|
182
|
+
|
183
|
+
.toggle {
|
184
|
+
text-indent: 6em;
|
185
|
+
width: 6em;
|
186
|
+
|
187
|
+
&:before {
|
188
|
+
font-size: 1.5rem;
|
189
|
+
margin-left: (-0.875em / 2);
|
190
|
+
}
|
191
|
+
}
|
192
|
+
|
193
|
+
body.is-preload & {
|
194
|
+
display: none;
|
195
|
+
}
|
196
|
+
}
|
197
|
+
|
198
|
+
@include breakpoint('<=small') {
|
199
|
+
.toggle {
|
200
|
+
text-indent: 7.25em;
|
201
|
+
width: 7.25em;
|
202
|
+
|
203
|
+
&:before {
|
204
|
+
color: _palette(fg);
|
205
|
+
margin-left: (-0.125em / 2);
|
206
|
+
margin-top: (-0.5em / 2);
|
207
|
+
font-size: 1.1rem;
|
208
|
+
z-index: 1;
|
209
|
+
}
|
210
|
+
|
211
|
+
&:after {
|
212
|
+
background: transparentize(lighten(_palette(fg), 35), 0.25);
|
213
|
+
border-radius: _size(border-radius);
|
214
|
+
content: '';
|
215
|
+
height: 3.5em;
|
216
|
+
left: 1em;
|
217
|
+
position: absolute;
|
218
|
+
top: 1em;
|
219
|
+
width: 5em;
|
220
|
+
}
|
221
|
+
}
|
222
|
+
}
|
223
|
+
}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
///
|
2
|
+
/// Editorial 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
|
+
#wrapper {
|
10
|
+
@include vendor('display', 'flex');
|
11
|
+
@include vendor('flex-direction', 'row-reverse');
|
12
|
+
min-height: 100vh;
|
13
|
+
}
|