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,54 @@
1
+ * {
2
+ box-sizing: border-box; // inline
3
+ // -webkit-tap-highlight-color: transparent; // link
4
+ }
5
+
6
+ // <<<<< INLINE
7
+ html,
8
+ body {
9
+ margin: 0;
10
+ padding: 0;
11
+ }
12
+
13
+ html {
14
+ font-size: $root-font-size;
15
+ line-height: $root-line-height;
16
+ }
17
+
18
+ body {
19
+ color: $body-color;
20
+ background-color: $body-bg;
21
+ overflow-y: scroll;
22
+ }
23
+
24
+ // No `:visited` state is required by default (browsers will use `a`)
25
+ a {
26
+ text-decoration: none;
27
+ }
28
+
29
+ .lead {
30
+ margin-left: -1rem;
31
+ margin-right: -1rem;
32
+ }
33
+
34
+ img, .img {
35
+ display: block;
36
+ max-width: 100%;
37
+ margin-bottom: 1rem;
38
+ border: none;
39
+
40
+ &.lead {
41
+ max-width: calc(100% + 2rem);
42
+ width: calc(100% + 2rem);
43
+ }
44
+ }
45
+ // >>>>> INLINE
46
+
47
+ // <<<<< LINK
48
+ @media print {
49
+ a::after {
50
+ content: " (" attr(href) ") ";
51
+ font-size: 0.83em;
52
+ }
53
+ }
54
+ // >>>>> LINK
@@ -0,0 +1,43 @@
1
+ // Code
2
+ //
3
+ // Inline and block-level code snippets. Includes tweaks to syntax highlighted
4
+ // snippets from Pygments/Rouge and Gist embeds.
5
+
6
+ // <<<<< LINK
7
+ code, pre {
8
+ font-family: $code-font-family;
9
+ }
10
+
11
+ code {
12
+ padding: .25em .5em;
13
+ background-color: $code-bg;
14
+ font-size: .85em;
15
+ }
16
+
17
+ pre {
18
+ margin-top: 0;
19
+ display: block;
20
+ line-height: 1.4;
21
+ font-size: .85em;
22
+
23
+ /* Prevent code linebreaks and allow side-scrolling (much better readability on mobile) */
24
+ overflow-x: auto;
25
+ -webkit-overflow-scrolling: touch;
26
+
27
+ /* Make code same width as regular text, and scroll the full page width on mobile */
28
+ @include pre();
29
+
30
+ backface-visibility: hidden;
31
+ }
32
+
33
+ pre > code {
34
+ padding: 0;
35
+ color: inherit;
36
+ background-color: transparent;
37
+ font-size: 1em;
38
+ }
39
+
40
+ pre, .highlight {
41
+ margin-bottom: 2rem;
42
+ }
43
+ // >>>>> LINK
@@ -0,0 +1 @@
1
+ footer { margin-bottom: 2rem; } // link
@@ -2,24 +2,37 @@
2
2
  //
3
3
  // See the example content post for an example.
4
4
 
5
+ // <<<<< LINK
5
6
  // Footnote number within body text
6
7
  a[href^="#fn:"],
7
8
  // Back to footnote link
8
9
  a[href^="#fnref:"] {
9
10
  margin-left: .1rem;
10
11
  font-weight: bold;
12
+
13
+ @media screen and (max-width: 73.5em) {
14
+ font-weight: normal;
15
+ }
11
16
  }
12
17
 
13
18
  sup {
14
19
  line-height: 1;
20
+
21
+ @media screen and (max-width: 73.5em) {
22
+ vertical-align: baseline;
23
+ font-size: inherit;
24
+
25
+ > a::before { content: "["; }
26
+ > a::after { content: "]"; }
27
+ }
15
28
  }
16
29
 
17
30
  // List of footnotes
