jekyll-theme-endless 0.5.0 → 0.6.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: bb31bb43fb78dd91b274a5f84a57176b0aea3699eab6b1d3c8a2b992f1e3b79f
4
- data.tar.gz: 9f53070ae8f360023afa52c96a1d7207fffd392afc84b96a835ff329f5c2b809
3
+ metadata.gz: 5ae642c26adf0d100d6fef5595ade633b873f7c3a476260b62b6a53ec388c89e
4
+ data.tar.gz: aac144461e337811835964ff157c72ef4cb31a59e78172896bb6795026bdf9b8
5
5
  SHA512:
6
- metadata.gz: a5b90be2a585639374d61333397b4deeacb34d243a75406de135882d8ec174bf43eefb8d9c1f67be8d5118d56dfe7cba863ba962863ae43052f52e48904a8a4b
7
- data.tar.gz: 8ed8555b0301d77081320c5571d3a29aabe41de5127cfa209bf651b667a208c59687d9e233b4fb130c6ac3e062d07ca2f3b9b172888b5dfe8550191ae1f4c435
6
+ metadata.gz: e1f8cf523275fbf7f910d62884b8f5b446d47fdd73cd11f2bcf34d5d7b0758110e1a816a8f3a3d8e2a07bf576aa1b5e58bf2f76cc7f555af1cc2fb1ebeebdaec
7
+ data.tar.gz: 02b41c8ca4db8f22cbf1c761e946bac3ee71b404612ceee0f49a7e5cac02e0e520934d55ac53722967ed9e72e4c3801c4e65f7298bdc2c23be412f7e105e1d06
@@ -30,6 +30,9 @@ asciidoctor:
30
30
  # https://github.com/asciidoctor/jekyll-asciidoc#stylesheet-for-code-highlighting
31
31
  # https://github.com/asciidoctor/jekyll-asciidoc/issues/221#issuecomment-526857488
32
32
  source-highlighter: rouge
33
+ # Activate font-based admonition icons
34
+ # https://github.com/asciidoctor/jekyll-asciidoc#font-based-admonition-and-inline-icons
35
+ icons: font
33
36
 
34
37
 
35
38
 
@@ -64,8 +64,16 @@ Assumption: Non of the tags occurs more than one million times.
64
64
  {% endcomment %}
65
65
 
66
66
  {% assign number = site.tags[tag] | size %}
67
- {% assign percent = number | times: 1.0 | minus: min | times: sizeDifference | divided_by: steps | plus: 100 %}
68
- {% assign tagname = tag | replace:'-', ' ' %}
67
+ {% comment %}
68
+ Tags that only occur once, should be displayed smaller than 100% in the tag cloud.
69
+ {% endcomment %}
70
+ {% if number == 1 %}
71
+ {% assign percent = 65 %}
72
+ {% else %}
73
+ {% assign percent = number | times: 1.0 | minus: min | times: sizeDifference | divided_by: steps | plus: 100 %}
74
+ {% endif %}
75
+
76
+ {% assign tagname = tag %}
69
77
 
70
78
  <a
71
79
  href = "/{{ site.tag_dir | default: 'tags' }}/{{ tag }}"
