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.
Files changed (175) hide show
  1. checksums.yaml +4 -4
  2. data/LICENSE.md +617 -17
  3. data/README.md +18 -11
  4. data/_includes/about.html +3 -2
  5. data/_includes/author.html +18 -11
  6. data/_includes/avatar-tag.html +4 -0
  7. data/_includes/body.html +21 -31
  8. data/_includes/body/menu.html +11 -0
  9. data/_includes/body/scripts.html +18 -0
  10. data/_includes/comments.html +6 -4
  11. data/_includes/footer.html +3 -5
  12. data/_includes/head.html +4 -142
  13. data/_includes/head/links.html +25 -0
  14. data/_includes/head/meta.html +30 -0
  15. data/_includes/head/scripts.html +44 -0
  16. data/_includes/head/seo-fallback.html +13 -0
  17. data/_includes/head/seo-tag.html +4 -0
  18. data/_includes/head/styles.html +24 -0
  19. data/_includes/header.txt +1 -1
  20. data/_includes/link.html +9 -2
  21. data/_includes/message.html +12 -7
  22. data/_includes/my-scripts.html +14 -5
  23. data/_includes/nav.html +20 -13
  24. data/_includes/page-style.html +33 -3
  25. data/_includes/pagination.html +8 -12
  26. data/_includes/post-list-item.html +4 -6
  27. data/_includes/post.html +20 -13
  28. data/_includes/related-posts.html +23 -0
  29. data/_includes/scripts/load-disqus.js +1 -2
  30. data/_includes/scripts/load-disqus.min.js +1 -1
  31. data/_includes/scripts/load-js-deferred.js +47 -43
  32. data/_includes/scripts/load-js-deferred.min.js +1 -1
  33. data/_includes/sidebar.html +25 -14
  34. data/_includes/social-list-item.html +1 -1
  35. data/_includes/social.html +16 -10
  36. data/_includes/srcset-img.html +5 -5
  37. data/_includes/styles/inline.scss +31 -33
  38. data/_includes/styles/style.scss +69 -55
  39. data/_includes/tag-list.html +1 -1
  40. data/_includes/templates.html +32 -0
  41. data/_layouts/about.html +10 -3
  42. data/_layouts/base.html +17 -10
  43. data/_layouts/compress.html +3 -11
  44. data/_layouts/default.html +7 -5
  45. data/_layouts/home.html +7 -5
  46. data/_layouts/list.html +10 -4
  47. data/_layouts/not-found.html +14 -5
  48. data/_layouts/page.html +1 -1
  49. data/_layouts/post.html +12 -2
  50. data/_layouts/redirect.html +1 -1
  51. data/_sass/_mixins.scss +9 -3
  52. data/_sass/_reboot-mod.scss +286 -0
  53. data/_sass/_spinner.scss +23 -80
  54. data/_sass/_syntax.scss +1 -1
  55. data/_sass/_variables.scss +9 -11
  56. data/_sass/hydejack/__inline/_avatar.scss +27 -0
  57. data/_sass/hydejack/__inline/_base.scss +99 -0
  58. data/_sass/hydejack/__inline/_break-layout.scss +12 -0
  59. data/_sass/hydejack/__inline/_content.scss +43 -0
  60. data/_sass/hydejack/__inline/_footer.scss +12 -0
  61. data/_sass/hydejack/__inline/_katex.scss +12 -0
  62. data/_sass/hydejack/__inline/_mark-external.scss +36 -0
  63. data/_sass/hydejack/__inline/_menu.scss +50 -0
  64. data/_sass/hydejack/__inline/_sidebar.scss +129 -0
  65. data/_sass/hydejack/__inline/_social.scss +42 -0
  66. data/_sass/hydejack/__link/_avatar.scss +17 -0
  67. data/_sass/hydejack/__link/_base.scss +93 -0
  68. data/_sass/hydejack/__link/_break-layout.scss +69 -0
  69. data/_sass/hydejack/__link/_content.scss +12 -0
  70. data/_sass/hydejack/__link/_footer.scss +26 -0
  71. data/_sass/hydejack/__link/_katex.scss +45 -0
  72. data/_sass/hydejack/__link/_mark-external.scss +36 -0
  73. data/_sass/hydejack/__link/_menu.scss +37 -0
  74. data/_sass/hydejack/__link/_sidebar.scss +156 -0
  75. data/_sass/hydejack/__link/_social.scss +12 -0
  76. data/_sass/hydejack/_avatar.pre.scss +18 -0
  77. data/_sass/hydejack/_base.pre.scss +133 -0
  78. data/_sass/hydejack/_break-layout.pre.scss +58 -0
  79. data/_sass/hydejack/{_content-inline.scss → _content.pre.scss} +5 -5
  80. data/_sass/hydejack/{_footer-inline.scss → _footer.pre.scss} +2 -5
  81. data/_sass/hydejack/{_katex.scss → _katex.pre.scss} +6 -3
  82. data/_sass/hydejack/_mark-external.pre.scss +25 -0
  83. data/_sass/hydejack/_menu.pre.scss +53 -0
  84. data/_sass/hydejack/_sidebar.pre.scss +188 -0
  85. data/_sass/hydejack/{_social-inline.scss → _social.pre.scss} +6 -11
  86. data/_sass/pooleparty/{_base-inline.scss → __inline/_base.scss} +15 -17
  87. data/_sass/pooleparty/__inline/_code.scss +17 -0
  88. data/_sass/pooleparty/__inline/_footer.scss +12 -0
  89. data/_sass/pooleparty/__inline/_footnotes.scss +16 -0
  90. data/_sass/pooleparty/__inline/_message.scss +26 -0
  91. data/_sass/pooleparty/__inline/_pagination.scss +17 -0
  92. data/_sass/pooleparty/__inline/_posts.scss +41 -0
  93. data/_sass/pooleparty/__inline/_related.scss +25 -0
  94. data/_sass/pooleparty/__inline/_table.scss +39 -0
  95. data/_sass/pooleparty/__inline/_type.scss +83 -0
  96. data/_sass/pooleparty/__link/_base.scss +26 -0
  97. data/_sass/pooleparty/__link/_code.scss +54 -0
  98. data/_sass/pooleparty/__link/_footer.scss +12 -0
  99. data/_sass/pooleparty/__link/_footnotes.scss +57 -0
  100. data/_sass/pooleparty/__link/_message.scss +17 -0
  101. data/_sass/pooleparty/__link/_pagination.scss +78 -0
  102. data/_sass/pooleparty/__link/_posts.scss +30 -0
  103. data/_sass/pooleparty/__link/_related.scss +14 -0
  104. data/_sass/pooleparty/{_table.scss → __link/_table.scss} +71 -46
  105. data/_sass/pooleparty/__link/_type.scss +144 -0
  106. data/_sass/pooleparty/_base.pre.scss +54 -0
  107. data/_sass/pooleparty/_code.pre.scss +43 -0
  108. data/_sass/pooleparty/_footer.pre.scss +1 -0
  109. data/_sass/pooleparty/{_footnotes.scss → _footnotes.pre.scss} +17 -4
  110. data/_sass/pooleparty/{_message-inline.scss → _message.pre.scss} +2 -0
  111. data/_sass/pooleparty/{_pagination.scss → _pagination.pre.scss} +7 -6
  112. data/_sass/pooleparty/{_posts-inline.scss → _posts.pre.scss} +16 -15
  113. data/_sass/pooleparty/{_related-inline.scss → _related.pre.scss} +5 -6
  114. data/_sass/pooleparty/_table.pre.scss +161 -0
  115. data/_sass/pooleparty/_type.pre.scss +198 -0
  116. data/assets/icomoon/fonts/icomoon.eot +0 -0
  117. data/assets/icomoon/fonts/icomoon.svg +9 -3
  118. data/assets/icomoon/fonts/icomoon.ttf +0 -0
  119. data/assets/icomoon/fonts/icomoon.woff +0 -0
  120. data/assets/icomoon/selection.json +250 -76
  121. data/assets/icomoon/style.css +26 -8
  122. data/assets/icons/apple-touch-icon.png +0 -0
  123. data/assets/icons/favicon.ico +0 -0
  124. data/assets/icons/icon.png +0 -0
  125. data/assets/icons/icon@0,25x.png +0 -0
  126. data/assets/icons/icon@0,5x.png +0 -0
  127. data/assets/icons/icon@0,75x.png +0 -0
  128. data/assets/icons/icon@2x.png +0 -0
  129. data/assets/icons/icon@3x.png +0 -0
  130. data/assets/icons/tile-large.png +0 -0
  131. data/assets/icons/tile-medium.png +0 -0
  132. data/assets/icons/tile-small.png +0 -0
  133. data/assets/icons/tile-wide.png +0 -0
  134. data/assets/ieconfig.xml +15 -0
  135. data/assets/img/sidebar-bg.jpg +0 -0
  136. data/assets/js/hydejack.js +2 -2
  137. data/assets/manifest.json +45 -0
  138. data/assets/version.json +1 -1
  139. data/licenses/Apache-2.0.md +55 -47
  140. data/licenses/GPL-3.0.md +623 -0
  141. data/licenses/MIT.md +1 -0
  142. data/licenses/PRO.md +142 -0
  143. metadata +103 -99
  144. data/_includes/related.html +0 -41
  145. data/_includes/scripts.html +0 -17
  146. data/_sass/hydejack/_base-inline.scss +0 -143
  147. data/_sass/hydejack/_base.scss +0 -143
  148. data/_sass/hydejack/_drawer-inline.scss +0 -19
  149. data/_sass/hydejack/_drawer.scss +0 -19
  150. data/_sass/hydejack/_me-inline.scss +0 -24
  151. data/_sass/hydejack/_menu-inline.scss +0 -56
  152. data/_sass/hydejack/_menu.scss +0 -56
  153. data/_sass/hydejack/_sidebar-inline.scss +0 -118
  154. data/_sass/hydejack/_sidebar.scss +0 -115
  155. data/_sass/hydejack/_social.scss +0 -36
  156. data/_sass/hydejack/_toc.scss +0 -2
  157. data/_sass/pooleparty/_base.scss +0 -60
  158. data/_sass/pooleparty/_code.scss +0 -82
  159. data/_sass/pooleparty/_footer-inline.scss +0 -3
  160. data/_sass/pooleparty/_posts.scss +0 -41
  161. data/_sass/pooleparty/_table-inline.scss +0 -130
  162. data/_sass/pooleparty/_type-inline.scss +0 -124
  163. data/_sass/pooleparty/_type.scss +0 -124
  164. data/assets/icomoon/Read Me.txt +0 -7
  165. data/assets/icomoon/demo-files/demo.css +0 -152
  166. data/assets/icomoon/demo-files/demo.js +0 -30
  167. data/assets/icomoon/demo.html +0 -1206
  168. data/assets/img/nap.jpg +0 -0
  169. data/assets/img/projects/hyde-v1.jpg +0 -0
  170. data/assets/img/projects/hyde-v1@0,25x.jpg +0 -0
  171. data/assets/img/projects/hyde-v1@0,5x.jpg +0 -0
  172. data/assets/img/projects/hyde-v2.jpg +0 -0
  173. data/assets/img/projects/hyde-v2@0,25x.jpg +0 -0
  174. data/assets/img/projects/hyde-v2@0,5x.jpg +0 -0
  175. data/licenses/PRO-license.md +0 -147
