shine-on-you-crazy-diamond-theme 1.0.1 → 1.1.2

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: 8797253486d39f32076133a1bd437f086b7cce260754c746e43efcd496060c3b
4
- data.tar.gz: 01f5dafe8dc7840c52009fa34704acef1c82056ec8912548f142554f0533e93f
3
+ metadata.gz: 06504d6629473a1942df04890e77b91b477066e922e16a159a5efb2e1c27e9c2
4
+ data.tar.gz: 03c4500a090c4abce11d81a397f51c4f1f31486e71900d57a50b32e14042365d
5
5
  SHA512:
6
- metadata.gz: 9e8ee527a308691f3ed5689ff7d79b3352fcbd7946da3027c9f074713b224c7962466ab3360525647b62b31c6f78dbb8bdf533dc4e20c530d9d150582489cda8
7
- data.tar.gz: 3d65c41da14f86a12564e3e3747391dac59c528212c1067b345ded588c0071a7cdbbf83bb175dcd9b74a51edf7d611f3ba3135a09472b5db7a418eb6f6bc9f79
6
+ metadata.gz: 9b0b790ea503ba2e60e57fe037ad00d4be7cc2824feda54d3f3ea0985e2cd864829743ae6d1a71d3d2cffaa06e5cf0c44b21bd6432a1d95c6f19b1c694777452
7
+ data.tar.gz: 291aef4e12331d736ed9682595b3a356ad9c7fbdbd537cd80dfdf0069175b82a8af9170a2573f818c3042350457174539d6378887742de531fe4b431a8c6db63
data/README.md CHANGED
@@ -41,6 +41,18 @@ Your theme is setup just like a normal Jekyll site! To test your theme, run `bun
41
41
  When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
42
42
  To add a custom directory to your theme-gem, please edit the regexp in `shine-on-you-crazy-diamond-theme.gemspec` accordingly.
43
43
 
44
+ ## Publishing
45
+
46
+ Build theme:
47
+ ```bash
48
+ $ gem build shine-on-you-crazy-diamond-theme.gemspec
49
+ ```
50
+
51
+ Push theme up to the RubyGems:
52
+ ```bash
53
+ $ gem push shine-on-you-crazy-diamond-theme-x.x.x.gem
54
+ ```
55
+
44
56
  ## License
45
57
 
46
58
  The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
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 %}
@@ -12,8 +12,7 @@
12
12
 
13
13
  <a href="/categories/{{ cat[0] | slugify }}">
14
14
  {{ cat[0] }}
15
- <i class="fa fa-circle" aria-hidden="true"></i>
16
- {{ cat[1].size }}
15
+ ({{ cat[1].size }})
17
16
  </a>
18
17
  </li>
19
18
  {% endfor %}
@@ -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
+ }
data/_sass/_header.scss CHANGED
@@ -45,7 +45,7 @@
45
45
 
46
46
  a {
47
47
  color: #555555;
48
- margin-left: 15px;
48
+ margin-left: 1.25rem;
49
49
  padding: 17px 0;
50
50
  text-decoration: none;
51
51
  }
@@ -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,21 @@
47
38
  max-width: 100%;
48
39
  }
49
40
  }
41
+
42
+ code {
43
+ background-color: #e9e9e9;
44
+ border-radius: 2px;
45
+ padding: 2px;
46
+ font-size: 0.9rem;
47
+ }
48
+
49
+ pre {
50
+ code {
51
+ font-size: .9rem;
52
+ margin-bottom: .8rem;
53
+ }
54
+
55
+ .terminal {
56
+ color: #00ff00;
57
+ }
58
+ }
data/_sass/_reset.scss CHANGED
@@ -63,3 +63,8 @@ abbr {
63
63
  border: 0;
64
64
  font-variant: normal;
65
65
  }
66
+
67
+ code {
68
+ font-family: monospace, monospace;
69
+ font-size: 1em;
70
+ }
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: 1.0.1
4
+ version: 1.1.2
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-10-03 00:00:00.000000000 Z
11
+ date: 2021-02-14 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: []