jekyll-theme-endless 0.5.0 → 0.6.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 +4 -4
- data/_config.yml +3 -0
- data/_includes/function_tag-cloud.html +10 -2
- data/_sass/adoc-admonition.scss +51 -0
- data/_sass/adoc-tables.scss +32 -0
- data/_sass/adoc.scss +14 -0
- data/_sass/rouge-highlight.scss +6 -1
- data/_sass/structure.scss +8 -0
- data/_sass/tag-cloud.scss +1 -0
- data/assets/css/main.scss +8 -0
- data/lib/jekyll-theme-endless/version.rb +1 -1
- metadata +6 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5ae642c26adf0d100d6fef5595ade633b873f7c3a476260b62b6a53ec388c89e
|
4
|
+
data.tar.gz: aac144461e337811835964ff157c72ef4cb31a59e78172896bb6795026bdf9b8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1f8cf523275fbf7f910d62884b8f5b446d47fdd73cd11f2bcf34d5d7b0758110e1a816a8f3a3d8e2a07bf576aa1b5e58bf2f76cc7f555af1cc2fb1ebeebdaec
|
7
|
+
data.tar.gz: 02b41c8ca4db8f22cbf1c761e946bac3ee71b404612ceee0f49a7e5cac02e0e520934d55ac53722967ed9e72e4c3801c4e65f7298bdc2c23be412f7e105e1d06
|
data/_config.yml
CHANGED
@@ -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
|
-
{%
|
68
|
-
|
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
|
+
|
data/_sass/adoc.scss
ADDED
data/_sass/rouge-highlight.scss
CHANGED
@@ -3,7 +3,12 @@
|
|
3
3
|
*/
|
4
4
|
|
5
5
|
.highlight {
|
6
|
-
@at-root pre#{&} {
|
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 */
|
data/_sass/tag-cloud.scss
CHANGED
data/assets/css/main.scss
CHANGED
@@ -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
|
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.
|
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-
|
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
|