18
31
  .footnotes {
19
- margin-top: 3rem;
32
+ margin-top: 5rem;
20
33
 
21
34
  > ol {
22
- color: #7a7a7a;
35
+ color: $gray;
23
36
  }
24
37
 
25
38
  &::before {
@@ -27,7 +40,7 @@ sup {
27
40
  display: block;
28
41
  margin: 1.5rem 0;
29
42
  border: 0;
30
- border-top: 1px solid #eee;
31
- border-bottom: 1px solid #fff;
43
+ border-top: 1px solid $border-color;
32
44
  }
33
45
  }
46
+ // >>>>> LINK
@@ -3,6 +3,7 @@
3
3
  // Show alert messages to users. You may add it to single elements like a `<p>`,
4
4
  // or to a parent if there are multiple elements to show.
5
5
 
6
+ // <<<<< INLINE
6
7
  .message {
7
8
  margin-bottom: 1rem;
8
9
  padding: 1rem;
@@ -11,3 +12,4 @@
11
12
  margin-left: -1rem;
12
13
  margin-right: -1rem;
13
14
  }
15
+ // >>>>>
@@ -3,12 +3,12 @@
3
3
  // Super lightweight (HTML-wise) blog pagination. `span`s are provide for when
4
4
  // there are no more previous or next posts to show.
5
5
 
6
+ // <<<<< LINK
6
7
  .pagination {
8
+ width: 100%;
7
9
  margin: 0 -1.5rem 1rem;
8
- color: #ccc;
10
+ color: $gray;
9
11
  text-align: center;
10
- margin-left: -1rem;
11
- margin-right: -1rem;
12
12
 
13
13
  > ul {
14
14
  list-style: none;
@@ -21,12 +21,12 @@
21
21
  > * {
22
22
  display: block;
23
23
  padding: .25rem 1rem;
24
- border: solid #eee;
24
+ border: solid $border-color;
25
25
  border-width: 1px 0;
26
26
  }
27
27
 
28
28
  > a, > a:hover, > a:focus {
29
- border-color: #eee!important;
29
+ border-color: $border-color!important;
30
30
  }
31
31
 
32
32
  &:first-child > * {
@@ -36,7 +36,7 @@
36
36
  // Only provide a hover state for linked pagination items
37
37
  > a:hover, a:focus {
38
38
  background-color: #f5f5f5;
39
- border-bottom: 1px solid #eee;
39
+ border-bottom: 1px solid $border-color;
40
40
  }
41
41
  }
42
42
 
@@ -64,3 +64,4 @@
64
64
  }
65
65
  }
66
66
  }
67
+ // >>>>> LINK
@@ -3,7 +3,8 @@
3
3
  // Each post is wrapped in `.post` and is used on default and post layouts. Each
4
4
  // page is wrapped in `.page` and is only used on the page layout.
5
5
 