@@ -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/_social.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,18 @@
1
+ .avatar {
2
+ // <<< inline
3
+ float: right;
4
+ width: 6.5rem;
5
+ height: 6.5rem;
6
+ margin: 0 0 .5rem 1rem;
7
+ border-radius: 100%;
8
+ // >>>
9
+ position: relative; // link
10
+ z-index: 1; // link
11
+
12
+ // <<< inline
13
+ @media screen and (min-width: $break-point-1) {
14
+ width: 7rem;
15
+ height: 7rem;
16
+ }
17
+ // >>>
18
+ }
@@ -0,0 +1,133 @@
1
+ /*
2
+ * Global resets
3
+ *
4
+ * Update the foundational and global aspects of the page.
5
+ */
6
+
7
+ // <<<<< LINK
8
+ body {
9
+ /* Prevent side-scrolling on mobile */
10
+ display: block;
11
+ position: relative;
12
+ overflow-x: hidden;
13
+ }
14
+
15
+ hy-push-state, hy-drawer {
16
+ display: block;
17
+ overflow: hidden;
18
+ }
19
+ // >>>>>
20
+
21
+ // <<<<< INLINE
22
+ @media screen {
23
+ body::before {
24
+ content: '';
25
+ width: .5rem;
26
+ background: $border-color;
27
+ position: absolute;
28
+ left: 0;
29
+ top: 0;
30
+ bottom: 0;
31
+ }
32
+ }
33
+
34
+ html {
35
+ @media screen and (min-width: $break-point-1) {
36
+ font-size: $root-font-size-medium;
37
+ }
38
+
39
+ @media screen and (min-width: $break-point-font-large) {
40
+ font-size: $root-font-size-large;
41
+ }
42
+ }
43
+ // >>>>>
44
+
45
+ @media print { html { font-size: $root-font-size; } } // link
46
+
47
+ // Link styles
48
+ a, .a {
49
+ position: relative; // inline
50
+ padding-bottom: .15rem; // inline
51
+ border-bottom: 1px solid; // inline
52
+ transition: color 500ms, border-color 250ms; // link
53
+
54
+ // <<< link
55
+ &:hover {
56
+ text-decoration: none;
57
+ transition: color 500ms, border-color 50ms;
58
+ }
59
+
60
+ &.no-hover {
61
+ border-bottom: none;
62
+ padding-bottom: none;
63
+ transition: none;
64
+
65
+ &:hover {
66
+ transition: none;
67
+ }
68
+ }
69
+ // >>>
70
+ }
71
+
72
+ .author { margin-top: 3rem; } // link
73
+
74
+ .img {
75
+ overflow: hidden; // inline
76
+ background-color: $gray-bg; // inline
77
+
78
+ // <<< link
79
+ background-position: center;
80
+ background-repeat: no-repeat;
81
+ background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPHN2ZyB3aWR0aD0iMTYwIiBoZWlnaHQ9IjkwIiB2aWV3Qm94PSIwIDAgMTYwIDkwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPgogIDxnIHRyYW5zZm9ybT0ibWF0cml4KDAuMDQ4ODI4LCAwLCAwLCAwLjA0Nzk5MSwgNTQuOTk5OTczLCAyMC40MjgxNDgpIj4KICAgIDxwYXRoIGQ9Ik05NTkuODg0IDEyOGMwLjA0MCAwLjAzNCAwLjA4MiAwLjA3NiAwLjExNiAwLjExNnY3NjcuNzdjLTAuMDM0IDAuMDQwLTAuMDc2IDAuMDgyLTAuMTE2IDAuMTE2aC04OTUuNzdjLTAuMDQwLTAuMDM0LTAuMDgyLTAuMDc2LTAuMTE0LTAuMTE2di03NjcuNzcyYzAuMDM0LTAuMDQwIDAuMDc2LTAuMDgyIDAuMTE0LTAuMTE0aDg5NS43N3pNOTYwIDY0aC04OTZjLTM1LjIgMC02NCAyOC44LTY0IDY0djc2OGMwIDM1LjIgMjguOCA2NCA2NCA2NGg4OTZjMzUuMiAwIDY0LTI4LjggNjQtNjR2LTc2OGMwLTM1LjItMjguOC02NC02NC02NHYweiIgc3R5bGU9ImZpbGw6IHJnYigyMjEsIDIyMSwgMjIxKTsiLz4KICAgIDxwYXRoIGQ9Ik04MzIgMjg4YzAgNTMuMDIwLTQyLjk4IDk2LTk2IDk2cy05Ni00Mi45OC05Ni05NiA0Mi45OC05NiA5Ni05NiA5NiA0Mi45OCA5NiA5NnoiIHN0eWxlPSJmaWxsOiByZ2IoMjIxLCAyMjEsIDIyMSk7Ii8+CiAgICA8cGF0aCBkPSJNODk2IDgzMmgtNzY4di0xMjhsMjI0LTM4NCAyNTYgMzIwaDY0bDIyNC0xOTJ6IiBzdHlsZT0iZmlsbDogcmdiKDIyMSwgMjIxLCAyMjEpOyIvPgogIDwvZz4KPC9zdmc+');
82
+ // >>>
83
+
84
+ img {
85
+ margin: 0; // inline
86
+ width: 100%; // inline
87
+ height: 100%; // inline
88
+ object-fit: cover; // link
89
+ object-position: center; // link
90
+ }
91
+ }
92
+
93
+ // <<<<< INLINE
94
+ // Fade in animation
95
+ .fade-in {
96
+ animation-duration: 500ms;
97
+ animation-name: fade-in;
98
+ animation-fill-mode: forwards;
99
+ }
100
+
101
+ @keyframes fade-in {
102
+ from { transform: translateY(-3rem); opacity: 0; }
103
+ 50% { transform: translateY(-3rem); opacity: 0; }
104
+ to { transform: translateY(0); opacity: 1; }
105
+ }
106
+
107
+ // Utility classes
108
+ .fl { float: left; }
109
+ .fr { float: right; }
110
+ .mb05 { margin-bottom: .5rem }
111
+ .mb4 { margin-bottom: 4rem }
112
+ .mb6 { margin-bottom: 6rem }
113
+ .mt0 { margin-top: 0 }
114
+ .mt3 { margin-top: 3rem }
115
+ .pb0 { padding-bottom: 0 }
116
+ // >>>>> INLINE
117
+
118
+ .clearfix, .clearafter::after { @include clearfix(); } // both
119
+
120
+ .sr-only {
121
+ display: none; // inline
122
+ // <<< link
123
+ display: unset;
124
+ position: absolute;
125
+ width: 1px;
126
+ height: 1px;
127
+ padding: 0;
128
+ margin: -1px;
129
+ overflow: hidden;
130
+ clip: rect(0,0,0,0);
131
+ border: 0;
132
+ // >>>
133
+ }
@@ -0,0 +1,58 @@
1
+ // <<<<< LINK
2
+ pre, table:not(.highlight), .katex-display, .break-layout, .message {
3
+ @media screen {
4
+ position: relative;
5
+ width: calc(100vw - .5rem);
6
+ }
7
+
8
+ @media screen and (min-width: 38rem) {
9
+ width: calc(100% + 50vw - (38rem / 2) + 2rem);
10
+ }
11
+
12
+ @media screen and (min-width: $break-point-2) {
13
+ width: calc(100% + 50vw - (42rem / 2) + 2rem);
14
+ }
15
+
16
+ @media screen and (min-width: $break-point-3) {
17
+ width: calc(100vw - 22rem);
18
+ }
19
+
20
+ @media screen and (min-width: $break-point-4) {
21
+ width: calc(100% + 100vw - 42rem - 22rem + 2rem);
22
+ }
23
+
24
+ @media screen and (min-width: $break-point-5) {
25
+ width: calc(100% + 100vw - 48rem - 22rem + 2rem);
26
+ }
27
+
28
+ @media screen and (min-width: $break-point-dynamic) {
29
+ width: calc(100% + 50vw - (48rem / 2) + 2rem);
30
+ }
31
+ }
32
+
33
+ .message {
34
+ @media screen and (min-width: 38rem) {
35
+ padding-right: calc(50vw - (38rem / 2) + 1rem);
36
+ }
37
+
38
+ @media screen and (min-width: $break-point-2) {
39
+ padding-right: calc(50vw - (42rem / 2) + 1rem);
40
+ }
41
+
42
+ @media screen and (min-width: $break-point-3) {
43
+ padding-right: 4rem + 1rem;
44
+ }
45
+
46
+ @media screen and (min-width: $break-point-4) {
47
+ padding-right: calc(100vw - 42rem - 22rem + 1rem);
48
+ }
49
+
50
+ @media screen and (min-width: $break-point-5) {
51
+ padding-right: calc(100vw - 48rem - 22rem + 1rem);
52
+ }
53
+
54
+ @media screen and (min-width: $break-point-dynamic) {
55
+ padding-right: calc(50vw - (48rem / 2) + 1rem);
56
+ }
57
+ }
58
+ // >>>>>
@@ -1,3 +1,4 @@
1
+ // <<<<< INLINE
1
2
  .content {
2
3
  position: relative;
3
4
  margin-left: auto;
@@ -5,21 +6,19 @@
5
6
  padding: 5rem 1rem 12rem;
6
7
 
7
8
  @media screen {
8
- max-width: 38rem;
9
9
  padding-left: 1.5rem;
10
+ max-width: 38rem;
10
11
  min-height: 100vh;
11
12
  }
12
13
 
13
14
  @media screen and (min-width: $break-point-2) {
14
15
  max-width: 42rem;
15
- padding: 4rem 1rem 12rem;
16
- margin-left: 22rem;
17
- margin-right: 4rem;
18
16
  }
19
17
 
20
- @media screen and (min-width: $break-point-4) {
18
+ @media screen and (min-width: $break-point-3) {
21
19
  margin-left: 22rem;
22
20
  margin-right: 4rem;
21
+ padding-left: 1rem;
23
22
  }
24
23
 
25
24
  @media screen and (min-width: $break-point-5) {
@@ -30,3 +29,4 @@
30
29
  margin: auto;
31
30
  }
32
31
  }
32
+ // >>>>>
@@ -1,3 +1,4 @@
1
+ // <<<<< LINK
1
2
  main > footer {
2
3
  position: absolute;
3
4
  bottom: 0;
@@ -5,14 +6,10 @@ main > footer {
5
6
  right: 0;
6
7
  padding: 0 1rem;
7
8
  color: $gray;
8
- font-size: smaller;
9
9
  text-align: center;
10
10
 
11
11
  > p {
12
12
  margin-bottom: 0;
13
13
  }
14
-
15
- // a::after {
16
- // display: none;
17
- // }
18
14
  }
15
+ // >>>>>
@@ -1,10 +1,12 @@
1
+ // <<<<< LINK
1
2
  article {
2
3
  .katex-display, div.MathJax_Preview {
3
4
  /* Prevent code linebreaks and allow side-scrolling (much better readability on mobile) */
4
5
  overflow-x: auto;
5
6
  -webkit-overflow-scrolling: touch;
7
+ text-align: left;
6
8
 
7
- @include pre();
9
+ @include pre(2rem);
8
10
 
9
11
  backface-visibility: hidden;
10
12
  }
@@ -14,14 +16,14 @@ article {
14
16
  font-size: .75em;
15
17
  line-height: 1.45;
16
18
  white-space: pre;
17
- margin-bottom: 1rem;
19
+ margin-bottom: 2rem;
18
20
  }
19
21
 
20
22
  span.MathJax_Preview {
21
23
  font-family: $code-font-family;
22
24
  padding: .25em .5em;
23
25
  font-size: .85em;
24
- background-color: rgba(0, 0, 0, 0.03);
26
+ background-color: $code-bg;
25
27
  }
26
28
  }
27
29
 
@@ -29,3 +31,4 @@ article {
29
31
  display: none;
30
32
  visibility: hidden;
31
33
  }
34
+ // >>>>>
@@ -0,0 +1,25 @@
1
+ // <<< link
2
+ @media screen {
3
+ a[href*="//"]:not(.no-mark-external), a.no-push-state:not(.no-mark-external) {
4
+ &::after {
5
+ content: "\00A0\ea7e";
6
+ font-family: 'icomoon'!important;
7
+ speak: none;
8
+ font-style: normal;
9
+ font-weight: normal;
10
+ font-variant: normal;
11
+ text-transform: none;
12
+ line-height: 1;
13
+ font-size: smaller;
14
+ -webkit-font-smoothing: antialiased;
15
+ -moz-osx-font-smoothing: grayscale;
16
+ opacity: 0.33;
17
+ transition: opacity 500ms;
18
+ }
19
+ &:hover::after, &:focus::after {
20
+ opacity: 1;
21
+ transition: opacity 100ms;
22
+ }
23
+ }
24
+ }
25
+ // >>
@@ -0,0 +1,53 @@
1
+ // <<<<< INLINE
2
+ .fixed-top {
3
+ position: fixed;
4
+ top: 0;
5
+ left: 0;
6
+ width: 100%;
7
+ z-index: 1;
8
+ }
9
+
10
+ .navbar > .content {
11
+ padding-top: 0;
12
+ padding-bottom: 0;
13
+ min-height: 0;
14
+ height: 0;
15
+ color: $gray;
16
+ }
17
+
18
+ .nav-btn-bar {
19
+ margin-left: -.875rem;
20
+ }
21
+
22
+ .nav-btn {
23
+ display: inline-block;
24
+ padding: 1.75rem .875rem;
25
+ border-bottom: none;
26
+ color: $gray!important;
27
+ }
28
+ // >>>>>
29
+
30
+ // <<<< LINK
31
+ .animation-main {
32
+ opacity: 0;
33
+ will-change: opacity;
34
+ pointer-events: none;
35
+ }
36
+
37
+ .loading {
38
+ display: none;
39
+ position: absolute;
40
+ top: 0;
41
+ right: 0;
42
+ padding: 1.75rem 1.5rem;
43
+ }
44
+ // >>>>
45
+
46
+ #_menu {
47
+ @media screen and (min-width: $break-point-3) {
48
+ position: absolute; // inline
49
+ left: -9999px; // inline
50
+ &:focus { position: static; } // link
51
+ }
52
+ @media print { display: none; } // link
53
+ }
@@ -0,0 +1,188 @@
1
+ .sidebar {
2
+ color: rgba(255,255,255,.75); // inline
3
+ text-align: left; // inline
4
+
5
+ // Sidebar links
6
+ a {
7
+ color: #fff; // inline
8
+ border-bottom-color: rgba(255, 255, 255, 0.2); // inline
9
+ &:hover { border-bottom-color: #fff; } // link
10
+ }
11
+
12
+ // <<< link
13
+ @media print {
14
+ page-break-inside: avoid;
15
+ break-inside: avoid-page;
16
+ }
17
+ // >>>
18
+ }
19
+
20
+ hy-drawer {
21
+ position: relative; // inline
22
+ padding: 1rem 0; // inline
23
+
24
+ @media screen {
25
+ padding: 2rem 1rem; // inline
26
+ min-height: 640px; // link
27
+ min-height: 100vh; // link
28
+
29
+ // <<< link
30
+ > .hy-drawer-content.hy-drawer-left {
31
+ width: calc(18rem + 1px);
32
+ left: -17.5rem;
33
+ box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25);
34
+ }
35
+
36
+ --hy-drawer-width: calc(18rem + 1px);
37
+ --hy-drawer-slide-width: 17.5rem;
38
+ --hy-drawer-box-shadow: 0 0 1rem rgba(0, 0, 0, 0.25);
39
+
40
+ &.loaded {
41
+ min-height: 0;
42
+ padding: 0;
43
+ }
44
+ // >>>
45
+ }
46
+
47
+ @media screen and (min-width: $break-point-3) {
48
+ // <<< inline
49
+ position: fixed;
50
+ top: 0;
51
+ left: 0;
52
+ bottom: 0;
53
+ width: 18rem;
54
+ margin-left: 0;
55
+ // >>>
56
+
57
+ > .hy-drawer-content.hy-drawer-left { box-shadow: none; } // link
58
+ --hy-drawer-box-shadow: none; // link
59
+ }
60
+
61
+ @media screen and (min-width: $break-point-dynamic) {
62
+ width: calc(50% - 28rem); // inline
63
+ > .hy-drawer-content.hy-drawer-left { width: calc(50% - 28rem); left: calc(-50% + 28.5rem); } // link
64
+ --hy-drawer-width: calc(50% - 28rem); // link
65
+ --hy-drawer-slide-width: calc(-50% + 28.5rem); // link
66
+ }
67
+ }
68
+
69
+ .sidebar-bg {
70
+ // <<< inline
71
+ position: absolute;
72
+ top: 0;
73
+ right: 0;
74
+ bottom: 0;
75
+ left: 0;
76
+ background: #202020 center / cover;
77
+
78
+ /* make sidebar slightly darker to increase text readability (when using a background image) */
79
+ &::after {
80
+ content: "";
81
+ position: absolute;
82
+ top: 0;
83
+ left: 0;
84
+ bottom: 0;
85
+ right: 0;
86
+ background: rgba(0, 0, 0, 0.05);
87
+ }
88
+ // >>> inline
89
+
90
+ &.sidebar-overlay::after {
91
+ /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#202020+0,202020+100&0+0,0.5+100 */
92
+ background: -moz-linear-gradient(top, rgba(32,32,32,0) 0%, rgba(32,32,32,0.5) 100%); // link
93
+ background: -webkit-linear-gradient(top, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 100%); // link
94
+ background: linear-gradient(to bottom, rgba(32,32,32,0) 0%,rgba(32,32,32,0.5) 100%);
95
+ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00202020', endColorstr='#80202020',GradientType=0 ); // link
96
+ }
97
+ }
98
+
99
+ .sidebar-sticky {
100
+ // <<<<< INLINE
101
+ position: relative;
102
+ z-index: 3;
103
+
104
+ @media screen {
105
+ position: absolute;
106
+ right: 1.5rem;
107
+ left: 1.5rem;
108
+ bottom: 1rem;
109
+ }
110
+
111
+ @media screen and (min-width: $break-point-dynamic) {
112
+ left: auto;
113
+ width: 15rem;
114
+ }
115
+ // >>>>>
116
+
117
+ @media print { padding: 0 1.5rem; } // link
118
+ }
119
+
120
+ /* About section */
121
+ .sidebar-about > h1 {
122
+ color: #fff;
123
+ font-size: 2rem;
124
+ }
125
+
126
+ .sidebar-nav > ul {
127
+ list-style: none;
128
+ padding-left: 0;
129
+ margin-bottom: .5rem;
130
+ }
131
+
132
+ a.sidebar-nav-item {
133
+ font-weight: bold;
134
+ display: block;
135
+ line-height: 1.75;
136
+ padding: .25rem 0;
137
+ border-bottom: 1px solid rgba(255, 255, 255, 0.2);
138
+ }
139
+
140
+ // >>>>>
141
+ // <<<<< LINK
142
+ a.sidebar-nav-item {
143
+ &::before, &::after {
144
+ position: absolute;
145
+ right: 0;
146
+ top: .75rem;
147
+ }
148
+
149
+ // &::before {
150
+ // content: "\2666";
151
+ // font-family: 'icomoon'!important;
152
+ // speak: none;
153
+ // font-style: normal;
154
+ // font-weight: normal;
155
+ // font-variant: normal;
156
+ // text-transform: none;
157
+ // line-height: 1;
158
+ // font-size: smaller;
159
+ // -webkit-font-smoothing: antialiased;
160
+ // -moz-osx-font-smoothing: grayscale;
161
+ // opacity: 0;
162
+ // transition: opacity 500ms;
163
+ // }
164
+ //
165
+ // &.active::before {
166
+ // opacity: 0.33;
167
+ // }
168
+ //
169
+ // &.active:hover::before {
170
+ // opacity: 1;
171
+ // transition: opacity 100ms;
172
+ // }
173
+ }
174
+
175
+ @media print {
176
+ .sidebar {
177
+ page-break-inside: avoid;
178
+ }
179
+
180
+ .sidebar-nav, .sidebar-social {
181
+ display: none;
182
+ }
183
+ }
184
+
185
+ header, body::before {
186
+ backface-visibility: hidden;
187
+ }
188
+ // >>>>>