jekyll-dash 1.0.12 → 1.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
  SHA256:
3
- metadata.gz: b655b8918095437933c36800879ac23fca13d62c8fdfb545409c28a2060260da
4
- data.tar.gz: 1d4dbbecab7755779ee81b801c2492a3021282f412bdd075282b05ca9471ae4b
3
+ metadata.gz: 8c69b1e86350b6c3390ff6c95e085bb5351ebccd3e91f06f8e28978f36477031
4
+ data.tar.gz: 8be1cbabef31ba361d28a11ccfd83a4466e520844ea6a3ea03d7b0d626989b75
5
5
  SHA512:
6
- metadata.gz: 5b8d4741eda0cb220273b8b649ec475a0df8188c1215028fe135c6a3502388f27b771456496ea034b49823decd898707c9655dd842f2314843b86a2f0f95dfa0
7
- data.tar.gz: b4ee0d8e090f3d88c1d820f72f3c42299ede41e5baea381afb08c288841eb9e3299409888d8eb51fde196f07e38438a0d22b8397a2cbfe461efd68979a4ca438
6
+ metadata.gz: 1981158e1c41687f94b2e82ffdba4a208bb4140f8ffb82bd42942f5badf32580d9195ab0af4dc219557aa31e51d68d869f9558b26e733d175397ccff55f1ed0d
7
+ data.tar.gz: 17a670693c4a7ed8b59b108b6e00c37455d9489b4016a3eedb13b180e53c40f51f03407057beb5e2bb7182ea6f245a856f1f9510ff071485edd36b4c316b3df5
data/README.md CHANGED
@@ -8,7 +8,7 @@ A dark theme for Jekyll, inspired by Dash UI for Atom. 🌒
8
8
  ---
