jekyll-theme-hydeout 4.0.2 → 4.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 832ecf068fbb46282cfb25dad754b8fc1e80901a
4
- data.tar.gz: 1b5643a4eb03ba5ec117e40a74bcb7e01064995a
3
+ metadata.gz: ccfe9337e0de0d22f7289b39d780e90c31540bca
4
+ data.tar.gz: 1bb8d5f012c4b9e112bd5f7703aed3fc00dd380e
5
5
  SHA512:
6
- metadata.gz: ab1bded8522b1c5c761b56544e6b4cae60baffa0506bf009e691a1ccf2022199a224fe382dd6adbd151b2b24162ea932c42e3efb8e9e0c8ab7d1379685c08086
7
- data.tar.gz: 3a260e3807174a2a4c693c50bb3fc1ab9b24dc5e7e80f8a0bd397c3c81d612277c8ca8a852c9cdd28d02c650ae6eff1dc5968fde36672a9f8fdac55cd7667d0c
6
+ metadata.gz: 45c4138acb9a67f3144299a1a8d05f7b91297ee0a5a71d7c6f064b58d28272703ba0c6936611365b0103bd35580e7d98f8413dbb8946bba68c6fc3aea4b547c0
7
+ data.tar.gz: 13d1ab360f61ac95817dbc2e4277b9b316e59606a07fb412741e0b7757eb3205b0c426c9fde7b71520020a9481157caadc6410ac8342fe7d0912aef38156f48e
data/README.md CHANGED
@@ -1,7 +1,7 @@
1
1
  # Hydeout
2
2
 