@@ -0,0 +1,51 @@
1
+ div.admonitionblock {
2
+ border-radius: 5px;
3
+ box-shadow: 0 1px 4px #aaa;
4
+ background: #fff;
5
+ color: #111;
6
+ }
7
+ .admonitionblock table {
8
+ background-color: transparent;
9
+ width: 100%;
10
+ td {
11
+ padding: .75em .25em;
12
+ }
13
+ }
14
+ /* See:
15
+ * https://github.com/asciidoctor/jekyll-asciidoc#font-based-admonition-and-inline-icons
16
+ */
17
+ span.icon>.fa {
18
+ cursor: default;
19
+ }
20
+ .admonitionblock td.icon {
21
+ text-align: center;
22
+ width: 66px;
23
+
24
+ [class^="fa icon-"] {
25
+ font-size: 1.5em;
26
+ text-shadow: 1px 1px 2px rgba(0,0,0,.5);
27
+ cursor: default;
28
+ }
29
+ .icon-note:before {
30
+ content: "\f05a";
31
+ color: #19407c;
32
+ }
33
+ .icon-tip:before {
34
+ content: "\f0eb";
35
+ text-shadow: 1px 1px 2px rgba(155,155,0,.8);
36
+ color: #111;
37
+ }
38
+ .icon-warning:before {
39
+ content: "\f071";
40
+ color: #bf6900;
41
+ }
42
+ .icon-caution:before {
43
+ content: "\f06d";
44
+ color: #bf3400;
45
+ }
46
+ .icon-important:before {
47
+ content: "\f06a";
48
+ color: #bf0000;
49
+ }
50
+
51
+ }
@@ -0,0 +1,32 @@
1
+ /**
2
+ * Table blocks.
3
+ */
4
+
5
+ table.tableblock {
6
+
7
+ thead,
8
+ tfoot {
9
+ background: #e7e8e7;
10
+ font-weight: bold;
11
+ }
12
+
13
+ th.tableblock,
14
+ td.tableblock {
15
+ border: 0 solid #f00;
16
+ border: 0 solid #dedede;
17
+ padding: .5em .625em;
18
+ }
19
+
20
+ }
21
+
22
+ p.tableblock {
23
+ margin-bottom: 0;
24
+ }
25
+
26
+ table.grid-all {
27
+ th.tableblock,
28
+ td.tableblock {
29
+ border-width: 1px;
30
+ }
31
+ }
32
+
@@ -0,0 +1,14 @@
1
+ /*
2
+ * Applies to adminition blocks and table blocks
3
+ */
4
+ table {
5
+ background: #fff;
6
+ margin: .5em auto;
7
+ }
8
+
9
+ table tr.even,
10
+ table tr.alt,
11
+ table tr:nth-of-type(even) {
12
+ background: #f8f8f7;
13
+ }
14
+
@@ -3,7 +3,12 @@
3
3
  */
4
4
 
5
5
  .highlight {
6
- @at-root pre#{&} { background-color: #f8f8f8; padding: .5em 1em;}
6
+ @at-root pre#{&} {
7
+ -moz-tab-size: 2;
8
+ tab-size: 2;
9
+ background-color: #f8f8f8;
10
+ padding: .5em 1em;
11
+ }
7
12
  .hll { background-color: #ffffcc }
8
13
  .c { color: #080; font-style: italic } /* Comment */
9
14
  .err { color: #AA0000; background-color: #FFAAAA } /* Error */
@@ -0,0 +1,8 @@
1
+ /*
2
+ * Styles of structuring elements.
3
+ */
4
+ h2 {
5
+ padding-top: 1em;
6
+ }
7
+
8
+
@@ -6,6 +6,7 @@
6
6
 
7
7
  li {
8
8
  display: inline;
9
+ line-height: 1;
9
10
  }
10
11
  /* Every tag in the tag cloud should have a point as a separator. */
11
12
  li::after {
@@ -11,12 +11,20 @@
11
11
  @import "address";
12
12
  @import "tag-cloud";
13
13
  @import "posts";
14
+ @import "structure";
14
15
 
15
16
  /*
16
17
  * import styles for highlighting source code that was annotated using rouge.
17
18
  */
18
19
  @import "rouge-highlight";
19
20
 
21
+ /*
22
+ * import styles for AsciiDoc.
23
+ */
24
+ @import "adoc";
25
+ @import "adoc-admonition";
26
+ @import "adoc-tables";
27
+
20
28
  /*
21
29
  * import SCSS-Code contributed by the user of the theme.
22
30
  * imports from _scss/background.scss
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Endless
3
- VERSION = '0.5.0'
3
+ VERSION = '0.6.0'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-endless
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sven Boekhoff
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-11-08 00:00:00.000000000 Z
11
+ date: 2020-11-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -48,9 +48,13 @@ files:
48
48
  - _layouts/page.html
49
49
  - _layouts/post.html
50
50
  - _sass/address.scss
51
+ - _sass/adoc-admonition.scss
52
+ - _sass/adoc-tables.scss
53
+ - _sass/adoc.scss
51
54
  - _sass/background.scss
52
55
  - _sass/posts.scss
53
56
  - _sass/rouge-highlight.scss
57
+ - _sass/structure.scss
54
58
  - _sass/tag-cloud.scss
55
59
  - _sass/user.scss
56
60
  - assets/css/main.scss