jekyll-dash 1.1.2 → 1.1.3

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
  SHA256:
3
- metadata.gz: d5e2bac4fbf673ff9297b16ae9efb8579ec63a3fd754ad011f6b22f36f9565d6
4
- data.tar.gz: 3f99550e82c481cde80d35b6573b35615ebe8b0c8f1b7909f88a0decfe153304
3
+ metadata.gz: f776eec0f64ceec89f83368c5bb91221c54d57d3de02772859376a27efb6e517
4
+ data.tar.gz: d3c78f0ae35a024614cc9d66439d2f7c0bc043ffc8232a5f5340b71cc2f43cba
5
5
  SHA512:
6
- metadata.gz: 2d11b047a60ebb1b0367553348861d11cf0127259f97ecbc6a190810b03aa404887d74c7624a0132a82f78da49783a5467ea069223501de9250313e207e7e7b0
7
- data.tar.gz: 1d1e24eb69894d62fa2180766c320385f08103deace1fc0af90125c8300bdbd31af8758eece52e2030d008c50018cd547cc7d4abc58889b9186a45dd009aecd5
6
+ metadata.gz: e425b65b29a252c1cb625ffff874849764ffb1625160b28b945e1420680f6897af3cbece96d5e154235999641730026a1e488093627481484d0dc88499b65460
7
+ data.tar.gz: 0ccc76c7b354726f606dea84893042159ab9348fb6e3d075e1a3f084ae07a711d401177155e8c2304c00359df20c6c3166b4bacf031154ed6143a62e278c4774
@@ -2,9 +2,7 @@
2
2
  <div class="wrapper">
3
3
  <a class="site-title" rel="author" href="{{ "/" | relative_url }}">{{ site.title | escape }}<b class="command_prompt"></b><b class="blinking_cursor">_</b></a>
4
4
  <span class="social_links">
5
- {% for link in site.dash.social_links %}
6
- <a class="color-{{ link.color }}-hover" href="{{ link.url }}"><i class="fab fa-{{ link.icon }}"></i></a>
7
- {% endfor %}
5
+ {% for link in site.dash.social_links %}<a class="color-{{ link.color }}-hover" href="{{ link.url }}"><i class="fab fa-{{ link.icon }}"></i></a>{% endfor %}
8
6
 
9
7
  </span>
10
8
  </div>
data/_layouts/post.html CHANGED
@@ -32,7 +32,6 @@ layout: default
32
32
  <h3>
33
33
  <a href="{{ post.url }}">
34
34
  {{ post.title }}
35
- <small>{{ post.date | date_to_string }}</small>
36
35
  </a>
37
36
  </h3>
38
37
  </li>
data/_sass/dash.scss CHANGED
@@ -35,6 +35,8 @@ $spacing-unit: 30px !default;
35
35
  // Import partials.
36
36
  @import
37
37
  "dash/fonts",
38
+ "dash/icons",
39
+ "dash/mixins",
38
40
  "dash/colors",
39
41
  "dash/animations",
40
42
  "dash/base",