3
3
  Hydeout updates the original [Hyde](https://github.com/poole/hyde)
4
- theme for [Jekyll](http://jekyllrb.com) 3.x and adds new functionality.
4
+ theme for [Jekyll](http://jekyllrb.com) 3.x and 4.x and adds new functionality.
5
5
 
6
6
  ![Desktop](/_screenshots/1.png?raw=true)
7
7
  <img alt="Mobile home page" src="/_screenshots/2.png?raw=true" width="300px" />
@@ -3,15 +3,15 @@
3
3
  Designed, built, and released under MIT license by @mdo.
4
4
  */
5
5
 
6
- @import "hydeout/variables";
7
- @import "hydeout/base";
8
- @import "hydeout/type";
9
- @import "hydeout/syntax";
10
- @import "hydeout/code";
11
- @import "hydeout/layout";
12
- @import "hydeout/masthead";
13
- @import "hydeout/posts";
14
- @import "hydeout/pagination";
15
- @import "hydeout/message";
16
- @import "hydeout/search";
17
- @import "hydeout/tags";
6
+ @import 'hydeout/variables';
7
+ @import 'hydeout/base';
8
+ @import 'hydeout/type';
9
+ @import 'hydeout/syntax';
10
+ @import 'hydeout/code';
11
+ @import 'hydeout/layout';
12
+ @import 'hydeout/masthead';
13
+ @import 'hydeout/posts';
14
+ @import 'hydeout/pagination';
15
+ @import 'hydeout/message';
16
+ @import 'hydeout/search';
17
+ @import 'hydeout/tags';
@@ -3,9 +3,7 @@
3
3
  // Update the foundational and global aspects of the page.
4
4
 
5
5
  * {
6
- -webkit-box-sizing: border-box;
7
- -moz-box-sizing: border-box;
8
- box-sizing: border-box;
6
+ box-sizing: border-box;
9
7
  }
10
8
 
11
9
  html,
@@ -25,11 +23,14 @@ html {
25
23
  }
26
24
 
27
25
  body {
28
- -webkit-text-size-adjust: 100%;
29
- -ms-text-size-adjust: 100%;
26
+ text-size-adjust: 100%;
30
27
  }
31
28
 
32
- main, article, section { display: block; }
29
+ main,
30
+ article,
31
+ section {
32
+ display: block;
33
+ }
33
34
 
34
35
  // No `:visited` state is required by default (browsers will use `a`)
35
36
  a {
@@ -48,26 +49,25 @@ a {
48
49
  }
49
50
 
50
51
  img {
52
+ border-radius: 5px;
51
53
  display: block;
52
- max-width: 100%;
54
+ height: auto; // prevent max-width from squishing images with defined height
53
55
  margin: 0 0 1rem;
54
- border-radius: 5px;
55
- height: auto; // Fix to keep max-width from squishing images with defined
56
- // height in HTML
56
+ max-width: 100%;
57
57
  }
58
58
 
59
59
  table {
60
- margin-bottom: 1rem;
61
- width: 100%;
62
- font-size: 85%;
63
60
  border: 1px solid $border-color;
64
61
  border-collapse: collapse;
62
+ font-size: 85%;
63
+ margin-bottom: 1rem;
64
+ width: 100%;
65
65
  }
66
66
 
67
67
  td,
68
68
  th {
69
- padding: .25rem .5rem;
70
69
  border: 1px solid $border-color;
70
+ padding: 0.25rem 0.5rem;
71
71
  }
72
72
 
73
73
  th {
@@ -79,25 +79,31 @@ tbody tr:nth-child(odd) th {
79
79
  background-color: $gray-1;
80
80
  }
81
81
 
82
- input[type="text"], input[type="email"], input[type="search"], input[type="submit"], button {
83
- padding: $padding-v $padding-h;
82
+ button,
83
+ input[type='text'],
84
+ input[type='email'],
85
+ input[type='search'],
86
+ input[type='submit'] {
84
87
  border: 1px solid $border-color;
85
88
  border-radius: $border-radius;
89
+ padding: $padding-v $padding-h;
86
90
  }
87
91
 
88
- button, input[type="submit"] {
89
- cursor: pointer;
92
+ button,
93
+ input[type='submit'] {
90
94
  background: transparent;
91
95
  border-color: $border-color;
92
96
  color: $link-color;
93
- transition: color 0.6s ease-in-out,
94
- border-color 0.6s ease-in-out,
95
- background 0.6s ease-in-out;
97
+ cursor: pointer;
98
+ transition:
99
+ color 0.6s ease-in-out,
100
+ border-color 0.6s ease-in-out,
101
+ background 0.6s ease-in-out;
96
102
 
97
103
  &:hover {
98
104
  background: $link-color;
99
105
  border-color: $link-color;
100
- color: white;
101
106
  box-shadow: $default-box-shadow;
107
+ color: #fff;
102
108
  }
103
- }
109
+ }
@@ -9,33 +9,35 @@ pre {
9
9
  }
10
10
 
11
11
  code {
12
- padding: .25em .5em;
13
- font-size: 85%;
14
- color: $code-color;
15
12
  background-color: #f9f9f9;
16
13
  border-radius: 3px;
14
+ color: $code-color;
15
+ font-size: 85%;
16
+ padding: 0.25em 0.5em;
17
17
  }
18
18
 
19
19
  pre {
20
- margin-top: 0;
21
20
  margin-bottom: 1rem;
21
+ margin-top: 0;
22
+ max-width: 100%;
23
+ overflow-x: auto;
22
24
  }
23
25
 
24
26
  pre code {
25
- padding: 0;
26
- font-size: 100%;
27
- color: inherit;
28
27
  background-color: transparent;
28
+ color: inherit;
29
+ font-size: 100%;
30
+ padding: 0;
29
31
  }
30
32
 
31
33
  // Pygments/Rouge via Jekyll
32
34
  .highlight {
33
- padding: 1rem;
34
- margin-bottom: 1rem;
35
- font-size: .8rem;
36
- line-height: 1.4;
37
35
  background-color: #f9f9f9;
38
- border-radius: .25rem;
36
+ border-radius: 0.25rem;
37
+ font-size: 0.8rem;
38
+ line-height: 1.4;
39
+ margin-bottom: 1rem;
40
+ padding: 1rem;
39
41
 
40
42
  pre {
41
43
  margin-bottom: 0;
@@ -43,22 +45,14 @@ pre code {
43
45
  }
44
46
 
45
47
  .lineno {
46
- display: inline-block; // Ensures the null space also isn't selectable
47
- padding-right: .75rem;
48
- padding-left: .25rem;
49
48
  color: #999;
50
- // Make sure numbers aren't selectable
51
- -webkit-user-select: none;
52
- -moz-user-select: none;
53
- user-select: none;
49
+ display: inline-block; // Ensures the null space also isn't selectable
50
+ padding-left: 0.25rem;
51
+ padding-right: 0.75rem;
52
+ user-select: none; // Make sure numbers aren't selectable
54
53
  }
55
54
  }
56
55
 
57
- pre {
58
- max-width: 100%;
59
- overflow-x: auto;
60
- }
61
-
62
56
  // Gist via GitHub Pages
63
57
  // .gist .gist-file {
64
58
  // font-family: Menlo, Monaco, "Courier New", monospace !important;
@@ -23,15 +23,12 @@
23
23
  */
24
24
 
25
25
  body {
26
- color: $sidebar-text-color;
26
+ background-attachment: fixed;
27
27
  background-color: $sidebar-bg-color;
28
- background-image: linear-gradient(
29
- to bottom,
30
- lighten($sidebar-bg-color, 7%),
31
- darken($sidebar-bg-color, 7%));
28
+ background-image: linear-gradient(to bottom, lighten($sidebar-bg-color, 7%), darken($sidebar-bg-color, 7%));
29
+ color: $sidebar-text-color;
32
30
  display: flex;
33
31
  flex-direction: column;
34
- min-width: 100vw;
35
32
  min-height: 100vh;
36
33
  }
37
34
 
@@ -40,20 +37,26 @@ body {
40
37
  padding: $section-spacing;
41
38
 
42
39
  .site-title {
43
- font-family: "Abril Fatface", serif;
44
- font-weight: normal;
40
+ font-family: 'Abril Fatface', serif;
45
41
  font-size: $large-font-size;
46
- margin-top: 0;
42
+ font-weight: normal;
47
43
  margin-bottom: $heading-spacing;
48
-
49
- .back-arrow { margin-right: 0.5rem; }
44
+ margin-top: 0;
50
45
  }
46
+
47
+ .site-title .back-arrow { margin-right: 0.5rem; }
48
+ }
49
+
50
+ .content {
51
+ background: $body-bg;
52
+ color: $body-color;
53
+ padding: $section-spacing;
51
54
  }
52
55
 
53
56
  // Container is flexbox as well -- we want content div to stretch and fill
54
57
  .container {
55
- flex: 1 1 auto;
56
58
  display: flex;
59
+ flex: 1 1 auto;
57
60
  flex-direction: column;
58
61
 
59
62
  > .content {
@@ -62,13 +65,6 @@ body {
62
65
  }
63
66
  }
64
67
 
65
- .content {
66
- background: $body-bg;
67
- color: $body-color;
68
- padding: $section-spacing;
69
- }
70
-
71
-
72
68
  /* -----------------------------------------------------------
73
69
  Mobile view
74
70
  ----------------------------------------------------------- */
@@ -76,29 +72,33 @@ body {
76
72
  // Hide secondary nav content in sidebar
77
73
  // Hide lead paragraph in sidebar
78
74
  #sidebar {
79
- header ~ *, header ~ nav, p.lead {
75
+ header ~ *,
76
+ header ~ nav,
77
+ p.lead {
80
78
  display: none;
81
79
  }
82
80
  }
83
81
 
84
82
  // Make header elements blend into sidebar / background
85
83
  .container > header {
86
- color: $sidebar-title-color;
87
84
  background: transparent;
88
- margin: ($heading-spacing - $section-spacing)
89
- $section-spacing
90
- $section-spacing;
85
+ color: $sidebar-title-color;
86
+ margin:
87
+ ($heading-spacing - $section-spacing)
88
+ $section-spacing
89
+ $section-spacing;
91
90
 
92
- h1, h2 {
91
+ h1,
92
+ h2 {
93
93
  color: inherit;
94
+ }
94
95
 
95
- &:last-child {
96
- margin-bottom: 0;
97
- }
96
+ h1:last-child,
97
+ h2:last-child {
98
+ margin-bottom: 0;
98
99
  }
99
100
  }
100
101
 
101
-
102
102
  /* -----------------------------------------------------------
103
103
  Mobile view for home page)
104
104
  ----------------------------------------------------------- */
@@ -114,14 +114,13 @@ body {
114
114
  }
115
115
 
116
116
  // Show secondary nav content + lead
117
- header ~ *, p.lead {
117
+ header ~ *,
118
+ p.lead {
118
119
  display: block;
119
120
  }
120
121
 
121
- header {
122
- ~ nav {
123
- display: flex;
124
- }
122
+ header ~ nav {
123
+ display: flex;
125
124
  }
126
125
 
127
126
  // Slightly more bottom padding to compensate for heading not match 100% of
@@ -131,7 +130,6 @@ body {
131
130
  }
132
131
  }
133
132
 
134
-
135
133
  /* -----------------------------------------------------------
136
134
  Tablet / Desktop view
137
135
  ----------------------------------------------------------- */
@@ -139,21 +137,22 @@ body {
139
137
  @media (min-width: $large-breakpoint) {
140
138
  body {
141
139
  flex-direction: row;
142
- height: 100vh;
143
- overflow-y: auto;
140
+ min-height: 100vh;
144
141
  -webkit-overflow-scrolling: touch;
142
+ overflow-y: auto;
143
+
145
144
  > * {
146
- max-height: 100vh;
147
- overflow-y: auto;
148
145
  -webkit-overflow-scrolling: touch;
146
+ overflow-y: auto;
149
147
  }
150
148
  }
151
149
 
152
150
  /* Undo mobile CSS */
153
151
 
154
- #sidebar, .home #sidebar {
155
- width: $sidebar-width;
152
+ #sidebar,
153
+ .home #sidebar {
156
154
  text-align: left;
155
+ width: $sidebar-width;
157
156
 
158
157
  > *:last-child {
159
158
  margin-bottom: 0;
@@ -161,12 +160,33 @@ body {
161
160
  }
162
161
 
163
162
  #sidebar {
163
+ position: fixed;
164
+
165
+ // Attach to bottom or top of window
166
+ @if $sidebar-sticky {
167
+ bottom: 0;
168
+ }
169
+
170
+ @else {
171
+ top: 0;
172
+ }
173
+
174
+ // Attach to right or left of window
175
+ @if $layout-reverse {
176
+ right: 0;
177
+ }
178
+
179
+ @else {
180
+ left: 0;
181
+ }
182
+
164
183
  .site-title {
165
184
  font-size: 3.25rem;
166
185
  .back-arrow { display: none; }
167
186
  }
168
187
 
169
- p.lead, header ~ * {
188
+ p.lead,
189
+ header ~ * {
170
190
  display: block;
171
191
  }
172
192
 
@@ -181,15 +201,26 @@ body {
181
201
  .container {
182
202
  background: $body-bg;
183
203
  color: $body-color;
184
- padding: $section-spacing * 2
185
- $section-spacing * 2
186
- 0;
187
- height: 100vh;
204
+ min-height: 100vh;
205
+ padding:
206
+ $section-spacing * 2
207
+ $section-spacing * 2
208
+ 0;
209
+
210
+ @if $layout-reverse {
211
+ margin-right: $sidebar-width;
212
+ }
213
+
214
+ @else {
215
+ margin-left: $sidebar-width;
216
+ }
188
217
 
189
218
  > header {
190
219
  color: $heading-color;
191
220
  margin: 0;
192
- h1, h2 {
221
+
222
+ h1,
223
+ h2 {
193
224
  color: inherit;
194
225
 
195
226
  &:last-child {
@@ -205,7 +236,6 @@ body {
205
236
  }
206
237
  }
207
238
 
208
-
209
239
  /* -----------------------------------------------------------
210
240
  Sidebar links + nav
211
241
  ----------------------------------------------------------- */
@@ -216,27 +246,32 @@ body {
216
246
  svg {
217
247
  fill: $sidebar-icon-color;
218
248
  }
249
+ }
219
250
 
220
- &:hover, &:focus, &.active {
221
- svg { fill: $sidebar-icon-color; }
222
- }
251
+ #sidebar a:hover,
252
+ #sidebar a:focus,
253
+ #sidebar a.active {
254
+ svg { fill: $sidebar-icon-color; }
255
+ }
223
256
 
224
- &:hover, &:focus {
225
- text-decoration: underline;
226
- &.icon {
227
- text-decoration: none;
228
- }
229
- }
257
+ #sidebar a:hover,
258
+ #sidebar a:focus {
259
+ text-decoration: underline;
230
260
 
231
- &.active {
232
- font-weight: bold;
261
+ &.icon {
262
+ text-decoration: none;
233
263
  }
234
264
  }
235
265
 
266
+ #sidebar a.active {
267
+ font-weight: bold;
268
+ }
269
+
236
270
  #sidebar .site-title {
237
271
  color: $sidebar-title-color;
238
272
  a { color: inherit; }
239
273
  }
274
+
240
275
  #sidebar nav {
241
276
  display: flex;
242
277
  }
@@ -246,14 +281,14 @@ body {
246
281
  }
247
282
 
248
283
  #sidebar-icon-links {
249
- max-width: 100%;
250
284
  flex-flow: row wrap;
251
285
  justify-content: center;
252
286
  margin-top: 1rem;
287
+ max-width: 100%;
253
288
 
254
289
  @media (min-width: $large-breakpoint) {
255
- margin-left: -0.25em;
256
290
  justify-content: flex-start;
291
+ margin-left: -0.25em;
257
292
  }
258
293
  }
259
294
 
@@ -263,39 +298,32 @@ body {
263
298
  }
264
299
 
265
300
  #sidebar nav > .icon {
266
- font-size: 1.5rem;
267
301
  display: inline-block;
302
+ font-size: 1.5rem;
268
303
  margin: 0 0.25em;
269
304
  }
270
305
 
306
+ @media print {
307
+ #sidebar {
308
+ display: none;
309
+ }
271
310
 
272
- /* -----------------------------------------------------------
273
- Sticky sidebar
311
+ body {
312
+ display: block;
313
+ }
274
314
 
275
- Set $sidebar-stick variable to affix sidebar contents to the
276
- bottom of the sidebar in tablets and up.
277
- ----------------------------------------------------------- */
315
+ .container {
316
+ display: block;
317
+ margin-left: 0;
318
+ margin-right: 0;
319
+ padding: 0;
278
320
 
279
- @if $sidebar-sticky {
280
- @media (min-width: $large-breakpoint) {
281
- body {
282
- align-items: flex-end;
321
+ > * {
322
+ max-width: 100%;
283
323
  }
284
324
  }
285
- }
286
-
287
-
288
- /* -----------------------------------------------------------
289
- Reverse layout
290
-
291
- Flip the orientation of the page by placing the `#sidebar`
292
- on the right.
293
- ----------------------------------------------------------- */
294
325
 
295
- @if $layout-reverse {
296
- @media (min-width: $large-breakpoint) {
297
- .container {
298
- order: -1;
299
- }
326
+ html {
327
+ font-size: normal;
300
328
  }
301
329
  }
@@ -3,15 +3,15 @@
3
3
  // Super small header above the content for site name and short description.
4
4
 
5
5
  .masthead {
6
- padding-top: 1rem;
7
- padding-bottom: 1rem;
8
6
  margin-bottom: 3rem;
7
+ padding-bottom: 1rem;
8
+ padding-top: 1rem;
9
9
  }
10
10
 
11
11
  .masthead-title {
12
- margin-top: 0;
13
- margin-bottom: 0;
14
12
  color: $gray-5;
13
+ margin-bottom: 0;
14
+ margin-top: 0;
15
15
 
16
16
  a {
17
17
  color: inherit;
@@ -20,6 +20,6 @@
20
20
  small {
21
21
  font-size: 75%;
22
22
  font-weight: 400;
23
- opacity: .5;
23
+ opacity: 0.5;
24
24
  }
25
25
  }
@@ -4,8 +4,8 @@
4
4
  // or to a parent if there are multiple elements to show.
5
5
 
6
6
  .message {
7
+ background-color: #f9f9f9;
8
+ color: #717171;
7
9
  margin-bottom: 1rem;
8
10
  padding: 1rem;
9
- color: #717171;
10
- background-color: #f9f9f9;
11
11
  }
@@ -7,24 +7,24 @@
7
7
  */
8
8
 
9
9
  .pagination {
10
- margin-bottom: $section-spacing;
11
10
  color: $gray-3;
11
+ margin-bottom: $section-spacing;
12
12
  text-align: center;
13
13
 
14
14
  > a {
15
- display: inline-block;
16
- padding: $padding-v $padding-h;
15
+ background: $body-bg;
17
16
  border: solid $border-color;
18
17
  border-radius: $border-radius;
19
18
  border-width: 1px;
20
- width: 60%;
21
- max-width: $sidebar-width;
22
- background: $body-bg;
23
19
  box-shadow: $default-box-shadow;
20
+ display: inline-block;
21
+ max-width: $sidebar-width;
22
+ padding: $padding-v $padding-h;
23
+ width: 60%;
24
+ }
24
25
 
25
- &:hover {
26
- background-color: $border-color;
27
- }
26
+ > a:hover {
27
+ background-color: $border-color;
28
28
  }
29
29
  }
30
30
 
@@ -60,13 +60,13 @@
60
60
  margin-top: 0;
61
61
 
62
62
  + * {
63
- padding-top: $section-spacing;
64
63
  border-top: 1px solid $border-color;
65
64
  margin-top: $section-spacing;
65
+ padding-top: $section-spacing;
66
66
  }
67
67
  }
68
68
 
69
69
  .index #sidebar {
70
70
  padding-bottom: $section-spacing;
71
71
  }
72
- }
72
+ }
@@ -3,90 +3,91 @@
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
- article + *, .post-body ~ section {
7
- padding-top: $section-spacing;
8
- border-top: 1px solid $border-color;
9
- margin-top: $section-spacing;
10
-
11
- > h2:first-child, > h3:first-child {
12
- margin-top: 0;
13
- }
6
+ .posts-by-tag h2 {
7
+ text-transform: capitalize;
14
8
  }
15
9
 
16
- .post, .page {
17
- .content {
18
- li + li {
19
- margin-top: .25rem;
20
- }
21
- }
10
+ // Blog post or page title
11
+ .page-title,
12
+ .post-title {
13
+ margin-top: 0;
22
14
  }
23
15
 
24
- // Blog post or page title
25
16
  .page-title,
26
17
  .post-title,
27
18
  .post-title a {
28
19
  color: $heading-color;
29
20
  }
30
- .page-title,
31
- .post-title {
32
- margin-top: 0;
33
- }
34
21
 
35
- // h1-size h2
36
- h2.post-title, h2.page-title {
22
+ h2.post-title,
23
+ h2.page-title {
37
24
  font-size: 2rem;
38
25
  }
39
26
 
40
- // Meta data line below post title
41
- .post-meta {
42
- margin-top: -.5rem;
43
- margin-bottom: 1rem;
44
- color: $body-muted;
45
- }
46
-
47
27
  .post-tags a {
48
28
  font-size: 0.8em;
49
29
  margin-right: 0.5rem;
50
- white-space:nowrap;
30
+ opacity: 0.75;
31
+ white-space: nowrap;
32
+
51
33
  .tag-name { text-transform: capitalize; }
52
34
 
53
- opacity: 0.75;
54
35
  &:hover {
55
- text-decoration: none;
56
36
  opacity: 1;
37
+ text-decoration: none;
57
38
  }
58
39
  }
59
40
 
60
- .posts-by-tag h2 {
61
- text-transform: capitalize;
62
- }
63
-
64
41
  .posts-list {
65
- padding-left: 0;
66
42
  list-style: none;
43
+ padding-left: 0;
67
44
 
68
45
  h3 {
69
46
  margin-top: 0;
70
47
  }
71
48
 
72
- li {
73
- small {
74
- font-size: 75%;
75
- color: #999;
76
- white-space: nowrap;
77
- }
78
-
79
- a:hover {
80
- color: $link-color;
81
- text-decoration: none;
82
-
83
- small {
84
- color: inherit;
85
- }
86
- }
49
+ li small {
50
+ color: #999;
51
+ font-size: 75%;
52
+ white-space: nowrap;
53
+ }
54
+
55
+ li a:hover {
56
+ color: $link-color;
57
+ text-decoration: none;
58
+ }
59
+
60
+ li a:hover small {
61
+ color: inherit;
62
+ }
63
+ }
64
+
65
+ article + *,
66
+ .post-body ~ section {
67
+ border-top: 1px solid $border-color;
68
+ margin-top: $section-spacing;
69
+ padding-top: $section-spacing;
70
+
71
+ > h2:first-child,
72
+ > h3:first-child {
73
+ margin-top: 0;
74
+ }
75
+ }
76
+
77
+ // Meta data line below post title
78
+ .post-meta {
79
+ color: $body-muted;
80
+ margin-bottom: 1rem;
81
+ margin-top: -0.5rem;
82
+ }
83
+
84
+ .post,
85
+ .page {
86
+ .content li + li {
87
+ margin-top: 0.25rem;
87
88
  }
88
89
  }
89
90
 
90
91
  button.disqus-load {
91
92
  margin-top: 1em;
92
- }
93
+ }
@@ -1,7 +1,7 @@
1
1
  .search-row {
2
- display: flex;
3
2
  border: 1px solid $border-color;
4
3
  border-radius: $border-radius;
4
+ display: flex;
5
5
  padding: 2px;
6
6
 
7
7
  input {
@@ -10,7 +10,8 @@
10
10
 
11
11
  input + input { margin-left: 2px; }
12
12
 
13
- input[type="text"], input[type="search"] {
13
+ input[type='text'],
14
+ input[type='search'] {
14
15
  flex-grow: 1;
15
16
  }
16
- }
17
+ }
@@ -1,64 +1,79 @@
1
1
  .highlight .hll { background-color: #ffc; }
2
2
  .highlight .c { color: #999; } /* Comment */
3
- .highlight .err { color: #a00; background-color: #faa } /* Error */
3
+ .highlight .err { /* Error */
4
+ background-color: #faa;
5
+ color: #a00;
6
+ }
4
7
  .highlight .k { color: #069; } /* Keyword */
5
- .highlight .o { color: #555 } /* Operator */
6
- .highlight .cm { color: #09f; font-style: italic } /* Comment.Multiline */
7
- .highlight .cp { color: #099 } /* Comment.Preproc */
8
+ .highlight .o { color: #555; } /* Operator */
9
+ .highlight .cm { /* Comment.Multiline */
10
+ color: #09f;
11
+ font-style: italic;
12
+ }
13
+ .highlight .cp { color: #099; } /* Comment.Preproc */
8
14
  .highlight .c1 { color: #999; } /* Comment.Single */
9
15
  .highlight .cs { color: #999; } /* Comment.Special */
10
- .highlight .gd { background-color: #fcc; border: 1px solid #c00 } /* Generic.Deleted */
11
- .highlight .ge { font-style: italic } /* Generic.Emph */
12
- .highlight .gr { color: #f00 } /* Generic.Error */
16
+ .highlight .gd { /* Generic.Deleted */
17
+ background-color: #fcc;
18
+ border: 1px solid #c00;
19
+ }
20
+ .highlight .ge { font-style: italic; } /* Generic.Emph */
21
+ .highlight .gr { color: #f00; } /* Generic.Error */
13
22
  .highlight .gh { color: #030; } /* Generic.Heading */
14
- .highlight .gi { background-color: #cfc; border: 1px solid #0c0 } /* Generic.Inserted */
15
- .highlight .go { color: #aaa } /* Generic.Output */
23
+ .highlight .gi { /* Generic.Inserted */
24
+ background-color: #cfc;
25
+ border: 1px solid #0c0;
26
+ }
27
+ .highlight .go { color: #aaa; } /* Generic.Output */
16
28
  .highlight .gp { color: #009; } /* Generic.Prompt */
17
- .highlight .gs { } /* Generic.Strong */
29
+ // .highlight .gs { } /* Generic.Strong */
18
30
  .highlight .gu { color: #030; } /* Generic.Subheading */
19
- .highlight .gt { color: #9c6 } /* Generic.Traceback */
31
+ .highlight .gt { color: #9c6; } /* Generic.Traceback */
20
32
  .highlight .kc { color: #069; } /* Keyword.Constant */
21
33
  .highlight .kd { color: #069; } /* Keyword.Declaration */
22
34
  .highlight .kn { color: #069; } /* Keyword.Namespace */
23
- .highlight .kp { color: #069 } /* Keyword.Pseudo */
35
+ .highlight .kp { color: #069; } /* Keyword.Pseudo */
24
36
  .highlight .kr { color: #069; } /* Keyword.Reserved */
25
37
  .highlight .kt { color: #078; } /* Keyword.Type */
26
- .highlight .m { color: #f60 } /* Literal.Number */
27
- .highlight .s { color: #d44950 } /* Literal.String */
28
- .highlight .na { color: #4f9fcf } /* Name.Attribute */
29
- .highlight .nb { color: #366 } /* Name.Builtin */
38
+ .highlight .m { color: #f60; } /* Literal.Number */
39
+ .highlight .s { color: #d44950; } /* Literal.String */
40
+ .highlight .na { color: #4f9fcf; } /* Name.Attribute */
41
+ .highlight .nb { color: #366; } /* Name.Builtin */
30
42
  .highlight .nc { color: #0a8; } /* Name.Class */
31
- .highlight .no { color: #360 } /* Name.Constant */
32
- .highlight .nd { color: #99f } /* Name.Decorator */
43
+ .highlight .no { color: #360; } /* Name.Constant */
44
+ .highlight .nd { color: #99f; } /* Name.Decorator */
33
45
  .highlight .ni { color: #999; } /* Name.Entity */
34
46
  .highlight .ne { color: #c00; } /* Name.Exception */
35
- .highlight .nf { color: #c0f } /* Name.Function */
36
- .highlight .nl { color: #99f } /* Name.Label */
47
+ .highlight .nf { color: #c0f; } /* Name.Function */
48
+ .highlight .nl { color: #99f; } /* Name.Label */
37
49
  .highlight .nn { color: #0cf; } /* Name.Namespace */
38
50
  .highlight .nt { color: #2f6f9f; } /* Name.Tag */
39
- .highlight .nv { color: #033 } /* Name.Variable */
51
+ .highlight .nv { color: #033; } /* Name.Variable */
40
52
  .highlight .ow { color: #000; } /* Operator.Word */
41
- .highlight .w { color: #bbb } /* Text.Whitespace */
42
- .highlight .mf { color: #f60 } /* Literal.Number.Float */
43
- .highlight .mh { color: #f60 } /* Literal.Number.Hex */
44
- .highlight .mi { color: #f60 } /* Literal.Number.Integer */
45
- .highlight .mo { color: #f60 } /* Literal.Number.Oct */
46
- .highlight .sb { color: #c30 } /* Literal.String.Backtick */
47
- .highlight .sc { color: #c30 } /* Literal.String.Char */
48
- .highlight .sd { color: #c30; font-style: italic } /* Literal.String.Doc */
49
- .highlight .s2 { color: #c30 } /* Literal.String.Double */
53
+ .highlight .w { color: #bbb; } /* Text.Whitespace */
54
+ .highlight .mf { color: #f60; } /* Literal.Number.Float */
55
+ .highlight .mh { color: #f60; } /* Literal.Number.Hex */
56
+ .highlight .mi { color: #f60; } /* Literal.Number.Integer */
57
+ .highlight .mo { color: #f60; } /* Literal.Number.Oct */
58
+ .highlight .sb { color: #c30; } /* Literal.String.Backtick */
59
+ .highlight .sc { color: #c30; } /* Literal.String.Char */
60
+ .highlight .sd { /* Literal.String.Doc */
61
+ color: #c30;
62
+ font-style: italic;
63
+ }
64
+ .highlight .s2 { color: #c30; } /* Literal.String.Double */
50
65
  .highlight .se { color: #c30; } /* Literal.String.Escape */
51
- .highlight .sh { color: #c30 } /* Literal.String.Heredoc */
52
- .highlight .si { color: #a00 } /* Literal.String.Interpol */
53
- .highlight .sx { color: #c30 } /* Literal.String.Other */
54
- .highlight .sr { color: #3aa } /* Literal.String.Regex */
55
- .highlight .s1 { color: #c30 } /* Literal.String.Single */
56
- .highlight .ss { color: #fc3 } /* Literal.String.Symbol */
57
- .highlight .bp { color: #366 } /* Name.Builtin.Pseudo */
58
- .highlight .vc { color: #033 } /* Name.Variable.Class */
59
- .highlight .vg { color: #033 } /* Name.Variable.Global */
60
- .highlight .vi { color: #033 } /* Name.Variable.Instance */
61
- .highlight .il { color: #f60 } /* Literal.Number.Integer.Long */
66
+ .highlight .sh { color: #c30; } /* Literal.String.Heredoc */
67
+ .highlight .si { color: #a00; } /* Literal.String.Interpol */
68
+ .highlight .sx { color: #c30; } /* Literal.String.Other */
69
+ .highlight .sr { color: #3aa; } /* Literal.String.Regex */
70
+ .highlight .s1 { color: #c30; } /* Literal.String.Single */
71
+ .highlight .ss { color: #fc3; } /* Literal.String.Symbol */
72
+ .highlight .bp { color: #366; } /* Name.Builtin.Pseudo */
73
+ .highlight .vc { color: #033; } /* Name.Variable.Class */
74
+ .highlight .vg { color: #033; } /* Name.Variable.Global */
75
+ .highlight .vi { color: #033; } /* Name.Variable.Instance */
76
+ .highlight .il { color: #f60; } /* Literal.Number.Integer.Long */
62
77
 
63
78
  .css .o,
64
79
  .css .o + .nt,
@@ -1,25 +1,22 @@
1
- .tags-list {
2
- a {
3
- margin-right: 0.5em;
4
- white-space: nowrap;
5
- opacity: 0.75;
1
+ .tags-list a {
2
+ margin-right: 0.5em;
3
+ opacity: 0.75;
4
+ white-space: nowrap;
5
+ }
6
6
 
7
- .tag-count {
8
- background: $link-color;
9
- color: rgba(255, 255, 255, 0.8);
10
- margin-left: 0.25em;
11
- border-radius: 1000px;
12
- font-size: 0.75em;
13
- padding-left: 0.6em;
14
- padding-right: 0.6em;
15
- }
7
+ .tags-list a .tag-count {
8
+ background: $link-color;
9
+ border-radius: 1000px;
10
+ color: rgba(255, 255, 255, 0.8);
11
+ font-size: 0.75em;
12
+ margin-left: 0.25em;
13
+ padding-left: 0.6em;
14
+ padding-right: 0.6em;
15
+ }
16
16
 
17
- // No underline because it looks weird with badge
18
- &:hover {
19
- text-decoration: none;
20
- opacity: 1;
21
- }
22
- }
17
+ .tags-list a:hover {
18
+ opacity: 1;
19
+ text-decoration: none;
23
20
  }
24
21
 
25
22
  @keyframes posts-for-tag-fade-in {
@@ -32,7 +29,7 @@
32
29
  display: none;
33
30
 
34
31
  &:target {
35
- display: block;
36
32
  animation: posts-for-tag-fade-in 0.6s ease-in-out;
33
+ display: block;
37
34
  }
38
- }
35
+ }
@@ -2,11 +2,17 @@
2
2
  //
3
3
  // Headings, body text, lists, and other misc typographic elements.
4
4
 
5
- h1, h2, h3, h4, h5, h6, .site-title {
6
- margin-bottom: $heading-spacing;
5
+ h1,
6
+ h2,
7
+ h3,
8
+ h4,
9
+ h5,
10
+ h6,
11
+ .site-title {
12
+ color: $heading-color;
7
13
  font-weight: 600;
8
14
  line-height: 1.25;
9
- color: $heading-color;
15
+ margin-bottom: $heading-spacing;
10
16
  text-rendering: optimizeLegibility;
11
17
  }
12
18
 
@@ -15,32 +21,36 @@ h1 {
15
21
  }
16
22
 
17
23
  h2 {
18
- margin-top: 1rem;
19
24
  font-size: 1.5rem;
25
+ margin-top: 1rem;
20
26
  }
21
27
 
22
28
  h3 {
23
- margin-top: 1.5rem;
24
29
  font-size: 1.25rem;
30
+ margin-top: 1.5rem;
25
31
  }
26
32
 
27
- h4, h5, h6 {
28
- margin-top: 1rem;
33
+ h4,
34
+ h5,
35
+ h6 {
29
36
  font-size: 1rem;
37
+ margin-top: 1rem;
30
38
  }
31
39
 
32
40
  p {
33
- margin-top: 0;
34
41
  margin-bottom: 1rem;
42
+ margin-top: 0;
35
43
  }
36
44
 
37
45
  strong {
38
46
  color: #303030;
39
47
  }
40
48
 
41
- ul, ol, dl {
42
- margin-top: 0;
49
+ ul,
50
+ ol,
51
+ dl {
43
52
  margin-bottom: 1rem;
53
+ margin-top: 0;
44
54
  }
45
55
 
46
56
  dt {
@@ -48,63 +58,62 @@ dt {
48
58
  }
49
59
 
50
60
  dd {
51
- margin-bottom: .5rem;
61
+ margin-bottom: 0.5rem;
52
62
  }
53
63
 
54
64
  hr {
55
- position: relative;
56
- margin: 1.5rem 0;
57
65
  border: 0;
58
- border-top: 1px solid #eee;
59
66
  border-bottom: 1px solid #fff;
67
+ border-top: 1px solid #eee;
68
+ margin: 1.5rem 0;
69
+ position: relative;
60
70
  }
61
71
 
62
72
  abbr {
73
+ color: #555;
63
74
  font-size: 85%;
64
75
  font-weight: bold;
65
- color: #555;
66
76
  text-transform: uppercase;
67
77
 
68
78
  &[title] {
69
- cursor: help;
70
79
  border-bottom: 1px dotted $border-color;
80
+ cursor: help;
71
81
  }
72
82
  }
73
83
 
74
84
  blockquote {
75
- padding: .5rem 1rem;
76
- margin: .8rem 0;
85
+ border-left: 0.25rem solid $border-color;
77
86
  color: #7a7a7a;
78
- border-left: .25rem solid $border-color;
87
+ margin: 0.8rem 0;
88
+ padding: 0.5rem 1rem;
79
89
 
80
90
  p:last-child {
81
91
  margin-bottom: 0;
82
92
  }
83
93
 
84
94
  @media (min-width: 30em) {
85
- padding-right: 5rem;
86
95
  padding-left: 1.25rem;
96
+ padding-right: 5rem;
87
97
  }
88
98
  }
89
99
 
90
-
91
100
  // Markdown footnotes
92
101
  //
93
102
  // See the example content post for an example.
94
103
 
95
104
  // Footnote number within body text
96
- a[href^="#fn:"],
105
+ a[href^='#fn:'],
97
106
  // Back to footnote link
98
- a[href^="#fnref:"] {
107
+ a[href^='#fnref:'] {
99
108
  display: inline-block;
100
- margin-left: .1rem;
101
109
  font-weight: bold;
110
+ margin-left: 0.1rem;
102
111
  }
103
112
 
104
113
  // List of footnotes
105
114
  .footnotes {
106
- margin-top: 2rem;
107
115
  font-size: 85%;
116
+ margin-top: 2rem;
108
117
  }
109
118
 
110
119
  // Custom type
@@ -117,8 +126,15 @@ a[href^="#fnref:"] {
117
126
  }
118
127
 
119
128
  // SVG Icons
120
- a svg, .icon svg {
129
+ a svg {
130
+ fill: $link-color;
131
+ }
132
+
133
+ a svg,
134
+ .icon svg {
121
135
  height: 1em;
122
136
  }
123
- a svg { fill: $link-color; }
124
- .icon { vertical-align: middle; }
137
+
138
+ .icon {
139
+ vertical-align: middle;
140
+ }
@@ -13,7 +13,7 @@ $cyan: #75b5aa !default;
13
13
  $blue: #268bd2 !default;
14
14
  $brown: #8f5536 !default;
15
15
 
16
- $root-font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", Arial, sans-serif !default;
16
+ $root-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', Arial, sans-serif !default;
17
17
  $root-font-size: 1rem !default;
18
18
  $root-line-height: 1.5 !default;
19
19
 
@@ -36,17 +36,14 @@ $large-font-size: 1.25rem !default;
36
36
 
37
37
  $box-shadow-size: 1px !default;
38
38
  $box-shadow-opacity: 0.16 !default;
39
- $default-box-shadow: $box-shadow-size
40
- $box-shadow-size
41
- $box-shadow-size
42
- rgba(0, 0, 0, $box-shadow-opacity);
39
+ $default-box-shadow: $box-shadow-size $box-shadow-size $box-shadow-size rgba(0, 0, 0, $box-shadow-opacity);
43
40
 
44
- $code-font-family: Menlo, Monaco, "Courier New", monospace !default;
41
+ $code-font-family: Menlo, Monaco, 'Courier New', monospace !default;
45
42
  $code-color: #bf616a !default;
46
43
 
47
44
  // Hyde theming
48
45
  $sidebar-bg-color: #202020 !default;
49
- $sidebar-fg-color: white !default;
46
+ $sidebar-fg-color: #fff !default;
50
47
  $sidebar-sticky: true !default;
51
48
  $layout-reverse: false !default;
52
49
 
metadata CHANGED
@@ -1,29 +1,35 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-hydeout
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.0.2
4
+ version: 4.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Fong
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-07-01 00:00:00.000000000 Z
11
+ date: 2020-03-01 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
15
15
  requirement: !ruby/object:Gem::Requirement
16
16
  requirements:
17
- - - "~>"
17
+ - - ">="
18
+ - !ruby/object:Gem::Version
19
+ version: '3.6'
20
+ - - "<"
18
21
  - !ruby/object:Gem::Version
19
- version: '3.4'
22
+ version: '5.0'
20
23
  type: :runtime
21
24
  prerelease: false
22
25
  version_requirements: !ruby/object:Gem::Requirement
23
26
  requirements:
24
- - - "~>"
27
+ - - ">="
28
+ - !ruby/object:Gem::Version
29
+ version: '3.6'
30
+ - - "<"
25
31
  - !ruby/object:Gem::Version
26
- version: '3.4'
32
+ version: '5.0'
27
33
  - !ruby/object:Gem::Dependency
28
34
  name: jekyll-gist
29
35
  requirement: !ruby/object:Gem::Requirement