jekyll-theme-editorial 1.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/404.html +6 -0
- data/LICENSE.txt +63 -0
- data/README.md +1213 -0
- data/_config.yml +306 -0
- data/_data/categories.yml +38 -0
- data/_data/comments/posts/amet-varius-aliquam/20200511110657-jimbob-hexagonpants.yml +8 -0
- data/_data/comments/posts/amet-varius-aliquam/20200513010934-isabella-roundtoes.yml +15 -0
- data/_data/comments/posts/amet-varius-aliquam/20200514191919-hakira-tusunaba.yaml +8 -0
- data/_data/comments/posts/amet-varius-aliquam/20200515235959-jimbob-hexagonpants.yml +8 -0
- data/_data/features.yml +15 -0
- data/_data/menus.yml +42 -0
- data/_data/scripts.yml +13 -0
- data/_data/social.yml +140 -0
- data/_data/tags.yml +50 -0
- data/_data/taxonomy.yml +87 -0
- data/_includes/404.html +20 -0
- data/_includes/archives_menu.html +61 -0
- data/_includes/article.html +47 -0
- data/_includes/articles.html +42 -0
- data/_includes/author.html +73 -0
- data/_includes/authors.html +21 -0
- data/_includes/authors_byline.html +63 -0
- data/_includes/banner.html +10 -0
- data/_includes/categories.html +15 -0
- data/_includes/comment.html +43 -0
- data/_includes/comment_form.html +43 -0
- data/_includes/comments.html +20 -0
- data/_includes/contact.html +42 -0
- data/_includes/custom_head.html +6 -0
- data/_includes/date_modified.html +6 -0
- data/_includes/disqus_comments.html +19 -0
- data/_includes/feature.html +7 -0
- data/_includes/features.html +10 -0
- data/_includes/footer.html +4 -0
- data/_includes/head.html +20 -0
- data/_includes/item_authors.html +27 -0
- data/_includes/item_date.html +32 -0
- data/_includes/item_image.html +30 -0
- data/_includes/list_item.html +12 -0
- data/_includes/menu.html +110 -0
- data/_includes/mini-posts.html +32 -0
- data/_includes/modal.html +12 -0
- data/_includes/more_button.html +3 -0
- data/_includes/newsletter_signup.html +22 -0
- data/_includes/page_header.html +77 -0
- data/_includes/pages.html +79 -0
- data/_includes/pagination.html +22 -0
- data/_includes/post_header.html +52 -0
- data/_includes/post_nav.html +14 -0
- data/_includes/posts.html +62 -0
- data/_includes/projects.html +90 -0
- data/_includes/responsive_banner.html +20 -0
- data/_includes/scripts.html +22 -0
- data/_includes/search.html +11 -0
- data/_includes/section_header.html +3 -0
- data/_includes/series.html +32 -0
- data/_includes/sidebar.html +11 -0
- data/_includes/signin_button.html +4 -0
- data/_includes/site_header.html +9 -0
- data/_includes/social_media.html +14 -0
- data/_includes/social_media_list.html +14 -0
- data/_includes/submenu.html +25 -0
- data/_includes/tags.html +15 -0
- data/_layouts/archive.html +32 -0
- data/_layouts/author.html +19 -0
- data/_layouts/category.html +23 -0
- data/_layouts/default.html +29 -0
- data/_layouts/home.html +6 -0
- data/_layouts/page.html +16 -0
- data/_layouts/post.html +35 -0
- data/_layouts/project.html +24 -0
- data/_layouts/tag.html +23 -0
- data/_pages/about.md +37 -0
- data/_pages/archives.html +134 -0
- data/_pages/categories.html +94 -0
- data/_pages/elements.html +403 -0
- data/_pages/people.html +26 -0
- data/_pages/posts.html +11 -0
- data/_pages/privacy.md +52 -0
- data/_pages/projects.html +9 -0
- data/_pages/signin.md +31 -0
- data/_pages/tags.html +133 -0
- data/_pages/terms.md +44 -0
- data/_people/augustus.md +27 -0
- data/_people/aurelius.md +29 -0
- data/_people/julia.md +36 -0
- data/_people/petunia.md +26 -0
- data/_posts/2020-01-01-Interdum-aenean.md +47 -0
- data/_posts/2020-01-02-mulla-amet-dolore.md +38 -0
- data/_posts/2020-01-03-tempus-ullamcorper.md +122 -0
- data/_posts/2020-01-04-feugiat-lorem-aenean.md +35 -0
- data/_posts/2020-01-04-sed-etiam-facilis.md +72 -0
- data/_posts/2020-02-01-amet-varius-aliquam.md +27 -0
- data/_posts/2020-02-03-cranky-polar-bears-play-hooky-from-fishing-school.md +35 -0
- data/_posts/2020-02-07-high-septon-or-should-we-all-just-go-marching-along.md +43 -0
- data/_posts/2020-02-14-stupid-computers-and-the-games-they-play-with-our-emotions.md +30 -0
- data/_posts/2020-02-28-look-at-my-great-tatoos-everybody.md +31 -0
- data/_projects/feugiat_valley.md +32 -0
- data/_projects/ipsum_flats.md +42 -0
- data/_projects/lorem_heights.md +36 -0
- data/_projects/tempus_hills.md +37 -0
- data/_samples/page-template.md +48 -0
- data/_samples/people-template.md +51 -0
- data/_samples/post-template.md +38 -0
- data/_samples/project-template.md +47 -0
- data/_sass/base/_page.scss +42 -0
- data/_sass/base/_reset.scss +70 -0
- data/_sass/base/_typography.scss +186 -0
- data/_sass/components/_actions.scss +57 -0
- data/_sass/components/_box.scss +20 -0
- data/_sass/components/_button.scss +79 -0
- data/_sass/components/_contact.scss +41 -0
- data/_sass/components/_features.scss +150 -0
- data/_sass/components/_form.scss +173 -0
- data/_sass/components/_icon.scss +27 -0
- data/_sass/components/_icons.scss +24 -0
- data/_sass/components/_image.scss +68 -0
- data/_sass/components/_list.scss +50 -0
- data/_sass/components/_mini-posts.scss +25 -0
- data/_sass/components/_pagination.scss +64 -0
- data/_sass/components/_posts.scss +173 -0
- data/_sass/components/_row.scss +25 -0
- data/_sass/components/_section.scss +39 -0
- data/_sass/components/_table.scss +75 -0
- data/_sass/layout/_banner.scss +69 -0
- data/_sass/layout/_footer.scss +12 -0
- data/_sass/layout/_header.scss +54 -0
- data/_sass/layout/_main.scss +67 -0
- data/_sass/layout/_menu.scss +92 -0
- data/_sass/layout/_sidebar.scss +217 -0
- data/_sass/layout/_wrapper.scss +7 -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 +61 -0
- data/assets/css/fontawesome-all.min.css +7 -0
- data/assets/css/fonts.css +140 -0
- data/assets/css/github.css +61 -0
- data/assets/css/main.css +2276 -0
- data/assets/css/user.css +640 -0
- data/assets/images/logo.png +0 -0
- data/assets/images/pic01-thumb.jpg +0 -0
- data/assets/images/pic01.jpg +0 -0
- data/assets/images/pic02.jpg +0 -0
- data/assets/images/pic03-thumb.jpg +0 -0
- data/assets/images/pic03.jpg +0 -0
- data/assets/images/pic04.jpg +0 -0
- data/assets/images/pic05-avatar.jpg +0 -0
- data/assets/images/pic05-thumb.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/placeholder.png +0 -0
- data/assets/js/breakpoints.min.js +2 -0
- data/assets/js/browser.min.js +2 -0
- data/assets/js/comments.js +189 -0
- data/assets/js/email-obfuscation.js +54 -0
- data/assets/js/jquery.min.js +2 -0
- data/assets/js/main.js +263 -0
- data/assets/js/util.js +592 -0
- data/assets/webfonts/OpenSans-Bold.eot +0 -0
- data/assets/webfonts/OpenSans-Bold.svg +21062 -0
- data/assets/webfonts/OpenSans-Bold.ttf +0 -0
- data/assets/webfonts/OpenSans-Bold.woff +0 -0
- data/assets/webfonts/OpenSans-BoldItalic.eot +0 -0
- data/assets/webfonts/OpenSans-BoldItalic.svg +21121 -0
- data/assets/webfonts/OpenSans-BoldItalic.ttf +0 -0
- data/assets/webfonts/OpenSans-BoldItalic.woff +0 -0
- data/assets/webfonts/OpenSans-Italic.eot +0 -0
- data/assets/webfonts/OpenSans-Italic.svg +21164 -0
- data/assets/webfonts/OpenSans-Italic.ttf +0 -0
- data/assets/webfonts/OpenSans-Italic.woff +0 -0
- data/assets/webfonts/OpenSans-Light.eot +0 -0
- data/assets/webfonts/OpenSans-Light.svg +21034 -0
- data/assets/webfonts/OpenSans-Light.ttf +0 -0
- data/assets/webfonts/OpenSans-Light.woff +0 -0
- data/assets/webfonts/OpenSans-LightItalic.eot +0 -0
- data/assets/webfonts/OpenSans-LightItalic.svg +21161 -0
- data/assets/webfonts/OpenSans-LightItalic.ttf +0 -0
- data/assets/webfonts/OpenSans-LightItalic.woff +0 -0
- data/assets/webfonts/OpenSans-Regular.eot +0 -0
- data/assets/webfonts/OpenSans-Regular.svg +21064 -0
- data/assets/webfonts/OpenSans-Regular.ttf +0 -0
- data/assets/webfonts/OpenSans-Regular.woff +0 -0
- data/assets/webfonts/OpenSans-SemiBold.eot +0 -0
- data/assets/webfonts/OpenSans-SemiBold.svg +21055 -0
- data/assets/webfonts/OpenSans-SemiBold.ttf +0 -0
- data/assets/webfonts/OpenSans-SemiBold.woff +0 -0
- data/assets/webfonts/OpenSans-SemiBoldItalic.eot +0 -0
- data/assets/webfonts/OpenSans-SemiBoldItalic.svg +21154 -0
- data/assets/webfonts/OpenSans-SemiBoldItalic.ttf +0 -0
- data/assets/webfonts/OpenSans-SemiBoldItalic.woff +0 -0
- data/assets/webfonts/RobotoSlab-Bold.eot +0 -0
- data/assets/webfonts/RobotoSlab-Bold.svg +334 -0
- data/assets/webfonts/RobotoSlab-Bold.ttf +0 -0
- data/assets/webfonts/RobotoSlab-Bold.woff +0 -0
- data/assets/webfonts/RobotoSlab-Bold.woff2 +0 -0
- data/assets/webfonts/RobotoSlab-Regular +0 -0
- data/assets/webfonts/RobotoSlab-Regular.svg +337 -0
- data/assets/webfonts/RobotoSlab-Regular.ttf +0 -0
- data/assets/webfonts/RobotoSlab-Regular.woff +0 -0
- data/assets/webfonts/RobotoSlab-Regular.woff2 +0 -0
- data/assets/webfonts/fa-brands-400.eot +0 -0
- data/assets/webfonts/fa-brands-400.svg +3633 -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 +803 -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 +5000 -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
- data/favicon-apple-touch-114.png +0 -0
- data/favicon-apple-touch-144.png +0 -0
- data/favicon.icns +0 -0
- data/favicon.ico +0 -0
- data/favicon.png +0 -0
- data/index.md +28 -0
- data/robots.txt +8 -0
- data/staticman.yml +109 -0
- metadata +347 -0
@@ -0,0 +1,39 @@
|
|
1
|
+
/* Section/Article */
|
2
|
+
|
3
|
+
section, article {
|
4
|
+
&.special {
|
5
|
+
text-align: center;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
|
9
|
+
header {
|
10
|
+
p {
|
11
|
+
font-family: _font(family-heading);
|
12
|
+
font-size: 1em;
|
13
|
+
font-weight: _font(weight-heading-alt);
|
14
|
+
letter-spacing: _font(kerning-heading);
|
15
|
+
margin-top: -0.5em;
|
16
|
+
text-transform: uppercase;
|
17
|
+
}
|
18
|
+
|
19
|
+
&.major {
|
20
|
+
> :last-child {
|
21
|
+
border-bottom: solid 3px _palette(accent);
|
22
|
+
display: inline-block;
|
23
|
+
margin: 0 0 _size(element-margin) 0;
|
24
|
+
padding: 0 0.75em 0.5em 0;
|
25
|
+
}
|
26
|
+
}
|
27
|
+
|
28
|
+
&.main {
|
29
|
+
p.tight {
|
30
|
+
font-family: _font(family);
|
31
|
+
margin: -2em 0 2em 0;
|
32
|
+
text-transform: none;
|
33
|
+
}
|
34
|
+
|
35
|
+
> :last-child {
|
36
|
+
margin: 0 0 (_size(element-margin) * 0.5) 0;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
}
|
@@ -0,0 +1,75 @@
|
|
1
|
+
/* Table */
|
2
|
+
|
3
|
+
.table-wrapper {
|
4
|
+
-webkit-overflow-scrolling: touch;
|
5
|
+
overflow-x: auto;
|
6
|
+
}
|
7
|
+
|
8
|
+
table {
|
9
|
+
margin: 0 0 _size(element-margin) 0;
|
10
|
+
width: 100%;
|
11
|
+
|
12
|
+
tbody {
|
13
|
+
tr {
|
14
|
+
border: solid 1px _palette(border);
|
15
|
+
border-left: 0;
|
16
|
+
border-right: 0;
|
17
|
+
|
18
|
+
&:nth-child(2n + 1) {
|
19
|
+
background-color: _palette(border-bg);
|
20
|
+
}
|
21
|
+
}
|
22
|
+
}
|
23
|
+
|
24
|
+
td {
|
25
|
+
padding: 0.75em 0.75em;
|
26
|
+
}
|
27
|
+
|
28
|
+
th {
|
29
|
+
color: _palette(fg-bold);
|
30
|
+
font-size: 0.9em;
|
31
|
+
font-weight: _font(weight-bold);
|
32
|
+
padding: 0 0.75em 0.75em 0.75em;
|
33
|
+
text-align: left;
|
34
|
+
}
|
35
|
+
|
36
|
+
thead {
|
37
|
+
border-bottom: solid 2px _palette(border);
|
38
|
+
}
|
39
|
+
|
40
|
+
tfoot {
|
41
|
+
border-top: solid 2px _palette(border);
|
42
|
+
}
|
43
|
+
|
44
|
+
&.alt {
|
45
|
+
border-collapse: separate;
|
46
|
+
|
47
|
+
tbody {
|
48
|
+
tr {
|
49
|
+
td {
|
50
|
+
border: solid 1px _palette(border);
|
51
|
+
border-left-width: 0;
|
52
|
+
border-top-width: 0;
|
53
|
+
|
54
|
+
&:first-child {
|
55
|
+
border-left-width: 1px;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
&:first-child {
|
60
|
+
td {
|
61
|
+
border-top-width: 1px;
|
62
|
+
}
|
63
|
+
}
|
64
|
+
}
|
65
|
+
}
|
66
|
+
|
67
|
+
thead {
|
68
|
+
border-bottom: 0;
|
69
|
+
}
|
70
|
+
|
71
|
+
tfoot {
|
72
|
+
border-top: 0;
|
73
|
+
}
|
74
|
+
}
|
75
|
+
}
|
@@ -0,0 +1,69 @@
|
|
1
|
+
/* Banner */
|
2
|
+
|
3
|
+
#banner {
|
4
|
+
@include padding(6em, 0);
|
5
|
+
@include vendor('display', 'flex');
|
6
|
+
|
7
|
+
h1 {
|
8
|
+
margin-top: -0.125em;
|
9
|
+
}
|
10
|
+
|
11
|
+
.content {
|
12
|
+
@include vendor('flex-grow', '1');
|
13
|
+
@include vendor('flex-shrink', '1');
|
14
|
+
width: 50%;
|
15
|
+
}
|
16
|
+
|
17
|
+
.image {
|
18
|
+
@include vendor('flex-grow', '0');
|
19
|
+
@include vendor('flex-shrink', '0');
|
20
|
+
display: block;
|
21
|
+
margin: 0 0 _size(element-margin) (_size(element-margin) * 2);
|
22
|
+
width: 50%;
|
23
|
+
|
24
|
+
img {
|
25
|
+
height: 100%;
|
26
|
+
-moz-object-fit: cover;
|
27
|
+
-webkit-object-fit: cover;
|
28
|
+
-ms-object-fit: cover;
|
29
|
+
object-fit: cover;
|
30
|
+
-moz-object-position: center;
|
31
|
+
-webkit-object-position: center;
|
32
|
+
-ms-object-position: center;
|
33
|
+
object-position: center;
|
34
|
+
width: 100%;
|
35
|
+
}
|
36
|
+
}
|
37
|
+
|
38
|
+
@include orientation(portrait) {
|
39
|
+
@include vendor('flex-direction', 'column-reverse');
|
40
|
+
|
41
|
+
h1 {
|
42
|
+
br {
|
43
|
+
display: none;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.content {
|
48
|
+
@include vendor('flex-grow', '0');
|
49
|
+
@include vendor('flex-shrink', '0');
|
50
|
+
width: 100%;
|
51
|
+
}
|
52
|
+
|
53
|
+
.image {
|
54
|
+
@include vendor('flex-grow', '0');
|
55
|
+
@include vendor('flex-shrink', '0');
|
56
|
+
margin: 0 0 (_size(element-margin) * 2) 0;
|
57
|
+
height: 25em;
|
58
|
+
max-height: 50vh;
|
59
|
+
min-height: 18em;
|
60
|
+
width: 100%;
|
61
|
+
}
|
62
|
+
|
63
|
+
@include breakpoint('<=xsmall') {
|
64
|
+
.image {
|
65
|
+
max-height: 35vh;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
}
|
69
|
+
}
|
@@ -0,0 +1,54 @@
|
|
1
|
+
/* Header */
|
2
|
+
|
3
|
+
#header {
|
4
|
+
@include vendor('display', 'flex');
|
5
|
+
border-bottom: solid 5px _palette(accent);
|
6
|
+
padding: 6em 0 1em 0;
|
7
|
+
position: relative;
|
8
|
+
|
9
|
+
> * {
|
10
|
+
@include vendor('flex', '1');
|
11
|
+
margin-bottom: 0;
|
12
|
+
}
|
13
|
+
|
14
|
+
+ .dateline {
|
15
|
+
margin: 0.75em 0 -2.4em 0;
|
16
|
+
}
|
17
|
+
+ .post-nav {
|
18
|
+
@include vendor('display', 'flex');
|
19
|
+
justify-content: space-between;
|
20
|
+
margin: 0.5em 0 -2.65em 0;
|
21
|
+
}
|
22
|
+
|
23
|
+
.logo {
|
24
|
+
border-bottom: 0;
|
25
|
+
color: inherit;
|
26
|
+
font-family: _font(family-heading);
|
27
|
+
font-size: 1.125em;
|
28
|
+
}
|
29
|
+
|
30
|
+
.icons {
|
31
|
+
text-align: right;
|
32
|
+
}
|
33
|
+
|
34
|
+
@include breakpoint('<=xlarge') {
|
35
|
+
padding-top: 5em;
|
36
|
+
}
|
37
|
+
|
38
|
+
@include breakpoint('<=small') {
|
39
|
+
padding-top: 6.5em;
|
40
|
+
|
41
|
+
.logo {
|
42
|
+
font-size: 1.25em;
|
43
|
+
margin: 0;
|
44
|
+
}
|
45
|
+
|
46
|
+
.icons {
|
47
|
+
height: (6.25em / 1.25);
|
48
|
+
line-height: (6.25em / 1.25);
|
49
|
+
position: absolute;
|
50
|
+
right: (-0.625em / 1.25);
|
51
|
+
top: 0;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
}
|
@@ -0,0 +1,67 @@
|
|
1
|
+
/* Main */
|
2
|
+
|
3
|
+
#main {
|
4
|
+
@include vendor('flex-grow', '1');
|
5
|
+
@include vendor('flex-shrink', '1');
|
6
|
+
width: 100%;
|
7
|
+
|
8
|
+
> .inner {
|
9
|
+
@include padding(0, 5em);
|
10
|
+
margin: 0 auto;
|
11
|
+
max-width: 110em;
|
12
|
+
|
13
|
+
> section {
|
14
|
+
@include padding(4em, 0);
|
15
|
+
border-top: solid 2px _palette(border);
|
16
|
+
|
17
|
+
&:first-of-type {
|
18
|
+
border-top: 0 !important;
|
19
|
+
}
|
20
|
+
}
|
21
|
+
}
|
22
|
+
|
23
|
+
@include breakpoint('<=xlarge') {
|
24
|
+
> .inner {
|
25
|
+
@include padding(0, 4em);
|
26
|
+
|
27
|
+
> section {
|
28
|
+
@include padding(3em, 0);
|
29
|
+
}
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
@include breakpoint('<=large') {
|
34
|
+
> .inner {
|
35
|
+
@include padding(0, 3em);
|
36
|
+
|
37
|
+
> section {
|
38
|
+
@include padding(3em, 0);
|
39
|
+
}
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
@include breakpoint('<=small') {
|
44
|
+
> .inner {
|
45
|
+
@include padding(0, 2em);
|
46
|
+
|
47
|
+
> section {
|
48
|
+
@include padding(2em, 0);
|
49
|
+
}
|
50
|
+
}
|
51
|
+
}
|
52
|
+
}
|
53
|
+
|
54
|
+
// #main > .inner { padding: 0 5em 0.1em 5em ; }
|
55
|
+
// #main > .inner > section { padding: 4em 0 3em 0 ; }
|
56
|
+
// @media screen and (max-width: 1680px) {
|
57
|
+
// #main > .inner { padding: 0 4em 0.1em 4em ; }
|
58
|
+
// #main > .inner > section { padding: 3em 0 2em 0 ; }
|
59
|
+
// }
|
60
|
+
// @media screen and (max-width: 1280px) {
|
61
|
+
// #main > .inner { padding: 0 3em 0.1em 3em ; }
|
62
|
+
// #main > .inner > section { padding: 3em 0 2em 0 ; }
|
63
|
+
// }
|
64
|
+
// @media screen and (max-width: 736px) {
|
65
|
+
// #main > .inner { padding: 0 2em 0.1em 2em ; }
|
66
|
+
// #main > .inner > section { padding: 2em 0 1em 0 ; }
|
67
|
+
// }
|
@@ -0,0 +1,92 @@
|
|
1
|
+
/* Menu */
|
2
|
+
|
3
|
+
#menu {
|
4
|
+
ul {
|
5
|
+
@include vendor('user-select', 'none');
|
6
|
+
color: _palette(fg-bold);
|
7
|
+
font-family: _font(family-heading);
|
8
|
+
font-weight: _font(weight-heading-alt);
|
9
|
+
letter-spacing: _font(kerning-heading);
|
10
|
+
list-style: none;
|
11
|
+
margin-bottom: 0;
|
12
|
+
padding: 0;
|
13
|
+
text-transform: uppercase;
|
14
|
+
|
15
|
+
a, span {
|
16
|
+
border-bottom: 0;
|
17
|
+
color: inherit;
|
18
|
+
cursor: pointer;
|
19
|
+
display: block;
|
20
|
+
font-size: 0.9em;
|
21
|
+
padding: 0.625em 0;
|
22
|
+
|
23
|
+
&:hover {
|
24
|
+
color: _palette(accent);
|
25
|
+
}
|
26
|
+
|
27
|
+
&.opener {
|
28
|
+
@include vendor('transition', 'color #{_duration(transition)} ease-in-out');
|
29
|
+
@include icon(false, solid);
|
30
|
+
-webkit-tap-highlight-color: rgba(255,255,255,0);
|
31
|
+
position: relative;
|
32
|
+
|
33
|
+
&:before {
|
34
|
+
@include vendor('transition', (
|
35
|
+
'color #{_duration(transition)} ease-in-out',
|
36
|
+
'transform #{_duration(transition)} ease-in-out'
|
37
|
+
));
|
38
|
+
color: _palette(fg-light);
|
39
|
+
content: '\f078';
|
40
|
+
position: absolute;
|
41
|
+
right: 0;
|
42
|
+
}
|
43
|
+
|
44
|
+
&:hover {
|
45
|
+
&:before {
|
46
|
+
color: _palette(accent);
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
&.active {
|
51
|
+
& + ul {
|
52
|
+
display: block;
|
53
|
+
}
|
54
|
+
|
55
|
+
&:before {
|
56
|
+
@include vendor('transform', 'rotate(-180deg)');
|
57
|
+
}
|
58
|
+
}
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
|
63
|
+
> ul {
|
64
|
+
> li {
|
65
|
+
border-top: solid 1px _palette(border);
|
66
|
+
margin: 0.5em 0 0 0;
|
67
|
+
padding: 0.5em 0 0 0;
|
68
|
+
|
69
|
+
> ul {
|
70
|
+
color: _palette(fg-light);
|
71
|
+
display: none;
|
72
|
+
margin: 0.5em 0 1.5em 0;
|
73
|
+
padding-left: 1em;
|
74
|
+
|
75
|
+
a, span {
|
76
|
+
font-size: 0.8em;
|
77
|
+
}
|
78
|
+
|
79
|
+
> li {
|
80
|
+
margin: 0.125em 0 0 0;
|
81
|
+
padding: 0.125em 0 0 0;
|
82
|
+
}
|
83
|
+
}
|
84
|
+
|
85
|
+
&:first-child {
|
86
|
+
border-top: 0;
|
87
|
+
margin-top: 0;
|
88
|
+
padding-top: 0;
|
89
|
+
}
|
90
|
+
}
|
91
|
+
}
|
92
|
+
}
|
@@ -0,0 +1,217 @@
|
|
1
|
+
/* Sidebar */
|
2
|
+
|
3
|
+
#search {
|
4
|
+
form {
|
5
|
+
@include icon(false, solid);
|
6
|
+
position: relative;
|
7
|
+
|
8
|
+
&:before {
|
9
|
+
@include vendor('transform', 'scaleX(-1)');
|
10
|
+
color: _palette(fg);
|
11
|
+
content: '\f002';
|
12
|
+
cursor: default;
|
13
|
+
display: block;
|
14
|
+
font-size: 1.5em;
|
15
|
+
height: _size(element-height) / 1.375;
|
16
|
+
line-height: _size(element-height) / 1.375;
|
17
|
+
opacity: 0.325;
|
18
|
+
position: absolute;
|
19
|
+
right: 0;
|
20
|
+
text-align: center;
|
21
|
+
top: 0;
|
22
|
+
width: _size(element-height) / 1.375;
|
23
|
+
}
|
24
|
+
|
25
|
+
input[type="text"] {
|
26
|
+
padding-right: _size(element-height);
|
27
|
+
}
|
28
|
+
}
|
29
|
+
}
|
30
|
+
|
31
|
+
#sidebar {
|
32
|
+
$pad: 2em / 0.9;
|
33
|
+
|
34
|
+
@include vendor('flex-grow', '0');
|
35
|
+
@include vendor('flex-shrink', '0');
|
36
|
+
@include vendor('transition', (
|
37
|
+
'margin-left 0.5s ease',
|
38
|
+
'box-shadow 0.5s ease'
|
39
|
+
));
|
40
|
+
background-color: _palette(bg-alt);
|
41
|
+
font-size: 0.9em;
|
42
|
+
position: relative;
|
43
|
+
width: _size(sidebar-width);
|
44
|
+
|
45
|
+
h2 {
|
46
|
+
font-size: (1.25em / 0.9);
|
47
|
+
}
|
48
|
+
|
49
|
+
> .inner {
|
50
|
+
@include padding($pad, $pad, (0, 0, $pad, 0));
|
51
|
+
position: relative;
|
52
|
+
width: _size(sidebar-width);
|
53
|
+
|
54
|
+
> * {
|
55
|
+
border-bottom: solid 2px _palette(border);
|
56
|
+
margin: 0 0 (_size(element-margin) * 1.75) 0;
|
57
|
+
padding: 0 0 (_size(element-margin) * 1.75) 0;
|
58
|
+
|
59
|
+
> :last-child {
|
60
|
+
margin-bottom: 0;
|
61
|
+
}
|
62
|
+
|
63
|
+
&:last-child {
|
64
|
+
border-bottom: 0;
|
65
|
+
margin-bottom: 0;
|
66
|
+
padding-bottom: 0;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
> .alt {
|
71
|
+
background-color: darken(_palette(bg-alt), 2);
|
72
|
+
border-bottom: 0;
|
73
|
+
margin: ($pad * -1) 0 ($pad * 2) ($pad * -1);
|
74
|
+
padding: $pad;
|
75
|
+
width: calc(100% + #{$pad * 2});
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
.toggle {
|
80
|
+
@include icon(false, solid);
|
81
|
+
@include vendor('transition', 'left 0.5s ease');
|
82
|
+
-webkit-tap-highlight-color: rgba(255,255,255,0);
|
83
|
+
border: 0;
|
84
|
+
display: block;
|
85
|
+
height: 7.5em;
|
86
|
+
left: _size(sidebar-width);
|
87
|
+
line-height: 7.5em;
|
88
|
+
outline: 0;
|
89
|
+
overflow: hidden;
|
90
|
+
position: absolute;
|
91
|
+
text-align: center;
|
92
|
+
text-indent: -15em;
|
93
|
+
white-space: nowrap;
|
94
|
+
top: 0;
|
95
|
+
width: 6em;
|
96
|
+
z-index: _misc(z-index-base);
|
97
|
+
|
98
|
+
&:before {
|
99
|
+
content: '\f0c9';
|
100
|
+
font-size: 2rem;
|
101
|
+
height: inherit;
|
102
|
+
left: 0;
|
103
|
+
line-height: inherit;
|
104
|
+
position: absolute;
|
105
|
+
text-indent: 0;
|
106
|
+
top: 0;
|
107
|
+
width: inherit;
|
108
|
+
}
|
109
|
+
}
|
110
|
+
|
111
|
+
&.inactive {
|
112
|
+
margin-left: (_size(sidebar-width) * -1);
|
113
|
+
}
|
114
|
+
|
115
|
+
@include breakpoint('<=medium') {
|
116
|
+
$pad: 1.5em / 0.9;
|
117
|
+
|
118
|
+
width: _size(sidebar-width-alt);
|
119
|
+
|
120
|
+
> .inner {
|
121
|
+
@include padding($pad, $pad, (0, 0, $pad, 0));
|
122
|
+
width: _size(sidebar-width-alt);
|
123
|
+
|
124
|
+
> .alt {
|
125
|
+
margin: ($pad * -1) 0 ($pad * 2) ($pad * -1);
|
126
|
+
padding: $pad;
|
127
|
+
width: calc(100% + #{$pad * 2});
|
128
|
+
}
|
129
|
+
}
|
130
|
+
|
131
|
+
.toggle {
|
132
|
+
height: 6.25em;
|
133
|
+
left: _size(sidebar-width-alt);
|
134
|
+
line-height: 6.25em;
|
135
|
+
text-indent: 5em;
|
136
|
+
width: 5em;
|
137
|
+
|
138
|
+
&:before {
|
139
|
+
font-size: 1.5rem;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
&.inactive {
|
144
|
+
margin-left: (_size(sidebar-width-alt) * -1);
|
145
|
+
}
|
146
|
+
}
|
147
|
+
|
148
|
+
@include breakpoint('<=small') {
|
149
|
+
box-shadow: 0 0 5em 0 rgba(0, 0, 0, 0.175);
|
150
|
+
height: 100%;
|
151
|
+
left: 0;
|
152
|
+
position: fixed;
|
153
|
+
top: 0;
|
154
|
+
z-index: _misc(z-index-base);
|
155
|
+
|
156
|
+
&.inactive {
|
157
|
+
box-shadow: none;
|
158
|
+
}
|
159
|
+
|
160
|
+
> .inner {
|
161
|
+
-webkit-overflow-scrolling: touch;
|
162
|
+
height: 100%;
|
163
|
+
left: 0;
|
164
|
+
overflow-x: hidden;
|
165
|
+
overflow-y: auto;
|
166
|
+
position: absolute;
|
167
|
+
top: 0;
|
168
|
+
|
169
|
+
&:after {
|
170
|
+
content: '';
|
171
|
+
display: block;
|
172
|
+
height: 4em;
|
173
|
+
width: 100%;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
|
177
|
+
.toggle {
|
178
|
+
text-indent: 6em;
|
179
|
+
width: 6em;
|
180
|
+
|
181
|
+
&:before {
|
182
|
+
font-size: 1.5rem;
|
183
|
+
margin-left: (-0.875em / 2);
|
184
|
+
}
|
185
|
+
}
|
186
|
+
|
187
|
+
body.is-preload & {
|
188
|
+
display: none;
|
189
|
+
}
|
190
|
+
}
|
191
|
+
|
192
|
+
@include breakpoint('<=xsmall') {
|
193
|
+
.toggle {
|
194
|
+
text-indent: 7.25em;
|
195
|
+
width: 7.25em;
|
196
|
+
|
197
|
+
&:before {
|
198
|
+
color: _palette(fg);
|
199
|
+
margin-left: (-0.125em / 2);
|
200
|
+
margin-top: (-0.5em / 2);
|
201
|
+
font-size: 1.1rem;
|
202
|
+
z-index: 1;
|
203
|
+
}
|
204
|
+
|
205
|
+
&:after {
|
206
|
+
background: transparentize(lighten(_palette(fg), 35), 0.25);
|
207
|
+
border-radius: _size(border-radius);
|
208
|
+
content: '';
|
209
|
+
height: 3.5em;
|
210
|
+
left: 1em;
|
211
|
+
position: absolute;
|
212
|
+
top: 1em;
|
213
|
+
width: 5em;
|
214
|
+
}
|
215
|
+
}
|
216
|
+
}
|
217
|
+
}
|