jekyll-theme-hydejack 6.6.1 → 7.0.0.pre.beta.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +617 -17
- data/README.md +18 -11
- data/_includes/about.html +3 -2
- data/_includes/author.html +18 -11
- data/_includes/avatar-tag.html +4 -0
- data/_includes/body.html +21 -31
- data/_includes/body/menu.html +11 -0
- data/_includes/body/scripts.html +18 -0
- data/_includes/comments.html +6 -4
- data/_includes/footer.html +3 -5
- data/_includes/head.html +4 -142
- data/_includes/head/links.html +25 -0
- data/_includes/head/meta.html +30 -0
- data/_includes/head/scripts.html +44 -0
- data/_includes/head/seo-fallback.html +13 -0
- data/_includes/head/seo-tag.html +4 -0
- data/_includes/head/styles.html +24 -0
- data/_includes/header.txt +1 -1
- data/_includes/link.html +9 -2
- data/_includes/message.html +12 -7
- data/_includes/my-scripts.html +14 -5
- data/_includes/nav.html +20 -13
- data/_includes/page-style.html +33 -3
- data/_includes/pagination.html +8 -12
- data/_includes/post-list-item.html +4 -6
- data/_includes/post.html +20 -13
- data/_includes/related-posts.html +23 -0
- data/_includes/scripts/load-disqus.js +1 -2
- data/_includes/scripts/load-disqus.min.js +1 -1
- data/_includes/scripts/load-js-deferred.js +47 -43
- data/_includes/scripts/load-js-deferred.min.js +1 -1
- data/_includes/sidebar.html +25 -14
- data/_includes/social-list-item.html +1 -1
- data/_includes/social.html +16 -10
- data/_includes/srcset-img.html +5 -5
- data/_includes/styles/inline.scss +31 -33
- data/_includes/styles/style.scss +69 -55
- data/_includes/tag-list.html +1 -1
- data/_includes/templates.html +32 -0
- data/_layouts/about.html +10 -3
- data/_layouts/base.html +17 -10
- data/_layouts/compress.html +3 -11
- data/_layouts/default.html +7 -5
- data/_layouts/home.html +7 -5
- data/_layouts/list.html +10 -4
- data/_layouts/not-found.html +14 -5
- data/_layouts/page.html +1 -1
- data/_layouts/post.html +12 -2
- data/_layouts/redirect.html +1 -1
- data/_sass/_mixins.scss +9 -3
- data/_sass/_reboot-mod.scss +286 -0
- data/_sass/_spinner.scss +23 -80
- data/_sass/_syntax.scss +1 -1
- data/_sass/_variables.scss +9 -11
- data/_sass/hydejack/__inline/_avatar.scss +27 -0
- data/_sass/hydejack/__inline/_base.scss +99 -0
- data/_sass/hydejack/__inline/_break-layout.scss +12 -0
- data/_sass/hydejack/__inline/_content.scss +43 -0
- data/_sass/hydejack/__inline/_footer.scss +12 -0
- data/_sass/hydejack/__inline/_katex.scss +12 -0
- data/_sass/hydejack/__inline/_mark-external.scss +36 -0
- data/_sass/hydejack/__inline/_menu.scss +50 -0
- data/_sass/hydejack/__inline/_sidebar.scss +129 -0
- data/_sass/hydejack/__inline/_social.scss +42 -0
- data/_sass/hydejack/__link/_avatar.scss +17 -0
- data/_sass/hydejack/__link/_base.scss +93 -0
- data/_sass/hydejack/__link/_break-layout.scss +69 -0
- data/_sass/hydejack/__link/_content.scss +12 -0
- data/_sass/hydejack/__link/_footer.scss +26 -0
- data/_sass/hydejack/__link/_katex.scss +45 -0
- data/_sass/hydejack/__link/_mark-external.scss +36 -0
- data/_sass/hydejack/__link/_menu.scss +37 -0
- data/_sass/hydejack/__link/_sidebar.scss +156 -0
- data/_sass/hydejack/__link/_social.scss +12 -0
- data/_sass/hydejack/_avatar.pre.scss +18 -0
- data/_sass/hydejack/_base.pre.scss +133 -0
- data/_sass/hydejack/_break-layout.pre.scss +58 -0
- data/_sass/hydejack/{_content-inline.scss → _content.pre.scss} +5 -5
- data/_sass/hydejack/{_footer-inline.scss → _footer.pre.scss} +2 -5
- data/_sass/hydejack/{_katex.scss → _katex.pre.scss} +6 -3
- data/_sass/hydejack/_mark-external.pre.scss +25 -0
- data/_sass/hydejack/_menu.pre.scss +53 -0
- data/_sass/hydejack/_sidebar.pre.scss +188 -0
- data/_sass/hydejack/{_social-inline.scss → _social.pre.scss} +6 -11
- data/_sass/pooleparty/{_base-inline.scss → __inline/_base.scss} +15 -17
- data/_sass/pooleparty/__inline/_code.scss +17 -0
- data/_sass/pooleparty/__inline/_footer.scss +12 -0
- data/_sass/pooleparty/__inline/_footnotes.scss +16 -0
- data/_sass/pooleparty/__inline/_message.scss +26 -0
- data/_sass/pooleparty/__inline/_pagination.scss +17 -0
- data/_sass/pooleparty/__inline/_posts.scss +41 -0
- data/_sass/pooleparty/__inline/_related.scss +25 -0
- data/_sass/pooleparty/__inline/_table.scss +39 -0
- data/_sass/pooleparty/__inline/_type.scss +83 -0
- data/_sass/pooleparty/__link/_base.scss +26 -0
- data/_sass/pooleparty/__link/_code.scss +54 -0
- data/_sass/pooleparty/__link/_footer.scss +12 -0
- data/_sass/pooleparty/__link/_footnotes.scss +57 -0
- data/_sass/pooleparty/__link/_message.scss +17 -0
- data/_sass/pooleparty/__link/_pagination.scss +78 -0
- data/_sass/pooleparty/__link/_posts.scss +30 -0
- data/_sass/pooleparty/__link/_related.scss +14 -0
- data/_sass/pooleparty/{_table.scss → __link/_table.scss} +71 -46
- data/_sass/pooleparty/__link/_type.scss +144 -0
- data/_sass/pooleparty/_base.pre.scss +54 -0
- data/_sass/pooleparty/_code.pre.scss +43 -0
- data/_sass/pooleparty/_footer.pre.scss +1 -0
- data/_sass/pooleparty/{_footnotes.scss → _footnotes.pre.scss} +17 -4
- data/_sass/pooleparty/{_message-inline.scss → _message.pre.scss} +2 -0
- data/_sass/pooleparty/{_pagination.scss → _pagination.pre.scss} +7 -6
- data/_sass/pooleparty/{_posts-inline.scss → _posts.pre.scss} +16 -15
- data/_sass/pooleparty/{_related-inline.scss → _related.pre.scss} +5 -6
- data/_sass/pooleparty/_table.pre.scss +161 -0
- data/_sass/pooleparty/_type.pre.scss +198 -0
- data/assets/icomoon/fonts/icomoon.eot +0 -0
- data/assets/icomoon/fonts/icomoon.svg +9 -3
- data/assets/icomoon/fonts/icomoon.ttf +0 -0
- data/assets/icomoon/fonts/icomoon.woff +0 -0
- data/assets/icomoon/selection.json +250 -76
- data/assets/icomoon/style.css +26 -8
- data/assets/icons/apple-touch-icon.png +0 -0
- data/assets/icons/favicon.ico +0 -0
- data/assets/icons/icon.png +0 -0
- data/assets/icons/icon@0,25x.png +0 -0
- data/assets/icons/icon@0,5x.png +0 -0
- data/assets/icons/icon@0,75x.png +0 -0
- data/assets/icons/icon@2x.png +0 -0
- data/assets/icons/icon@3x.png +0 -0
- data/assets/icons/tile-large.png +0 -0
- data/assets/icons/tile-medium.png +0 -0
- data/assets/icons/tile-small.png +0 -0
- data/assets/icons/tile-wide.png +0 -0
- data/assets/ieconfig.xml +15 -0
- data/assets/img/sidebar-bg.jpg +0 -0
- data/assets/js/hydejack.js +2 -2
- data/assets/manifest.json +45 -0
- data/assets/version.json +1 -1
- data/licenses/Apache-2.0.md +55 -47
- data/licenses/GPL-3.0.md +623 -0
- data/licenses/MIT.md +1 -0
- data/licenses/PRO.md +142 -0
- metadata +103 -99
- data/_includes/related.html +0 -41
- data/_includes/scripts.html +0 -17
- data/_sass/hydejack/_base-inline.scss +0 -143
- data/_sass/hydejack/_base.scss +0 -143
- data/_sass/hydejack/_drawer-inline.scss +0 -19
- data/_sass/hydejack/_drawer.scss +0 -19
- data/_sass/hydejack/_me-inline.scss +0 -24
- data/_sass/hydejack/_menu-inline.scss +0 -56
- data/_sass/hydejack/_menu.scss +0 -56
- data/_sass/hydejack/_sidebar-inline.scss +0 -118
- data/_sass/hydejack/_sidebar.scss +0 -115
- data/_sass/hydejack/_social.scss +0 -36
- data/_sass/hydejack/_toc.scss +0 -2
- data/_sass/pooleparty/_base.scss +0 -60
- data/_sass/pooleparty/_code.scss +0 -82
- data/_sass/pooleparty/_footer-inline.scss +0 -3
- data/_sass/pooleparty/_posts.scss +0 -41
- data/_sass/pooleparty/_table-inline.scss +0 -130
- data/_sass/pooleparty/_type-inline.scss +0 -124
- data/_sass/pooleparty/_type.scss +0 -124
- data/assets/icomoon/Read Me.txt +0 -7
- data/assets/icomoon/demo-files/demo.css +0 -152
- data/assets/icomoon/demo-files/demo.js +0 -30
- data/assets/icomoon/demo.html +0 -1206
- data/assets/img/nap.jpg +0 -0
- data/assets/img/projects/hyde-v1.jpg +0 -0
- data/assets/img/projects/hyde-v1@0,25x.jpg +0 -0
- data/assets/img/projects/hyde-v1@0,5x.jpg +0 -0
- data/assets/img/projects/hyde-v2.jpg +0 -0
- data/assets/img/projects/hyde-v2@0,25x.jpg +0 -0
- data/assets/img/projects/hyde-v2@0,5x.jpg +0 -0
- data/licenses/PRO-license.md +0 -147
data/_sass/_syntax.scss
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
*/
|
5
5
|
|
6
6
|
.highlight .c { color: #999988; font-style: italic; }
|
7
|
-
.highlight .err { color: #a61717; background-color: #e3d2d2; }
|
7
|
+
// .highlight .err { color: #a61717; background-color: #e3d2d2; }
|
8
8
|
.highlight .k { font-weight: bold; }
|
9
9
|
.highlight .o { font-weight: bold; }
|
10
10
|
.highlight .cm { color: #999988; font-style: italic; }
|
data/_sass/_variables.scss
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
$gray: #
|
2
|
-
$gray-bg:
|
3
|
-
$gray-text: #
|
1
|
+
$gray: #888;
|
2
|
+
$gray-bg: rgba(0,0,0,.025);
|
3
|
+
$gray-text: #666;
|
4
4
|
|
5
5
|
$root-font-size: 16px;
|
6
6
|
$root-font-size-medium: 17px;
|
@@ -10,18 +10,16 @@ $root-line-height: 1.75;
|
|
10
10
|
$body-color: #333;
|
11
11
|
$body-bg: #fff;
|
12
12
|
|
13
|
-
$border-color: #
|
14
|
-
$border-color-light: #eee;
|
13
|
+
$border-color: #eee;
|
15
14
|
|
16
15
|
$code-font-family: Menlo, Monaco, Consolas, monospace;
|
17
16
|
$code-color: inherit;
|
17
|
+
$code-bg: $gray-bg;
|
18
18
|
|
19
|
-
$break-point-1:
|
19
|
+
$break-point-1: 42em;
|
20
20
|
$break-point-2: 54em;
|
21
|
-
$break-point-3:
|
21
|
+
$break-point-3: 64em;
|
22
22
|
$break-point-4: 72em;
|
23
|
-
$break-point-5:
|
24
|
-
$break-point-dynamic:
|
23
|
+
$break-point-5: 90em;
|
24
|
+
$break-point-dynamic: 98.5em;
|
25
25
|
$break-point-font-large: 125em;
|
26
|
-
|
27
|
-
$dynamic-width: calc(50% - 28rem);
|
@@ -0,0 +1,27 @@
|
|
1
|
+
/*
|
2
|
+
* THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
|
3
|
+
*
|
4
|
+
* To change the contents of this file,
|
5
|
+
* edit `_sass/hydejack/_avatar.pre.scss`
|
6
|
+
* and run `npm run build:css`.
|
7
|
+
*
|
8
|
+
* During development you can run `npm run watch:css`
|
9
|
+
* to continuosly rebuild this file.
|
10
|
+
*/
|
11
|
+
|
12
|
+
.avatar {
|
13
|
+
|
14
|
+
float: right;
|
15
|
+
width: 6.5rem;
|
16
|
+
height: 6.5rem;
|
17
|
+
margin: 0 0 .5rem 1rem;
|
18
|
+
border-radius: 100%;
|
19
|
+
|
20
|
+
// position: relative;
|
21
|
+
// z-index: 1;
|
22
|
+
@media screen and (min-width: $break-point-1) {
|
23
|
+
width: 7rem;
|
24
|
+
height: 7rem;
|
25
|
+
}
|
26
|
+
|
27
|
+
}
|
@@ -0,0 +1,99 @@
|
|
1
|
+
/*
|
2
|
+
* THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
|
3
|
+
*
|
4
|
+
* To change the contents of this file,
|
5
|
+
* edit `_sass/hydejack/_base.pre.scss`
|
6
|
+
* and run `npm run build:css`.
|
7
|
+
*
|
8
|
+
* During development you can run `npm run watch:css`
|
9
|
+
* to continuosly rebuild this file.
|
10
|
+
*/
|
11
|
+
|
12
|
+
/*
|
13
|
+
* Global resets
|
14
|
+
*
|
15
|
+
* Update the foundational and global aspects of the page.
|
16
|
+
*/
|
17
|
+
|
18
|
+
|
19
|
+
|
20
|
+
|
21
|
+
@media screen {
|
22
|
+
body::before {
|
23
|
+
content: '';
|
24
|
+
width: .5rem;
|
25
|
+
background: $border-color;
|
26
|
+
position: absolute;
|
27
|
+
left: 0;
|
28
|
+
top: 0;
|
29
|
+
bottom: 0;
|
30
|
+
}
|
31
|
+
}
|
32
|
+
|
33
|
+
html {
|
34
|
+
@media screen and (min-width: $break-point-1) {
|
35
|
+
font-size: $root-font-size-medium;
|
36
|
+
}
|
37
|
+
|
38
|
+
@media screen and (min-width: $break-point-font-large) {
|
39
|
+
font-size: $root-font-size-large;
|
40
|
+
}
|
41
|
+
}
|
42
|
+
|
43
|
+
|
44
|
+
// @media print { html { font-size: $root-font-size; } }
|
45
|
+
// Link styles
|
46
|
+
a, .a {
|
47
|
+
position: relative;
|
48
|
+
padding-bottom: .15rem;
|
49
|
+
border-bottom: 1px solid;
|
50
|
+
// transition: color 500ms, border-color 250ms;
|
51
|
+
|
52
|
+
}
|
53
|
+
|
54
|
+
// .author { margin-top: 3rem; }
|
55
|
+
.img {
|
56
|
+
overflow: hidden;
|
57
|
+
background-color: $gray-bg;
|
58
|
+
|
59
|
+
|
60
|
+
img {
|
61
|
+
margin: 0;
|
62
|
+
width: 100%;
|
63
|
+
height: 100%;
|
64
|
+
// object-fit: cover;
|
65
|
+
// object-position: center;
|
66
|
+
}
|
67
|
+
}
|
68
|
+
|
69
|
+
|
70
|
+
// Fade in animation
|
71
|
+
.fade-in {
|
72
|
+
animation-duration: 500ms;
|
73
|
+
animation-name: fade-in;
|
74
|
+
animation-fill-mode: forwards;
|
75
|
+
}
|
76
|
+
|
77
|
+
@keyframes fade-in {
|
78
|
+
from { transform: translateY(-3rem); opacity: 0; }
|
79
|
+
50% { transform: translateY(-3rem); opacity: 0; }
|
80
|
+
to { transform: translateY(0); opacity: 1; }
|
81
|
+
}
|
82
|
+
|
83
|
+
// Utility classes
|
84
|
+
.fl { float: left; }
|
85
|
+
.fr { float: right; }
|
86
|
+
.mb05 { margin-bottom: .5rem }
|
87
|
+
.mb4 { margin-bottom: 4rem }
|
88
|
+
.mb6 { margin-bottom: 6rem }
|
89
|
+
.mt0 { margin-top: 0 }
|
90
|
+
.mt3 { margin-top: 3rem }
|
91
|
+
.pb0 { padding-bottom: 0 }
|
92
|
+
|
93
|
+
|
94
|
+
.clearfix, .clearafter::after { @include clearfix(); } // both
|
95
|
+
|
96
|
+
.sr-only {
|
97
|
+
display: none;
|
98
|
+
|
99
|
+
}
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
|
3
|
+
*
|
4
|
+
* To change the contents of this file,
|
5
|
+
* edit `_sass/hydejack/_break-layout.pre.scss`
|
6
|
+
* and run `npm run build:css`.
|
7
|
+
*
|
8
|
+
* During development you can run `npm run watch:css`
|
9
|
+
* to continuosly rebuild this file.
|
10
|
+
*/
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,43 @@
|
|
1
|
+
/*
|
2
|
+
* THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
|
3
|
+
*
|
4
|
+
* To change the contents of this file,
|
5
|
+
* edit `_sass/hydejack/_content.pre.scss`
|
6
|
+
* and run `npm run build:css`.
|
7
|
+
*
|
8
|
+
* During development you can run `npm run watch:css`
|
9
|
+
* to continuosly rebuild this file.
|
10
|
+
*/
|
11
|
+
|
12
|
+
|
13
|
+
.content {
|
14
|
+
position: relative;
|
15
|
+
margin-left: auto;
|
16
|
+
margin-right: auto;
|
17
|
+
padding: 5rem 1rem 12rem;
|
18
|
+
|
19
|
+
@media screen {
|
20
|
+
padding-left: 1.5rem;
|
21
|
+
max-width: 38rem;
|
22
|
+
min-height: 100vh;
|
23
|
+
}
|
24
|
+
|
25
|
+
@media screen and (min-width: $break-point-2) {
|
26
|
+
max-width: 42rem;
|
27
|
+
}
|
28
|
+
|
29
|
+
@media screen and (min-width: $break-point-3) {
|
30
|
+
margin-left: 22rem;
|
31
|
+
margin-right: 4rem;
|
32
|
+
padding-left: 1rem;
|
33
|
+
}
|
34
|
+
|
35
|
+
@media screen and (min-width: $break-point-5) {
|
36
|
+
max-width: 48rem;
|
37
|
+
}
|
38
|
+
|
39
|
+
@media screen and (min-width: $break-point-dynamic) {
|
40
|
+
margin: auto;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
|
3
|
+
*
|
4
|
+
* To change the contents of this file,
|
5
|
+
* edit `_sass/hydejack/_footer.pre.scss`
|
6
|
+
* and run `npm run build:css`.
|
7
|
+
*
|
8
|
+
* During development you can run `npm run watch:css`
|
9
|
+
* to continuosly rebuild this file.
|
10
|
+
*/
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,12 @@
|
|
1
|
+
/*
|
2
|
+
* THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
|
3
|
+
*
|
4
|
+
* To change the contents of this file,
|
5
|
+
* edit `_sass/hydejack/_katex.pre.scss`
|
6
|
+
* and run `npm run build:css`.
|
7
|
+
*
|
8
|
+
* During development you can run `npm run watch:css`
|
9
|
+
* to continuosly rebuild this file.
|
10
|
+
*/
|
11
|
+
|
12
|
+
|
@@ -0,0 +1,36 @@
|
|
1
|
+
/*
|
2
|
+
* THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
|
3
|
+
*
|
4
|
+
* To change the contents of this file,
|
5
|
+
* edit `_sass/hydejack/_mark-external.pre.scss`
|
6
|
+
* and run `npm run build:css`.
|
7
|
+
*
|
8
|
+
* During development you can run `npm run watch:css`
|
9
|
+
* to continuosly rebuild this file.
|
10
|
+
*/
|
11
|
+
|
12
|
+
// <<< link
|
13
|
+
@media screen {
|
14
|
+
a[href*="//"]:not(.no-mark-external), a.no-push-state:not(.no-mark-external) {
|
15
|
+
&::after {
|
16
|
+
content: "\00A0\ea7e";
|
17
|
+
font-family: 'icomoon'!important;
|
18
|
+
speak: none;
|
19
|
+
font-style: normal;
|
20
|
+
font-weight: normal;
|
21
|
+
font-variant: normal;
|
22
|
+
text-transform: none;
|
23
|
+
line-height: 1;
|
24
|
+
font-size: smaller;
|
25
|
+
-webkit-font-smoothing: antialiased;
|
26
|
+
-moz-osx-font-smoothing: grayscale;
|
27
|
+
opacity: 0.33;
|
28
|
+
transition: opacity 500ms;
|
29
|
+
}
|
30
|
+
&:hover::after, &:focus::after {
|
31
|
+
opacity: 1;
|
32
|
+
transition: opacity 100ms;
|
33
|
+
}
|
34
|
+
}
|
35
|
+
}
|
36
|
+
// >>
|
@@ -0,0 +1,50 @@
|
|
1
|
+
/*
|
2
|
+
* THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
|
3
|
+
*
|
4
|
+
* To change the contents of this file,
|
5
|
+
* edit `_sass/hydejack/_menu.pre.scss`
|
6
|
+
* and run `npm run build:css`.
|
7
|
+
*
|
8
|
+
* During development you can run `npm run watch:css`
|
9
|
+
* to continuosly rebuild this file.
|
10
|
+
*/
|
11
|
+
|
12
|
+
|
13
|
+
.fixed-top {
|
14
|
+
position: fixed;
|
15
|
+
top: 0;
|
16
|
+
left: 0;
|
17
|
+
width: 100%;
|
18
|
+
z-index: 1;
|
19
|
+
}
|
20
|
+
|
21
|
+
.navbar > .content {
|
22
|
+
padding-top: 0;
|
23
|
+
padding-bottom: 0;
|
24
|
+
min-height: 0;
|
25
|
+
height: 0;
|
26
|
+
color: $gray;
|
27
|
+
}
|
28
|
+
|
29
|
+
.nav-btn-bar {
|
30
|
+
margin-left: -.875rem;
|
31
|
+
}
|
32
|
+
|
33
|
+
.nav-btn {
|
34
|
+
display: inline-block;
|
35
|
+
padding: 1.75rem .875rem;
|
36
|
+
border-bottom: none;
|
37
|
+
color: $gray!important;
|
38
|
+
}
|
39
|
+
|
40
|
+
|
41
|
+
|
42
|
+
|
43
|
+
#_menu {
|
44
|
+
@media screen and (min-width: $break-point-3) {
|
45
|
+
position: absolute;
|
46
|
+
left: -9999px;
|
47
|
+
// &:focus { position: static; }
|
48
|
+
}
|
49
|
+
// @media print { display: none; }
|
50
|
+
}
|
@@ -0,0 +1,129 @@
|
|
1
|
+
/*
|
2
|
+
* THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
|
3
|
+
*
|
4
|
+
* To change the contents of this file,
|
5
|
+
* edit `_sass/hydejack/_sidebar.pre.scss`
|
6
|
+
* and run `npm run build:css`.
|
7
|
+
*
|
8
|
+
* During development you can run `npm run watch:css`
|
9
|
+
* to continuosly rebuild this file.
|
10
|
+
*/
|
11
|
+
|
12
|
+
.sidebar {
|
13
|
+
color: rgba(255,255,255,.75);
|
14
|
+
text-align: left;
|
15
|
+
// Sidebar links
|
16
|
+
a {
|
17
|
+
color: #fff;
|
18
|
+
border-bottom-color: rgba(255, 255, 255, 0.2);
|
19
|
+
// &:hover { border-bottom-color: #fff; }
|
20
|
+
}
|
21
|
+
|
22
|
+
|
23
|
+
}
|
24
|
+
|
25
|
+
hy-drawer {
|
26
|
+
position: relative;
|
27
|
+
padding: 1rem 0;
|
28
|
+
@media screen {
|
29
|
+
padding: 2rem 1rem;
|
30
|
+
// min-height: 640px;
|
31
|
+
// min-height: 100vh;
|
32
|
+
|
33
|
+
}
|
34
|
+
|
35
|
+
@media screen and (min-width: $break-point-3) {
|
36
|
+
|
37
|
+
position: fixed;
|
38
|
+
top: 0;
|
39
|
+
left: 0;
|
40
|
+
bottom: 0;
|
41
|
+
width: 18rem;
|
42
|
+
margin-left: 0;
|
43
|
+
|
44
|
+
|
45
|
+
// > .hy-drawer-content.hy-drawer-left { box-shadow: none; }
|
46
|
+
// --hy-drawer-box-shadow: none;
|
47
|
+
}
|
48
|
+
|
49
|
+
@media screen and (min-width: $break-point-dynamic) {
|
50
|
+
width: calc(50% - 28rem);
|
51
|
+
// > .hy-drawer-content.hy-drawer-left { width: calc(50% - 28rem); left: calc(-50% + 28.5rem); }
|
52
|
+
// --hy-drawer-width: calc(50% - 28rem);
|
53
|
+
// --hy-drawer-slide-width: calc(-50% + 28.5rem);
|
54
|
+
}
|
55
|
+
}
|
56
|
+
|
57
|
+
.sidebar-bg {
|
58
|
+
|
59
|
+
position: absolute;
|
60
|
+
top: 0;
|
61
|
+
right: 0;
|
62
|
+
bottom: 0;
|
63
|
+
left: 0;
|
64
|
+
background: #202020 center / cover;
|
65
|
+
|
66
|
+
/* make sidebar slightly darker to increase text readability (when using a background image) */
|
67
|
+
&::after {
|
68
|
+
content: "";
|
69
|
+
position: absolute;
|
70
|
+
top: 0;
|
71
|
+
left: 0;
|
72
|
+
bottom: 0;
|
73
|
+
right: 0;
|
74
|
+
background: rgba(0, 0, 0, 0.05);
|
75
|
+
}
|
76
|
+
|
77
|
+
|
78
|
+
&.sidebar-overlay::after {
|
79
|
+
/* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#202020+0,202020+100&0+0,0.5+100 */
|
80
|
+
// background: -moz-linear-gradient(top, rgba(32,32,32,0) 0%, rgba(32,32,32,0.5) 100%);
|
81
|
+
// background: -webkit-linear-gradient(top, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 100%);
|
82
|
+
background: linear-gradient(to bottom, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 100%);
|
83
|
+
// filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00202020', endColorstr='#80202020',GradientType=0 );
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
.sidebar-sticky {
|
88
|
+
|
89
|
+
position: relative;
|
90
|
+
z-index: 3;
|
91
|
+
|
92
|
+
@media screen {
|
93
|
+
position: absolute;
|
94
|
+
right: 1.5rem;
|
95
|
+
left: 1.5rem;
|
96
|
+
bottom: 1rem;
|
97
|
+
}
|
98
|
+
|
99
|
+
@media screen and (min-width: $break-point-dynamic) {
|
100
|
+
left: auto;
|
101
|
+
width: 15rem;
|
102
|
+
}
|
103
|
+
|
104
|
+
|
105
|
+
// @media print { padding: 0 1.5rem; }
|
106
|
+
}
|
107
|
+
|
108
|
+
/* About section */
|
109
|
+
.sidebar-about > h1 {
|
110
|
+
color: #fff;
|
111
|
+
font-size: 2rem;
|
112
|
+
}
|
113
|
+
|
114
|
+
.sidebar-nav > ul {
|
115
|
+
list-style: none;
|
116
|
+
padding-left: 0;
|
117
|
+
margin-bottom: .5rem;
|
118
|
+
}
|
119
|
+
|
120
|
+
a.sidebar-nav-item {
|
121
|
+
font-weight: bold;
|
122
|
+
display: block;
|
123
|
+
line-height: 1.75;
|
124
|
+
padding: .25rem 0;
|
125
|
+
border-bottom: 1px solid rgba(255, 255, 255, 0.2);
|
126
|
+
}
|
127
|
+
|
128
|
+
// >>>>>
|
129
|
+
|