6
- .page, .post {
6
+ // <<<<< INLINE
7
+ .page {
7
8
  margin-bottom: 3em;
8
9
 
9
10
  li + li {
@@ -16,9 +17,7 @@
16
17
  }
17
18
 
18
19
  // Blog post or page title
19
- .page-title, .post-title {
20
- margin-top: 0;
21
- }
20
+ .page-title, .post-title { margin-top: 0; }
22
21
 
23
22
  // Meta data line below post title
24
23
  .post-date {
@@ -27,15 +26,17 @@
27
26
  margin-bottom: 1rem;
28
27
  color: $gray;
29
28
  }
29
+ // >>>>>
30
+ // <<<<< LINK
31
+ hr.dingbat {
32
+ border: 0;
33
+ }
30
34
 
31
- // hr.dingbat {
32
- // border: 0;
33
- // }
34
- //
35
- // hr.dingbat::after {
36
- // content: "\2756"; // ❖
37
- // display: block;
38
- // text-align: center;
39
- // font-size: 1.5rem;
40
- // color: #ddd;
41
- // }
35
+ hr.dingbat::after {
36
+ content: "\2756"; // ❖
37
+ display: block;
38
+ text-align: center;
39
+ font-size: 1.5rem;
40
+ color: #ddd;
41
+ }
42
+ // >>>>>
@@ -1,15 +1,14 @@
1
1
  // Related posts
2
2
 
3
+ // <<<<< INLINE
3
4
  .related-posts {
4
5
  padding-left: 0;
5
6
  list-style: none;
7
+ margin-bottom: 2rem;
6
8
 
7
- > li, > li + li {
9
+ > li,
10
+ > li + li {
8
11
  margin-top: 1rem;
9
-
10
- > small {
11
- font-size: 75%;
12
- color: $gray;
13
- }
14
12
  }
15
13
  }
14
+ // >>>>>
@@ -0,0 +1,161 @@
1
+ table:not(.highlight) {
2
+ // <<< inline
3
+ border-collapse: collapse;
4
+ margin-bottom: 2rem;
5
+ margin-left: -1rem;
6
+ // >>>
7
+
8
+ // <<< link
9
+ display: block;
10
+ vertical-align: top;
11
+ overflow-x: auto;
12
+ -webkit-overflow-scrolling: touch;
13
+ // >>>
14
+
15
+ // <<< inline
16
+ td, th {
17
+ padding: .25rem .5rem;
18
+ border: 1px solid $border-color;
19
+
20
+ &:first-child {
21
+ padding-left: 1rem;
22
+ }
23
+
24
+ &:last-child {
25
+ padding-right: 1rem;
26
+ }
27
+ }
28
+ // >>>
29
+
30
+ // <<< link
31
+ thead {
32
+ background-color: $body-bg;
33
+ }
34
+
35
+ thead + tbody,
36
+ tbody + tbody,
37
+ tfoot {
38
+ border-top: 3px double $border-color;
39
+ }
40
+
41
+ tbody tr:nth-child(even) td,
42
+ tbody tr:nth-child(even) th {
43
+ background-color: $body-bg;
44
+ }
45
+
46
+ tbody tr:nth-child(odd) td,
47
+ tbody tr:nth-child(odd) th {
48
+ background-color: $gray-bg;
49
+ }
50
+ // >>>
51
+ }
52
+
53
+ // <<<<< LINK
54
+ @media print {
55
+ table:not(.highlight) {
56
+ width: 100%!important;
57
+ }
58
+ }
59
+
60
+ // CSS only Responsive Tables
61
+ // http://dbushell.com/2016/03/04/css-only-responsive-tables/
62
+ // by David Bushell
63
+ @mixin scroll-table() {
64
+ white-space: nowrap; // optional - looks better for small cell values
65
+ }
66
+
67
+ @mixin flip-table() {
68
+ display: flex;
69
+ overflow: hidden;
70
+
71
+ thead,
72
+ thead + tbody,
73
+ tbody + tbody {
74
+ border-top: 1px solid $border-color;
75
+ border-bottom: 1px solid $border-color;
76
+ }
77
+
78
+ thead, tbody {
79
+ display: flex;
80
+ }
81
+
82
+ thead {
83
+ flex-shrink: 0;
84
+ min-width: min-content;
85
+
86
+ th {
87
+ padding-left: 1rem;
88
+ }
89
+ }
90
+
91
+ tbody {
92
+ position: relative;
93
+ overflow-x: auto;
94
+ overflow-y: hidden;
95
+ padding-left: 1px;
96
+ -webkit-overflow-scrolling: touch;
97
+ }
98
+
99
+ tr {
100
+ display: flex;
101
+ flex-direction: column;
102
+ min-width: min-content;
103
+ flex-shrink: 0;
104
+
105
+ td {
106
+ border-left: none;
107
+ }
108
+
109
+ &:first-child {
110
+ td {
111
+ border-left: 1px solid $border-color;
112
+ }
113
+ }
114
+
115
+ &:last-child {
116
+ td {
117
+ padding-right: 1rem;
118
+ border-right: 1px solid $border-color;
119
+ }
120
+ }
121
+ }
122
+
123
+ td, th {
124
+ display: block;
125
+ border-bottom: none;
126
+
127
+ &:first-child {
128
+ padding-left: .5rem;
129
+ border-top: none;
130
+ }
131
+
132
+ &:last-child {
133
+ padding-right: .5rem;
134
+ }
135
+ }
136
+ }
137
+
138
+ table.stretch-table {
139
+ display: table;
140
+ width: 100% !important;
141
+ width: calc(100% + 2rem) !important;
142
+ }
143
+
144
+ table.scroll-table {
145
+ @include scroll-table();
146
+ }
147
+
148
+ table.flip-table {
149
+ @include flip-table();
150
+ }
151
+
152
+ @media screen and (max-width: $break-point-4) {
153
+ table.scroll-table-small {
154
+ @include scroll-table();
155
+ }
156
+
157
+ table.flip-table-small {
158
+ @include flip-table();
159
+ }
160
+ }
161
+ // >>>>> LINK
@@ -0,0 +1,198 @@
1
+ // Typography
2
+ //
3
+ // Headings, body text, lists, and other misc typographic elements.
4
+
5
+ // <<<<< INLINE
6
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
7
+ font-weight: bold;
8
+ margin: 4rem 0 1rem;
9
+ }
10
+
11
+ .heading {
12
+ font-weight: bold;
13
+ }
14
+
15
+ h1, .h1 {
16
+ font-size: 2rem;
17
+ line-height: 1.3;
18
+ }
19
+
20
+ h2, .h2 {
21
+ font-size: 1.5rem;
22
+ line-height: 1.4;
23
+ }
24
+
25
+ h3, .h3 {
26
+ font-size: 1.17em;
27
+ line-height: 1.5;
28
+ }
29
+
30
+ p {
31
+ margin-top: 0;
32
+ margin-bottom: 1rem;
33
+
34
+ &.lead {
35
+ padding: 0 1rem;
36
+ }
37
+ }
38
+
39
+ ul, ol, dl {
40
+ margin-top: 0;
41
+ margin-bottom: 1rem;
42
+ }
43
+
44
+ ul, ol {
45
+ padding-left: 1.25rem;
46
+ }
47
+
48
+ hr {
49
+ position: relative;
50
+ margin: 1.5rem 0;
51
+ border: 0;
52
+ border-top: 1px solid $border-color;
53
+ }
54
+
55
+ .hr {
56
+ border-bottom: 1px solid $border-color;
57
+ padding-bottom: .5rem;
58
+ margin-bottom: 1.5rem;
59
+
60
+ &.page-title {
61
+ padding-bottom: 1rem;
62
+ margin-bottom: 2rem;
63
+ }
64
+ }
65
+
66
+ h4, h5, h6, .h4, .h5, .h6 {
67
+ margin-bottom: 0.5rem;
68
+ font-size: 1rem;
69
+ }
70
+ // >>>>>
71
+
72
+ // <<<<< LINK
73
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading {
74
+ text-rendering: optimizeLegibility; // link
75
+ }
76
+
77
+ h1 + h2, .h1 + .h2, h1 + .h2, .h1 + h2,
78
+ h2 + h3, .h2 + .h3, h2 + .h3, .h2 + h3,
79
+ h3 + h4, .h3 + .h4, h3 + .h4, .h3 + h4,
80
+ h4 + h5, .h4 + .h5, h4 + .h5, .h4 + h5,
81
+ h5 + h6, .h5 + .h6, h5 + .h6, .h5 + h6 {
82
+ margin-top: 0;
83
+ }
84
+
85
+ dt {
86
+ font-weight: bold;
87
+ }
88
+
89
+ dd {
90
+ margin-bottom: .5rem;
91
+ }
92
+
93
+ abbr {
94
+ font-size: 85%;
95
+ font-weight: bold;
96
+ color: #555;
97
+ text-transform: uppercase;
98
+
99
+ &[title] {
100
+ cursor: help;
101
+ border-bottom: 1px dotted $border-color;
102
+ }
103
+ }
104
+
105
+ blockquote {
106
+ padding: .5rem 1rem;
107
+ margin: .8rem 0;
108
+ color: $gray;
109
+ border-left: .25rem solid $border-color;
110
+
111
+ &.lead {
112
+ margin-top: 1.5rem;
113
+ margin-bottom: 1.5rem;
114
+ border-left-width: 0.4rem;
115
+ }
116
+
117
+ > p:last-child {
118
+ margin-bottom: 0;
119
+ }
120
+ }
121
+
122
+ .lead {
123
+ font-size: 1.2em;
124
+ }
125
+
126
+ .fine {
127
+ font-size: .83em;
128
+ }
129
+
130
+ .faded {
131
+ color: $gray;
132
+ }
133
+
134
+ .read-more {
135
+ @extend .faded;
136
+ margin-top: 2rem;
137
+ margin-bottom: 3rem;
138
+
139
+ &::after {
140
+ content: " \2192"; // →
141
+ font-family: 'icomoon'!important;
142
+ speak: none;
143
+ font-style: normal;
144
+ font-weight: normal;
145
+ font-variant: normal;
146
+ text-transform: none;
147
+ line-height: 1;
148
+ font-size: smaller;
149
+ -webkit-font-smoothing: antialiased;
150
+ -moz-osx-font-smoothing: grayscale;
151
+ }
152
+ }
153
+
154
+ h1[id], h2[id], h3[id], h4[id], h5[id], h6[id] {
155
+ position: relative;
156
+
157
+ > .permalink {
158
+ @media screen {
159
+ &::after { content: '#' }
160
+ border-bottom: none;
161
+ opacity: 0;
162
+ width: 1.5rem;
163
+ text-align: center;
164
+ float: right;
165
+ transition: opacity 400ms;
166
+ will-change: opacity;
167
+ }
168
+
169
+ @media screen and (min-width: $break-point-1 + 2em) {
170
+ float: none;
171
+ position: absolute;
172
+ top: 0;
173
+ left: -1.5rem;
174
+ }
175
+
176
+ @media print {
177
+ display: none;
178
+ }
179
+ }
180
+
181
+ &:hover > .permalink {
182
+ opacity: 0.5;
183
+ }
184
+
185
+ & > .permalink:hover,
186
+ & > .permalink:focus {
187
+ opacity: 1;
188
+ transition: opacity 200ms;
189
+ }
190
+ }
191
+
192
+ @media print {
193
+ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, dt {
194
+ page-break-after: avoid;
195
+ break-after: avoid-page;
196
+ }
197
+ }
198
+ // >>>>> LINK