@@ -26,10 +26,14 @@ body, html {
26
26
  * Set `margin-bottom` to maintain vertical rhythm
27
27
  */
28
28
  h1, h2, h3, h4, h5, h6,
29
- p, blockquote, pre,
29
+ blockquote, pre,
30
30
  ul, ol, dl, figure,
31
31
  %vertical-rhythm {
32
- margin-bottom: $spacing-unit / 2;
32
+ margin-bottom: $spacing-unit / 3;
33
+ }
34
+
35
+ p {
36
+ margin: 0.5em 0;
33
37
  }
34
38
 
35
39
  figure {
@@ -83,6 +87,7 @@ li {
83
87
 
84
88
  video {
85
89
  width: 100%;
90
+ border-radius: 0.3em;
86
91
  }
87
92
 
88
93
  /**
@@ -139,7 +144,7 @@ blockquote {
139
144
  pre,
140
145
  code {
141
146
  @include relative-font-size(0.9375);
142
- border-radius: 3px;
147
+ border-radius: 0.3em;
143
148
  background-color: $color-background-dark;
144
149
  }
145
150
 
@@ -0,0 +1,7 @@
1
+ // Font Awesome Icons
2
+
3
+ $icon-quote-right: "\f10e";
4
+ $icon-chevron-right: "\f054";
5
+ $icon-check: "\f00c";
6
+ $icon-minus: "\f068";
7
+ $icon-flask: "\f0c3";
@@ -22,16 +22,8 @@
22
22
  }
23
23
 
24
24
  &:before {
25
- content: "\f054";
26
- font-family: "Font Awesome 5 Free";
27
- font-weight: 900;
28
- font-style: normal;
29
- font-variant: normal;
30
- text-rendering: auto;
31
- font-weight: 900;
32
-
33
- display: none;
34
- -webkit-font-smoothing: antialiased;
25
+ content: $icon-chevron-right;
26
+ @include font-awesome-icon;
35
27
  }
36
28
  }
37
29
  }
@@ -99,6 +91,7 @@
99
91
  overflow: hidden;
100
92
  width: 100%;
101
93
  animation: type 2s steps(60, end);
94
+ margin-bottom: 1em;
102
95
 
103
96
  & > svg {
104
97
  color: $color-blue;
@@ -113,16 +106,8 @@
113
106
  }
114
107
 
115
108
  &:before {
116
- content: "\f054";
117
- font-family: "Font Awesome 5 Free";
118
- font-weight: 900;
119
- font-style: normal;
120
- font-variant: normal;
121
- text-rendering: auto;
122
- font-weight: 900;
123
-
124
- display: none;
125
- -webkit-font-smoothing: antialiased;
109
+ content: $icon-chevron-right;
110
+ @include font-awesome-icon;
126
111
  }
127
112
  }
128
113
 
@@ -147,32 +132,26 @@
147
132
 
148
133
  ol > li {
149
134
  margin-left: 1em;
150
- line-height: $base-line-height * 1.35;
135
+ text-align: left;
136
+ margin-bottom: 0.6em;
151
137
  }
152
138
 
153
139
  ul > li {
154
- line-height: $base-line-height * 1.35;
140
+ text-align: left;
141
+ margin-bottom: 0.6em;
155
142
  color: lighten($color-green, 25%);
156
143
  list-style: none;
157
144
  margin-left: 0;
158
145
 
159
146
  svg {
160
147
  color: $color-green;
161
- margin-right: 0.5em;
148
+ margin-right: 0.65em;
162
149
  margin-bottom: -1px;
163
150
  }
164
151
 
165
152
  &:before {
166
- content: "\f14a";
167
- font-family: "Font Awesome 5 Free";
168
- font-weight: 900;
169
- font-style: normal;
170
- font-variant: normal;
171
- text-rendering: auto;
172
- font-weight: 900;
173
-
174
- display: none;
175
- -webkit-font-smoothing: antialiased;
153
+ content: $icon-check;
154
+ @include font-awesome-icon;
176
155
  }
177
156
  }
178
157
 
@@ -191,16 +170,8 @@
191
170
  color: lighten($color-yellow, 20%);
192
171
 
193
172
  &:before {
194
- content: "\f10e";
195
- font-family: "Font Awesome 5 Free";
196
- font-weight: 900;
197
- font-style: normal;
198
- font-variant: normal;
199
- text-rendering: auto;
200
- font-weight: 900;
201
-
202
- display: none;
203
- -webkit-font-smoothing: antialiased;
173
+ content: $icon-quote-right;
174
+ @include font-awesome-icon;
204
175
  }
205
176
 
206
177
  & > svg.svg-inline--fa {
@@ -218,7 +189,7 @@
218
189
  li {
219
190
  color: $color-yellow;
220
191
  &:before {
221
- content: "\f068";
192
+ content: $icon-minus;
222
193
  }
223
194
 
224
195
  & > svg {
@@ -311,10 +282,12 @@
311
282
 
312
283
  .social_links {
313
284
  float: right;
285
+ text-align: right;
286
+ display: inline-block;
314
287
  & > a {
315
288
  color: darken($color-foreground, 10%);
316
289
  display: inline-block;
317
- margin-left: 0.2em;
290
+ padding-left: 0.3em;
318
291
  font-size: $post-link-font-size * 1.35;
319
292
  }
320
293
  }
@@ -329,25 +302,27 @@ ul.related-posts {
329
302
  list-style: none;
330
303
  margin-left: 0;
331
304
 
305
+ a {
306
+ display: inline-block;
307
+ padding-top: 0.5em;
308
+ padding-bottom: 0.5em;
309
+ }
310
+ h3 {
311
+ display: inline-block;
312
+ margin: 0;
313
+ }
314
+
332
315
  & > svg.svg-inline--fa {
333
- color: $color-blue;
334
- margin-right: 0.5em;
335
- float: left;
336
- width: 25px;
337
- height: 25px;
316
+ color: $color-green;
317
+ margin-right: 0.3em;
318
+ width: 22px;
319
+ height: 22px;
320
+ margin-bottom: -2px;
338
321
  }
339
322
 
340
323
  &:before {
341
- content: "\f14b";
342
- font-family: "Font Awesome 5 Free";
343
- font-weight: 900;
344
- font-style: normal;
345
- font-variant: normal;
346
- text-rendering: auto;
347
- font-weight: 900;
348
-
349
- display: none;
350
- -webkit-font-smoothing: antialiased;
324
+ content: $icon-flask;
325
+ @include font-awesome-icon;
351
326
  }
352
327
  }
353
328
  }
@@ -0,0 +1,11 @@
1
+ @mixin font-awesome-icon {
2
+ font-family: "Font Awesome 5 Free";
3
+ font-weight: 900;
4
+ font-style: normal;
5
+ font-variant: normal;
6
+ text-rendering: auto;
7
+ font-weight: 900;
8
+
9
+ display: none;
10
+ -webkit-font-smoothing: antialiased;
11
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-dash
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Miguel Gonzalez Sanchez
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-10 00:00:00.000000000 Z
11
+ date: 2019-05-11 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -121,7 +121,9 @@ files:
121
121
  - _sass/dash/_base.scss
122
122
  - _sass/dash/_colors.scss
123
123
  - _sass/dash/_fonts.scss
124
+ - _sass/dash/_icons.scss
124
125
  - _sass/dash/_layout.scss
126
+ - _sass/dash/_mixins.scss
125
127
  - _sass/dash/_syntax-highlighting.scss
126
128
  - assets/css/style.scss
127
129
  - assets/favicon.png