dendron-jekyll 0.3.3 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/head.html +6 -1
- data/_includes/toc.html +2 -1
- data/_layouts/default.html +27 -0
- data/_sass/_portal.scss +114 -0
- data/_sass/modules.scss +8 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 89ba72eea854b6ed542db4ab906c2e5de88154374b7952f95f295352f7f6c8ef
|
4
|
+
data.tar.gz: 83850c335f5287dcde92fc65ff95bbfcc828d1d8b1aa30bc50679615ca255860
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb4ae47cd98f93c5846e74dda8c199efafe972c0b79f43eaae9183b29a7bfb7ed4930dae075dd60cce681f81b86905b5fbb8147baa204cd496f1878668dd561a
|
7
|
+
data.tar.gz: 27ddc55047b498ab339264d4c9953b46fa71464b8c5630fc8c1ef7742405d595c4b15bebd0b982e51e21ae4c40b547d75c80dd2bfd05f2b7e20b6c08b6c717e4
|
data/_includes/head.html
CHANGED
@@ -33,8 +33,13 @@
|
|
33
33
|
|
34
34
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
35
35
|
|
36
|
+
{% if page.noindex %}
|
37
|
+
<meta name="robots" content="noindex, nofollow">
|
38
|
+
{% endif %}
|
39
|
+
|
40
|
+
|
36
41
|
{% seo %}
|
37
42
|
|
38
43
|
{% include head_custom.html %}
|
39
44
|
|
40
|
-
</head>
|
45
|
+
</head>
|
data/_includes/toc.html
CHANGED
@@ -2,8 +2,9 @@
|
|
2
2
|
{%- if tocNodes.size > 0 -%}
|
3
3
|
<hr>
|
4
4
|
<h2 class="text-delta">Table of contents</h2>
|
5
|
+
{%- assign sorted_nodes = tocNodes | sort_natural:"title" -%}
|
5
6
|
<ul>
|
6
|
-
{%- for tocNode in
|
7
|
+
{%- for tocNode in sorted_nodes -%}
|
7
8
|
<li>
|
8
9
|
<a href="{{ tocNode.url | absolute_url }}">{{ tocNode.title }}</a>
|
9
10
|
{%- if tocNode.summary -%}
|
data/_layouts/default.html
CHANGED
@@ -97,6 +97,33 @@ layout: table_wrappers
|
|
97
97
|
{% endif %}
|
98
98
|
{% endunless %}
|
99
99
|
<div id="main-content" class="main-content" role="main">
|
100
|
+
|
101
|
+
{% if page.sources %}
|
102
|
+
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/css/bootstrap.min.css" integrity="sha384-9aIt2nRpC12Uk9gS9baDl411NQApFmC26EwAOH8WgZl5MYYxFfc+NcPb1dKGj7Sk" crossorigin="anonymous">
|
103
|
+
<script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"></script>
|
104
|
+
<script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.0/dist/umd/popper.min.js" integrity="sha384-Q6E9RHvbIyZFJoft+2mJbHaEWldlvI9IOYy5n3zV9zzTtmI3UksdQRVvoxMfooAo" crossorigin="anonymous"></script>
|
105
|
+
<script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.0/js/bootstrap.min.js" integrity="sha384-OgVRvuATP1z7JjHLkuOU7Xw704+h835Lr+6QL9UvYjZE3Ipu6Tp75j7Bh/kR0JKI" crossorigin="anonymous"></script>
|
106
|
+
|
107
|
+
<div class="alert alert-primary" role="alert">
|
108
|
+
This page was generated from content adapted from the following <a href="#" data-html="true" data-toggle="popover" title="Attributions">sources</a>
|
109
|
+
|
110
|
+
<a href="{{page.source.url}}" target="_blank">{% if page.source.name %} {{page.source.name}} {% else %} {{page.source.url}} {% endif %}
|
111
|
+
</a>
|
112
|
+
</div>
|
113
|
+
|
114
|
+
<script>
|
115
|
+
$(function () {
|
116
|
+
$('[data-toggle="popover"]').popover({content: `
|
117
|
+
<ul>
|
118
|
+
{% for source in page.sources %}
|
119
|
+
<li> <a href="{{source.url}}" target="_blank">{% if source.name %} {{source.name}} {% else %} {{source.url}} {% endif %} </li>
|
120
|
+
{% endfor %}
|
121
|
+
</ul>
|
122
|
+
`})
|
123
|
+
})
|
124
|
+
</script>
|
125
|
+
{% endif %}
|
126
|
+
|
100
127
|
{% if site.heading_anchors != false %}
|
101
128
|
{% include vendor/anchor_headings.html html=content beforeHeading="true" anchorBody="<svg viewBox=\"0 0 16 16\" aria-hidden=\"true\"><use xlink:href=\"#svg-link\"></use></svg>" anchorClass="anchor-heading" %}
|
102
129
|
{% else %}
|
data/_sass/_portal.scss
ADDED
@@ -0,0 +1,114 @@
|
|
1
|
+
// Clear normal iframe styles
|
2
|
+
iframe{
|
3
|
+
border: none;
|
4
|
+
}
|
5
|
+
|
6
|
+
// Portal styles
|
7
|
+
.portal-container{
|
8
|
+
overscroll-behavior: contain;
|
9
|
+
border: 1px solid #C2DFE3;
|
10
|
+
border-radius: 8px;
|
11
|
+
margin-bottom: 24px;
|
12
|
+
padding: 10px;
|
13
|
+
|
14
|
+
-webkit-transition: all .20s ease;
|
15
|
+
-moz-transition: all .20s ease;
|
16
|
+
-ms-transition: all .20s ease;
|
17
|
+
-o-transition: all .20s ease;
|
18
|
+
transition: all .20s ease;
|
19
|
+
|
20
|
+
&:hover{
|
21
|
+
transform: translateY(-3px);
|
22
|
+
box-shadow: 0px 6px 20px 0px rgba(0,0,0,.15);
|
23
|
+
border: 1px solid #9DB8BF;
|
24
|
+
}
|
25
|
+
|
26
|
+
.portal-head{
|
27
|
+
border-bottom: 1px solid #C2DFE3;
|
28
|
+
padding: 12px;
|
29
|
+
|
30
|
+
.portal-backlink{
|
31
|
+
display: flex;
|
32
|
+
flex-direction: column;
|
33
|
+
|
34
|
+
-webkit-transition: all .20s ease;
|
35
|
+
-moz-transition: all .20s ease;
|
36
|
+
-ms-transition: all .20s ease;
|
37
|
+
-o-transition: all .20s ease;
|
38
|
+
transition: all .20s ease;
|
39
|
+
// @include align-items($align: left);
|
40
|
+
|
41
|
+
@media(min-width:600px){
|
42
|
+
flex-direction: row;
|
43
|
+
justify-content: space-between;
|
44
|
+
align-items: center;
|
45
|
+
}
|
46
|
+
.portal-title{
|
47
|
+
font-size: 14px;
|
48
|
+
color: #9DB8BF;
|
49
|
+
.portal-text-title{
|
50
|
+
font-weight:700;
|
51
|
+
color: #5C6D73;
|
52
|
+
}
|
53
|
+
}
|
54
|
+
.portal-arrow{
|
55
|
+
font-size: 14px;
|
56
|
+
color: #9DB8BF;
|
57
|
+
&:hover{
|
58
|
+
opacity:.5;
|
59
|
+
}
|
60
|
+
}
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
.portal-iframe{
|
65
|
+
overflow:hidden;
|
66
|
+
}
|
67
|
+
.portal-parent{
|
68
|
+
overflow:hidden;
|
69
|
+
position: relative;
|
70
|
+
width:100%;
|
71
|
+
box-sizing: border-box;
|
72
|
+
.portal-parent-fader-top{
|
73
|
+
position: absolute;
|
74
|
+
width: 100%;
|
75
|
+
margin-left: 0px;
|
76
|
+
height: 36px;
|
77
|
+
// background-image: linear-gradient(rgba(255,255,255,1), rgba(255,255,255,0));
|
78
|
+
z-index: 50;
|
79
|
+
}
|
80
|
+
.portal-parent-fader-bottom{
|
81
|
+
position: absolute;
|
82
|
+
width: 100%;
|
83
|
+
bottom: 6px;
|
84
|
+
margin-left: 0px;
|
85
|
+
height: 36px;
|
86
|
+
// background-image: linear-gradient(rgba(255,255,255,0), rgba(255,255,255,1));
|
87
|
+
z-index: 50;
|
88
|
+
}
|
89
|
+
.portal-parent-text{
|
90
|
+
padding:$base-line-height / 2;
|
91
|
+
color: #5C6D73;
|
92
|
+
z-index: 40;
|
93
|
+
}
|
94
|
+
.portal-iframe{
|
95
|
+
width:100%;
|
96
|
+
height:400px;
|
97
|
+
}
|
98
|
+
}
|
99
|
+
}
|
100
|
+
|
101
|
+
// Things that happen in the iframe have to be applied to the whole site,
|
102
|
+
// as you can't use css on iframe contents – not a major issue for the time being,
|
103
|
+
// considering you have to own the site you're transcluding.
|
104
|
+
// Make sure your theme's anchor text styling explicitly hits a:link and not all a tags to avoid
|
105
|
+
// making quoted text look like a link.
|
106
|
+
.portal-quote-text {
|
107
|
+
background-color: #C2DFE3;
|
108
|
+
color: lighten($text-color, 15%);
|
109
|
+
|
110
|
+
// This fixes hovers behaving wrong on safari when using an <a> tag to highlight
|
111
|
+
&:hover {
|
112
|
+
text-decoration: none;
|
113
|
+
}
|
114
|
+
}
|
data/_sass/modules.scss
CHANGED
@@ -19,7 +19,14 @@
|
|
19
19
|
@import "./utilities/utilities";
|
20
20
|
@import "./print";
|
21
21
|
|
22
|
+
// Portal Start
|
23
|
+
$base-line-height: 1.5 !default;
|
24
|
+
$spacing-unit: 30px !default;
|
25
|
+
$text-color: #111 !default;
|
26
|
+
// Portal end
|
27
|
+
|
22
28
|
@import "minimal-mistakes/variables";
|
23
29
|
@import "minimal-mistakes/vendor/breakpoint/breakpoint";
|
24
30
|
@import "minimal-mistakes/mixins";
|
25
|
-
@import "minimal-mistakes/sidebar";
|
31
|
+
@import "minimal-mistakes/sidebar";
|
32
|
+
@import "portal.scss";
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: dendron-jekyll
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Kevin Lin
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-09-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -72,7 +72,7 @@ dependencies:
|
|
72
72
|
- - "<"
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: 13.1.0
|
75
|
-
description:
|
75
|
+
description:
|
76
76
|
email:
|
77
77
|
- kevin@thence.io
|
78
78
|
executables:
|
@@ -109,6 +109,7 @@ files:
|
|
109
109
|
- _layouts/single.html
|
110
110
|
- _layouts/table_wrappers.html
|
111
111
|
- _layouts/vendor/compress.html
|
112
|
+
- _sass/_portal.scss
|
112
113
|
- _sass/base.scss
|
113
114
|
- _sass/buttons.scss
|
114
115
|
- _sass/code.scss
|
@@ -223,7 +224,7 @@ homepage: https://github.com/dendronhq/dendron-jekyll
|
|
223
224
|
licenses:
|
224
225
|
- MIT
|
225
226
|
metadata: {}
|
226
|
-
post_install_message:
|
227
|
+
post_install_message:
|
227
228
|
rdoc_options: []
|
228
229
|
require_paths:
|
229
230
|
- lib
|
@@ -239,7 +240,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
239
240
|
version: '0'
|
240
241
|
requirements: []
|
241
242
|
rubygems_version: 3.0.3
|
242
|
-
signing_key:
|
243
|
+
signing_key:
|
243
244
|
specification_version: 4
|
244
245
|
summary: Dendron Jekyll Theme
|
245
246
|
test_files: []
|