9
9
  This theme for [Jekyll](https://jekyllrb.com/) has been inspired by [dash-ui](https://atom.io/themes/dash-ui), a dark theme for [Atom](https://atom.io).
10
10
 
11
- ![design](screenshot.png)
11
+ [![design](screenshot.png)](http://bitbrain.github.io)
12
12
 
13
13
  ## Installation
14
14
 
@@ -37,6 +37,9 @@ Or install it yourself as:
37
37
  Add the following configuration to your site. Customise it to your needs!
38
38
 
39
39
  ```yaml
40
+ # required by disqus to display comments
41
+ url: https://your-site-url
42
+
40
43
  # jekyll-paginate
41
44
  paginate: 5
42
45
  paginate_path: "/blog/page:num/"
@@ -14,6 +14,12 @@
14
14
  </main>
15
15
 
16
16
  {%- include footer.html -%}
17
+
18
+ <script>
19
+ window.FontAwesomeConfig = {
20
+ searchPseudoElements: true
21
+ }
22
+ </script>
17
23
  </body>
18
24
 
19
25
  </html>
@@ -18,6 +18,10 @@ body, html {
18
18
  padding: 0;
19
19
  }
20
20
 
21
+ *:focus {
22
+ outline: none;
23
+ }
24
+
21
25
  /**
22
26
  * Set `margin-bottom` to maintain vertical rhythm
23
27
  */
@@ -77,13 +81,18 @@ li {
77
81
  }
78
82
  }
79
83
 
84
+ video {
85
+ width: 100%;
86
+ }
87
+
80
88
  /**
81
89
  * Headings
82
90
  */
83
91
  h1, h2, h3, h4, h5, h6 {
84
92
  font-weight: $base-font-weight;
85
- margin-top: 0.5em;
86
- margin-bottom: 0.5em;
93
+ margin-top: 1em;
94
+ margin-bottom: 0.4em;
95
+ text-align: left;
87
96
  }
88
97
 
89
98
  /**
@@ -78,6 +78,7 @@
78
78
  }
79
79
 
80
80
  .post {
81
+ margin-bottom: 2em;
81
82
  .post-date {
82
83
  margin-top: 1em;
83
84
  color: $color-foreground-dark;
@@ -86,10 +87,87 @@
86
87
  margin-left: 0.5em;
87
88
  }
88
89
 
90
+ strong {
91
+ color: white;
92
+ }
93
+
89
94
  img {
90
95
  border-radius: 0.3em;
91
96
  width: 100%;
92
97
  }
98
+
99
+ li {
100
+ list-style: none;
101
+ margin-left: 0;
102
+
103
+ svg {
104
+ color: $color-green;
105
+ margin-right: 0.5em;
106
+ }
107
+
108
+ &:before {
109
+ content: "\f14a";
110
+ font-family: "Font Awesome 5 Free";
111
+ font-weight: 900;
112
+ font-style: normal;
113
+ font-variant: normal;
114
+ text-rendering: auto;
115
+ font-weight: 900;
116
+
117
+ display: none;
118
+ -webkit-font-smoothing: antialiased;
119
+ }
120
+ }
121
+
122
+ ul {
123
+ padding: 0;
124
+ margin-left: 0.5em;
125
+ }
126
+
127
+
128
+
129
+ & > blockquote {
130
+ margin-top: 2em;
131
+ margin-bottom: 2em;
132
+ margin-left: 0.5em;
133
+ font-style: italic;
134
+ color: lighten($color-yellow, 20%);
135
+
136
+ &:before {
137
+ content: "\f10e";
138
+ font-family: "Font Awesome 5 Free";
139
+ font-weight: 900;
140
+ font-style: normal;
141
+ font-variant: normal;
142
+ text-rendering: auto;
143
+ font-weight: 900;
144
+
145
+ display: none;
146
+ -webkit-font-smoothing: antialiased;
147
+ }
148
+
149
+ & > svg.svg-inline--fa {
150
+ float: left;
151
+ width: 3em;
152
+ height: 3em;
153
+ margin-right: 1em;
154
+ }
155
+
156
+ svg {
157
+ color: lighten($color-yellow, 20%);
158
+ }
159
+
160
+ li {
161
+ color: $color-yellow;
162
+ &:before {
163
+ content: "\f068";
164
+ }
165
+
166
+ & > svg {
167
+ margin-left: 2em;
168
+ }
169
+ }
170
+ }
93
171
  }
94
172
 
95
173
  .post-link-wrapper {
@@ -183,6 +261,35 @@
183
261
  }
184
262
  }
185
263
 
186
- blockquote {
187
- color: $color-orange;
264
+ ul.related-posts {
265
+
266
+ margin: 0;
267
+ margin-left: 1em;
268
+ padding: 0;
269
+
270
+ & > li {
271
+ list-style: none;
272
+ margin-left: 0;
273
+
274
+ & > svg.svg-inline--fa {
275
+ color: $color-blue;
276
+ margin-right: 0.5em;
277
+ float: left;
278
+ width: 25px;
279
+ height: 25px;
280
+ }
281
+
282
+ &:before {
283
+ content: "\f14b";
284
+ font-family: "Font Awesome 5 Free";
285
+ font-weight: 900;
286
+ font-style: normal;
287
+ font-variant: normal;
288
+ text-rendering: auto;
289
+ font-weight: 900;
290
+
291
+ display: none;
292
+ -webkit-font-smoothing: antialiased;
293
+ }
294
+ }
188
295
  }
data/_sass/dash.scss CHANGED
@@ -8,7 +8,7 @@ $post-link-font-size: $base-font-size * 1.25 !default;
8
8
  $base-font-weight: 500 !default;
9
9
  $small-font-size: $base-font-size * 0.875 !default;
10
10
  $base-line-height: 1.5 !default;
11
- $syntax-line-height: 1.2 !default;
11
+ $syntax-line-height: 1.3 !default;
12
12
 
13
13
  // Width of the content area
14
14
  $content-width: 800px !default;
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.0.12
4
+ version: 1.1.0
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-09 00:00:00.000000000 Z
11
+ date: 2019-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll