shine-on-you-crazy-diamond-theme 0.5.3 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 61bab3a1bdbf4b330b9e46f080e809fd36ba6e6c959cb6e85e5b1a60d911d074
4
- data.tar.gz: 1951590a6704eb1a0266f0bf8d4a8ba82c74cdf57d6110856006198fdc83cace
3
+ metadata.gz: b9ace0538ecca85528de3c3fb89bcef44712e1b64fc27c9a1579887b1d3def58
4
+ data.tar.gz: 9d1eed54ebe23c3a042d4436f6fd9a330c087a06ccb8185d2d8ab9125e211caf
5
5
  SHA512:
6
- metadata.gz: b36234b9ee9b4eb56ec7ea5ff45c67b6c618af9686cbe5d2ff8369e07c25934def49af73b508e5c2ae35cb5323c6745c3ce9b8c48ba2a2256712a150c520e70a
7
- data.tar.gz: 6fe8133eb8eab79abbf1771950f688f08ba64cb123ee0e5ac703d87cf92f0fad8bca080e7bf8c8aa43de9700c6125acd2a921432e6d554f0c2ae1a740c7c8a6f
6
+ metadata.gz: 399eea12173101c8f38d3ebc9661c2730c343677378c5a8e2487ccee0bfdbae000880a125c4b714a75b4b748f89df22b629f27519a4c2afb9036aef5070d17a2
7
+ data.tar.gz: '0916119cf65d483cda475199f71973088bbf56c9a4ac28ab9ae8ec840e20f63b38198943585634fde1eed9f20b6557d04f1a8275a2b6307b46b5df30c7b98ceb'
data/README.md CHANGED
@@ -3,9 +3,8 @@
3
3
  [![Gem Version](https://badge.fury.io/rb/shine-on-you-crazy-diamond-theme.svg)](http://badge.fury.io/rb/shine-on-you-crazy-diamond-theme)
4
4
  [![Maintainability](https://api.codeclimate.com/v1/badges/77053aa36e97ac9b72dc/maintainability)](https://codeclimate.com/github/ramonsantos/shine-on-you-crazy-diamond-theme/maintainability)
5
5
  [![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](https://opensource.org/licenses/MIT)
6
- ![Code Climate technical debt](https://img.shields.io/codeclimate/tech-debt/ramonsantos/shine-on-you-crazy-diamond-theme)
7
6
 
8
- Jekyll theme for my website
7
+ Jekyll theme for [my website](https://ramonsantos.github.io/).
9
8
 
10
9
  ## Installation
11
10
 
@@ -13,8 +13,6 @@
13
13
  </div>
14
14
 
15
15
  {%- if site.disqus.shortname -%}
16
- <footer id="comments">
17
- {%- include disqus_comments.html -%}
18
- </footer>
16
+ {%- include disqus_comments.html -%}
19
17
  {%- endif -%}
20
18
  </article>
@@ -1,25 +1,29 @@
1
1
  {%- if page.comments != false and page.layout == 'post' -%}
2
- <div id="disqus_thread"></div>
2
+ <br>
3
3
 
4
- <script>
5
- var disqus_config = function () {
6
- this.page.url = '{{ page.url | absolute_url }}';
7
- this.page.identifier = '{{ page.url | absolute_url }}';
8
- };
4
+ <footer id="comments">
5
+ <div id="disqus_thread"></div>
9
6
 
10
- (function() {
11
- var d = document, s = d.createElement('script');
7
+ <script>
8
+ var disqus_config = function () {
9
+ this.page.url = '{{ page.url | absolute_url }}';
10
+ this.page.identifier = '{{ page.url | absolute_url }}';
11
+ };
12
12
 
13
- s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
13
+ (function() {
14
+ var d = document, s = d.createElement('script');
14
15
 
15
- s.setAttribute('data-timestamp', +new Date());
16
- (d.head || d.body).appendChild(s);
17
- })();
18
- </script>
16
+ s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
19
17
 
20
- <script id="dsq-count-scr" src="//{{ site.disqus.shortname }}.disqus.com/count.js" async></script>
18
+ s.setAttribute('data-timestamp', +new Date());
19
+ (d.head || d.body).appendChild(s);
20
+ })();
21
+ </script>
21
22
 
22
- <noscript>Please enable JavaScript to view the
23
- <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a>
24
- </noscript>
23
+ <script id="dsq-count-scr" src="//{{ site.disqus.shortname }}.disqus.com/count.js" async></script>
24
+
25
+ <noscript>Please enable JavaScript to view the
26
+ <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a>
27
+ </noscript>
28
+ </footer>
25
29
  {%- endif -%}
data/_includes/head.html CHANGED
@@ -16,4 +16,7 @@
16
16
  <link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" rel="stylesheet">
17
17
  <link href="https://fonts.googleapis.com/css?family=Open+Sans" rel="stylesheet">
18
18
 
19
+ <script src="//cdnjs.cloudflare.com/ajax/libs/highlight.js/9.11.0/highlight.min.js"></script>
20
+ <script>hljs.initHighlightingOnLoad();</script>
21
+
19
22
  {% seo title=false %}
@@ -0,0 +1,14 @@
1
+ .not-found-content-page {
2
+ margin: 20px auto;
3
+ text-align: center;
4
+
5
+ h1 {
6
+ font-size: 5em;
7
+ line-height: 1;
8
+ margin: 30px 0;
9
+ }
10
+
11
+ p {
12
+ font-size: 1.6em;
13
+ }
14
+ }
@@ -0,0 +1,72 @@
1
+ /*
2
+ Monokai style - ported by Luigi Maselli - http://grigio.org
3
+ */
4
+
5
+ .hljs {
6
+ display: block;
7
+ overflow-x: auto;
8
+ padding: 0.5em;
9
+ background: #272822;
10
+ color: #ddd;
11
+ padding-bottom: 24px;
12
+ }
13
+
14
+ .hljs-tag,
15
+ .hljs-keyword,
16
+ .hljs-selector-tag,
17
+ .hljs-literal,
18
+ .hljs-strong,
19
+ .hljs-name {
20
+ color: #f92672;
21
+ }
22
+
23
+ .hljs-code {
24
+ color: #66d9ef;
25
+ }
26
+
27
+ .hljs-class .hljs-title {
28
+ color: white;
29
+ }
30
+
31
+ .hljs-attribute,
32
+ .hljs-symbol,
33
+ .hljs-regexp,
34
+ .hljs-link {
35
+ color: #bf79db;
36
+ }
37
+
38
+ .hljs-string,
39
+ .hljs-bullet,
40
+ .hljs-subst,
41
+ .hljs-title,
42
+ .hljs-section,
43
+ .hljs-emphasis,
44
+ .hljs-type,
45
+ .hljs-built_in,
46
+ .hljs-builtin-name,
47
+ .hljs-selector-attr,
48
+ .hljs-selector-pseudo,
49
+ .hljs-addition,
50
+ .hljs-variable,
51
+ .hljs-template-tag,
52
+ .hljs-template-variable {
53
+ color: #a6e22e;
54
+ }
55
+
56
+ .hljs-comment,
57
+ .hljs-quote,
58
+ .hljs-deletion,
59
+ .hljs-meta {
60
+ color: #75715e;
61
+ }
62
+
63
+ .hljs-keyword,
64
+ .hljs-selector-tag,
65
+ .hljs-literal,
66
+ .hljs-doctag,
67
+ .hljs-title,
68
+ .hljs-section,
69
+ .hljs-type,
70
+ .hljs-selector-id {
71
+ font-weight: bold;
72
+ }
data/_sass/_post.scss CHANGED
@@ -30,15 +30,6 @@
30
30
  }
31
31
  }
32
32
 
33
- .terminal {
34
- background-color: #222222;
35
- border-radius: 6px;
36
- color: #00ff00;
37
- font-size: 1em;
38
- margin-bottom: .8rem;
39
- padding: 16px;
40
- }
41
-
42
33
  .img {
43
34
  margin-bottom: 20px;
44
35
  text-align: center;
@@ -47,3 +38,20 @@
47
38
  max-width: 100%;
48
39
  }
49
40
  }
41
+
42
+ code {
43
+ background-color: #e9e9e9;
44
+ border-radius: 2px;
45
+ padding: 3px;
46
+ }
47
+
48
+ pre {
49
+ code {
50
+ font-size: .9rem;
51
+ margin-bottom: .8rem;
52
+ }
53
+
54
+ .terminal {
55
+ color: #00ff00;
56
+ }
57
+ }
data/_sass/_reset.scss CHANGED
@@ -1,65 +1,349 @@
1
- // Reset
2
- html {
3
- background: #ffffff;
4
- color: #000000;
5
- }
6
-
7
- body,
8
- div,
9
- dl, dt, dd,
10
- ul, ol, li,
11
- h1, h2, h3, h4, h5, h6,
12
- pre,
13
- code,
14
- legend,
15
- p,
16
- blockquote,
17
- th, td {
1
+ /*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
2
+
3
+ /* Document
4
+ ========================================================================== */
5
+
6
+ /**
7
+ * 1. Correct the line height in all browsers.
8
+ * 2. Prevent adjustments of font size after orientation changes in iOS.
9
+ */
10
+
11
+ html {
12
+ line-height: 1.15; /* 1 */
13
+ -webkit-text-size-adjust: 100%; /* 2 */
14
+ }
15
+
16
+ /* Sections
17
+ ========================================================================== */
18
+
19
+ /**
20
+ * Remove the margin in all browsers.
21
+ */
22
+
23
+ body {
18
24
  margin: 0;
19
- padding: 0;
20
25
  }
21
26
 
22
- table {
23
- border-collapse: collapse;
24
- border-spacing: 0;
27
+ /**
28
+ * Render the `main` element consistently in IE.
29
+ */
30
+
31
+ main {
32
+ display: block;
25
33
  }
26
34
 
27
- img {
28
- border: 0;
35
+ /**
36
+ * Correct the font size and margin on `h1` elements within `section` and
37
+ * `article` contexts in Chrome, Firefox, and Safari.
38
+ */
39
+
40
+ h1 {
41
+ font-size: 2em;
42
+ margin: 0.67em 0;
43
+ }
44
+
45
+ /* Grouping content
46
+ ========================================================================== */
47
+
48
+ /**
49
+ * 1. Add the correct box sizing in Firefox.
50
+ * 2. Show the overflow in Edge and IE.
51
+ */
52
+
53
+ hr {
54
+ box-sizing: content-box; /* 1 */
55
+ height: 0; /* 1 */
56
+ overflow: visible; /* 2 */
57
+ }
58
+
59
+ /**
60
+ * 1. Correct the inheritance and scaling of font size in all browsers.
61
+ * 2. Correct the odd `em` font sizing in all browsers.
62
+ */
63
+
64
+ pre {
65
+ font-family: monospace, monospace; /* 1 */
66
+ font-size: 1em; /* 2 */
67
+ }
68
+
69
+ /* Text-level semantics
70
+ ========================================================================== */
71
+
72
+ /**
73
+ * Remove the gray background on active links in IE 10.
74
+ */
75
+
76
+ a {
77
+ background-color: transparent;
78
+ }
79
+
80
+ /**
81
+ * 1. Remove the bottom border in Chrome 57-
82
+ * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
83
+ */
84
+
85
+ abbr[title] {
86
+ border-bottom: none; /* 1 */
87
+ text-decoration: underline; /* 2 */
88
+ text-decoration: underline dotted; /* 2 */
89
+ }
90
+
91
+ /**
92
+ * Add the correct font weight in Chrome, Edge, and Safari.
93
+ */
94
+
95
+ b,
96
+ strong {
97
+ font-weight: bolder;
29
98
  }
30
99
 
31
- address,
32
- caption,
33
- cite,
100
+ /**
101
+ * 1. Correct the inheritance and scaling of font size in all browsers.
102
+ * 2. Correct the odd `em` font sizing in all browsers.
103
+ */
104
+
34
105
  code,
35
- th,
36
- var {
37
- font-style: normal;
38
- font-weight: normal;
106
+ kbd,
107
+ samp {
108
+ font-family: monospace, monospace; /* 1 */
109
+ font-size: 1em; /* 2 */
110
+ }
111
+
112
+ /**
113
+ * Add the correct font size in all browsers.
114
+ */
115
+
116
+ small {
117
+ font-size: 80%;
118
+ }
119
+
120
+ /**
121
+ * Prevent `sub` and `sup` elements from affecting the line height in
122
+ * all browsers.
123
+ */
124
+
125
+ sub,
126
+ sup {
127
+ font-size: 75%;
128
+ line-height: 0;
129
+ position: relative;
130
+ vertical-align: baseline;
131
+ }
132
+
133
+ sub {
134
+ bottom: -0.25em;
135
+ }
136
+
137
+ sup {
138
+ top: -0.5em;
139
+ }
140
+
141
+ /* Embedded content
142
+ ========================================================================== */
143
+
144
+ /**
145
+ * Remove the border on images inside links in IE 10.
146
+ */
147
+
148
+ img {
149
+ border-style: none;
150
+ }
151
+
152
+ /* Forms
153
+ ========================================================================== */
154
+
155
+ /**
156
+ * 1. Change the font styles in all browsers.
157
+ * 2. Remove the margin in Firefox and Safari.
158
+ */
159
+
160
+ button,
161
+ input,
162
+ optgroup,
163
+ select,
164
+ textarea {
165
+ font-family: inherit; /* 1 */
166
+ font-size: 100%; /* 1 */
167
+ line-height: 1.15; /* 1 */
168
+ margin: 0; /* 2 */
169
+ }
170
+
171
+ /**
172
+ * Show the overflow in IE.
173
+ * 1. Show the overflow in Edge.
174
+ */
175
+
176
+ button,
177
+ input { /* 1 */
178
+ overflow: visible;
179
+ }
180
+
181
+ /**
182
+ * Remove the inheritance of text transform in Edge, Firefox, and IE.
183
+ * 1. Remove the inheritance of text transform in Firefox.
184
+ */
185
+
186
+ button,
187
+ select { /* 1 */
188
+ text-transform: none;
189
+ }
190
+
191
+ /**
192
+ * Correct the inability to style clickable types in iOS and Safari.
193
+ */
194
+
195
+ button,
196
+ [type="button"],
197
+ [type="reset"],
198
+ [type="submit"] {
199
+ -webkit-appearance: button;
200
+ }
201
+
202
+ /**
203
+ * Remove the inner border and padding in Firefox.
204
+ */
205
+
206
+ button::-moz-focus-inner,
207
+ [type="button"]::-moz-focus-inner,
208
+ [type="reset"]::-moz-focus-inner,
209
+ [type="submit"]::-moz-focus-inner {
210
+ border-style: none;
211
+ padding: 0;
212
+ }
213
+
214
+ /**
215
+ * Restore the focus styles unset by the previous rule.
216
+ */
217
+
218
+ button:-moz-focusring,
219
+ [type="button"]:-moz-focusring,
220
+ [type="reset"]:-moz-focusring,
221
+ [type="submit"]:-moz-focusring {
222
+ outline: 1px dotted ButtonText;
223
+ }
224
+
225
+ /**
226
+ * Correct the padding in Firefox.
227
+ */
228
+
229
+ fieldset {
230
+ padding: 0.35em 0.75em 0.625em;
231
+ }
232
+
233
+ /**
234
+ * 1. Correct the text wrapping in Edge and IE.
235
+ * 2. Correct the color inheritance from `fieldset` elements in IE.
236
+ * 3. Remove the padding so developers are not caught out when they zero out
237
+ * `fieldset` elements in all browsers.
238
+ */
239
+
240
+ legend {
241
+ box-sizing: border-box; /* 1 */
242
+ color: inherit; /* 2 */
243
+ display: table; /* 1 */
244
+ max-width: 100%; /* 1 */
245
+ padding: 0; /* 3 */
246
+ white-space: normal; /* 1 */
247
+ }
248
+
249
+ /**
250
+ * Add the correct vertical alignment in Chrome, Firefox, and Opera.
251
+ */
252
+
253
+ progress {
254
+ vertical-align: baseline;
255
+ }
256
+
257
+ /**
258
+ * Remove the default vertical scrollbar in IE 10+.
259
+ */
260
+
261
+ textarea {
262
+ overflow: auto;
263
+ }
264
+
265
+ /**
266
+ * 1. Add the correct box sizing in IE 10.
267
+ * 2. Remove the padding in IE 10.
268
+ */
269
+
270
+ [type="checkbox"],
271
+ [type="radio"] {
272
+ box-sizing: border-box; /* 1 */
273
+ padding: 0; /* 2 */
274
+ }
275
+
276
+ /**
277
+ * Correct the cursor style of increment and decrement buttons in Chrome.
278
+ */
279
+
280
+ [type="number"]::-webkit-inner-spin-button,
281
+ [type="number"]::-webkit-outer-spin-button {
282
+ height: auto;
283
+ }
284
+
285
+ /**
286
+ * 1. Correct the odd appearance in Chrome and Safari.
287
+ * 2. Correct the outline style in Safari.
288
+ */
289
+
290
+ [type="search"] {
291
+ -webkit-appearance: textfield; /* 1 */
292
+ outline-offset: -2px; /* 2 */
293
+ }
294
+
295
+ /**
296
+ * Remove the inner padding in Chrome and Safari on macOS.
297
+ */
298
+
299
+ [type="search"]::-webkit-search-decoration {
300
+ -webkit-appearance: none;
39
301
  }
40
302
 
41
- ol,
42
- ul {
43
- list-style: none;
303
+ /**
304
+ * 1. Correct the inability to style clickable types in iOS and Safari.
305
+ * 2. Change font properties to `inherit` in Safari.
306
+ */
307
+
308
+ ::-webkit-file-upload-button {
309
+ -webkit-appearance: button; /* 1 */
310
+ font: inherit; /* 2 */
44
311
  }
45
312
 
46
- caption,
47
- th {
48
- text-align: left;
313
+ /* Interactive
314
+ ========================================================================== */
315
+
316
+ /*
317
+ * Add the correct display in Edge, IE 10+, and Firefox.
318
+ */
319
+
320
+ details {
321
+ display: block;
49
322
  }
50
323
 
51
- h1, h2, h3, h4, h5, h6 {
52
- font-size: 100%;
53
- font-weight: normal;
324
+ /*
325
+ * Add the correct display in all browsers.
326
+ */
327
+
328
+ summary {
329
+ display: list-item;
54
330
  }
55
331
 
56
- q {
57
- ::before, ::after {
58
- content: '';
59
- }
332
+ /* Misc
333
+ ========================================================================== */
334
+
335
+ /**
336
+ * Add the correct display in IE 10+.
337
+ */
338
+
339
+ template {
340
+ display: none;
60
341
  }
61
342
 
62
- abbr {
63
- border: 0;
64
- font-variant: normal;
343
+ /**
344
+ * Add the correct display in IE 10.
345
+ */
346
+
347
+ [hidden] {
348
+ display: none;
65
349
  }
data/assets/main.scss CHANGED
@@ -10,5 +10,7 @@
10
10
  @import 'about_page';
11
11
  @import 'sidebar';
12
12
  @import 'post';
13
+ @import 'monokai';
13
14
  @import 'mobile_menu';
14
15
  @import 'footer';
16
+ @import '404_page';
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shine-on-you-crazy-diamond-theme
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ramonsantos
8
- autorequire:
8
+ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-09-12 00:00:00.000000000 Z
11
+ date: 2021-02-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -106,7 +106,7 @@ dependencies:
106
106
  - - ">="
107
107
  - !ruby/object:Gem::Version
108
108
  version: '0'
109
- description:
109
+ description:
110
110
  email:
111
111
  - ramonsantos.pe@gmail.com
112
112
  executables: []
@@ -131,6 +131,7 @@ files:
131
131
  - _layouts/home.html
132
132
  - _layouts/page.html
133
133
  - _layouts/post.html
134
+ - _sass/_404_page.scss
134
135
  - _sass/_about_page.scss
135
136
  - _sass/_content.scss
136
137
  - _sass/_footer.scss
@@ -138,6 +139,7 @@ files:
138
139
  - _sass/_header.scss
139
140
  - _sass/_mixin.scss
140
141
  - _sass/_mobile_menu.scss
142
+ - _sass/_monokai.scss
141
143
  - _sass/_post.scss
142
144
  - _sass/_reset.scss
143
145
  - _sass/_sidebar.scss
@@ -149,7 +151,7 @@ licenses:
149
151
  - MIT
150
152
  metadata:
151
153
  plugin_type: theme
152
- post_install_message:
154
+ post_install_message:
153
155
  rdoc_options: []
154
156
  require_paths:
155
157
  - lib
@@ -164,8 +166,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
164
166
  - !ruby/object:Gem::Version
165
167
  version: '0'
166
168
  requirements: []
167
- rubygems_version: 3.1.2
168
- signing_key:
169
+ rubygems_version: 3.1.4
170
+ signing_key:
169
171
  specification_version: 4
170
172
  summary: Theme from website https://ramonsantos.github.io/
171
173
  test_files: []