jekyll-bonsai 0.0.3 → 0.0.7
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/LICENSE +676 -0
- data/README.md +3 -5
- data/_config.yml +173 -76
- data/_data/emoji.yml +45 -0
- data/_data/themes.yml +145 -0
- data/_includes/anchor-headings.html +5 -1
- data/_includes/btn_state.html +14 -0
- data/_includes/connect.html +11 -9
- data/_includes/cookie-consent.html +79 -0
- data/_includes/dates.html +22 -0
- data/_includes/hp-tooltip.html +106 -0
- data/_includes/img/bullet-net-web.svg +1 -1
- data/_includes/img/bullet-tree.svg +1 -1
- data/_includes/img/pencil-filter.svg +17 -0
- data/_includes/share.html +10 -8
- data/_includes/site-nav.html +83 -37
- data/_includes/tags.html +49 -0
- data/_includes/themes.scss.liquid +80 -0
- data/_includes/toc.html +187 -0
- data/_layouts/404.html +10 -0
- data/_layouts/about.html +14 -0
- data/_layouts/archive.html +77 -0
- data/_layouts/base.html +68 -0
- data/_layouts/book.html +40 -0
- data/_layouts/entry.html +238 -93
- data/_layouts/home.html +96 -0
- data/_layouts/post.html +30 -22
- data/_layouts/privacy.html +15 -0
- data/_layouts/recent.html +66 -0
- data/_layouts/state.html +54 -43
- data/_sass/base/_code.scss +133 -0
- data/_sass/base/_layout.scss +30 -29
- data/_sass/base/_link.scss +105 -0
- data/_sass/base/_main.scss +19 -126
- data/_sass/base/_markdown.scss +281 -0
- data/_sass/base/_typography.scss +81 -67
- data/_sass/base/code_themes/_gruvbox.scss +92 -0
- data/_sass/base/code_themes/_monokai.scss +217 -0
- data/_sass/base/code_themes/_solarized.scss +84 -0
- data/_sass/components/_btn.scss +95 -0
- data/_sass/components/_infobox.scss +48 -0
- data/_sass/components/_item.scss +28 -0
- data/_sass/components/_search.scss +61 -0
- data/_sass/components/_tag_pills.scss +24 -0
- data/_sass/components/_visited.scss +42 -0
- data/_sass/includes/_anchor_headings.scss +36 -0
- data/_sass/includes/_connect.scss +8 -0
- data/_sass/includes/_cookie_consent.scss +46 -0
- data/_sass/includes/_dates.scss +6 -0
- data/_sass/includes/_hp_tooltip.scss +41 -0
- data/_sass/includes/_share.scss +10 -0
- data/_sass/includes/_site_nav.scss +26 -150
- data/_sass/includes/_svg.scss +89 -0
- data/_sass/includes/_toc.scss +38 -0
- data/_sass/layouts/_404.scss +3 -0
- data/_sass/layouts/_about.scss +3 -0
- data/_sass/layouts/_archive.scss +26 -0
- data/_sass/layouts/_book.scss +17 -0
- data/_sass/layouts/_entry.scss +140 -0
- data/_sass/layouts/_home.scss +75 -0
- data/_sass/layouts/_post.scss +17 -0
- data/_sass/layouts/_privacy.scss +3 -0
- data/_sass/layouts/_recent.scss +77 -0
- data/_sass/layouts/_state.scss +98 -0
- data/_sass/main.scss +72 -0
- data/_sass/{support → util}/_functions.scss +0 -0
- data/_sass/{support → util}/_variables.scss +21 -87
- data/_sass/{support → util}/mixins/_buttons.scss +0 -0
- data/_sass/util/mixins/_layout.scss +81 -0
- data/_sass/{support → util}/mixins/_typography.scss +0 -0
- data/assets/css/styles.scss +29 -6
- data/assets/img/bonsai-star.png +0 -0
- data/assets/img/bonsai-star.svg +1 -0
- data/assets/img/books/the-ancient-art-of-bonsai.png +0 -0
- data/assets/img/nav-base-star.svg +1 -0
- data/assets/img/nav-bonsai-star.svg +1 -0
- data/assets/js/entry.js +33 -5
- data/assets/js/graph.js +21 -509
- data/assets/js/scripts.js +41 -57
- data/assets/js/search.js +165 -0
- data/assets/js/site-nav.js +99 -99
- data/assets/js/theme-colors.js +23 -37
- data/assets/js/vendor/lunr.js +3475 -0
- data/assets/js/vendor/lunr.min.js +6 -0
- data/assets/js/visited-nav.js +65 -0
- metadata +145 -150
- data/_entries/digital-garden.bonsai.md +0 -36
- data/_entries/digital-garden.field-logs.md +0 -10
- data/_entries/digital-garden.fork.md +0 -10
- data/_entries/digital-garden.md +0 -17
- data/_entries/digital-garden.path.md +0 -11
- data/_entries/digital-garden.plants.md +0 -12
- data/_entries/digital-garden.pollinate.md +0 -10
- data/_entries/digital-garden.steps.md +0 -10
- data/_entries/digital-garden.stream.md +0 -12
- data/_entries/digital-garden.sweep.md +0 -12
- data/_entries/digital-garden.weather.md +0 -12
- data/_entries/features.md +0 -10
- data/_entries/features.notes.hover-preview.md +0 -10
- data/_entries/features.notes.md +0 -12
- data/_entries/features.notes.note-body.md +0 -12
- data/_entries/features.notes.note-body.share.md +0 -10
- data/_entries/features.notes.note-body.sidenotes.md +0 -52
- data/_entries/features.notes.note-foot.links.md +0 -10
- data/_entries/features.notes.note-foot.md +0 -11
- data/_entries/features.notes.note-foot.posts.md +0 -10
- data/_entries/features.notes.note-foot.webmentions.md +0 -10
- data/_entries/features.notes.note-head.md +0 -10
- data/_entries/features.pages.field-blogs.md +0 -10
- data/_entries/features.pages.md +0 -12
- data/_entries/features.pages.recent.md +0 -10
- data/_entries/features.pages.status-tags.md +0 -10
- data/_entries/features.site-nav.graph.links.md +0 -10
- data/_entries/features.site-nav.graph.links.namespacing.md +0 -14
- data/_entries/features.site-nav.graph.links.wikilinks.md +0 -25
- data/_entries/features.site-nav.graph.md +0 -12
- data/_entries/features.site-nav.graph.nodes.current-note.md +0 -10
- data/_entries/features.site-nav.graph.nodes.md +0 -12
- data/_entries/features.site-nav.graph.nodes.mia.missing-note.md +0 -20
- data/_entries/features.site-nav.graph.nodes.visited-status.md +0 -10
- data/_entries/features.site-nav.graph.toggle-graph.md +0 -13
- data/_entries/features.site-nav.graph.type.md +0 -16
- data/_entries/features.site-nav.graph.type.net-web.md +0 -10
- data/_entries/features.site-nav.graph.type.tree.md +0 -12
- data/_entries/features.site-nav.md +0 -10
- data/_entries/features.site-nav.visited.md +0 -14
- data/_entries/features.tags.md +0 -13
- data/_entries/features.themes.dark.md +0 -12
- data/_entries/features.themes.light.md +0 -10
- data/_entries/features.themes.md +0 -12
- data/_entries/features.visited.delete-data.md +0 -10
- data/_entries/features.visited.md +0 -12
- data/_entries/features.visitor-preferences.md +0 -27
- data/_entries/feedback.md +0 -10
- data/_entries/people.creator.md +0 -12
- data/_entries/people.md +0 -13
- data/_entries/people.visitors.md +0 -12
- data/_entries/plugins.jekyll-wikilinks.md +0 -10
- data/_entries/plugins.md +0 -10
- data/_entries/root.md +0 -26
- data/_includes/entry-attrs.html +0 -27
- data/_includes/head.html +0 -23
- data/_includes/hover-preview.html +0 -84
- data/_includes/metrics.html +0 -10
- data/_includes/styles.scss.liquid +0 -3
- data/_layouts/default.html +0 -39
- data/_pages/about.md +0 -7
- data/_pages/posts.html +0 -19
- data/_pages/recent.html +0 -48
- data/_plugins/doc_filters.rb +0 -44
- data/_plugins/prep_entry.rb +0 -43
- data/_plugins/sidenote.rb +0 -123
- data/_plugins/tags.rb +0 -52
- data/_sass/base/base.scss +0 -3
- data/_sass/color/dark.scss +0 -58
- data/_sass/color/light.scss +0 -58
- data/_sass/includes/_btn.scss +0 -106
- data/_sass/includes/_graph.scss +0 -69
- data/_sass/includes/_nav.scss +0 -89
- data/_sass/includes/_tooltip.scss +0 -29
- data/_sass/includes/includes.scss +0 -9
- data/_sass/markdown/_code.scss +0 -340
- data/_sass/markdown/_content.scss +0 -400
- data/_sass/markdown/_tables.scss +0 -60
- data/_sass/markdown/markdown.scss +0 -7
- data/_sass/modules.scss +0 -14
- data/_sass/pages/_index.scss +0 -72
- data/_sass/pages/_posts.scss +0 -17
- data/_sass/pages/_recent.scss +0 -26
- data/_sass/pages/_state.scss +0 -72
- data/_sass/pages/pages.scss +0 -4
- data/_sass/support/mixins/_layout.scss +0 -56
- data/_sass/support/mixins/mixins.scss +0 -3
- data/_sass/support/support.scss +0 -3
- data/_states/bamboo.md +0 -8
- data/_states/berry.md +0 -8
- data/_states/bloom.md +0 -8
- data/_states/bud.md +0 -6
- data/_states/fruit.md +0 -8
- data/_states/melon.md +0 -8
- data/_states/pot-bamboo.md +0 -8
- data/_states/seed.md +0 -8
- data/_states/sprout.md +0 -8
- data/_states/tags.md +0 -8
- data/_states/tea.md +0 -8
- data/assets/css/styles-dark.scss +0 -3
- data/assets/css/styles-light.scss +0 -3
- data/assets/img/nav-dot-dark.svg +0 -1
- data/assets/img/nav-dot-light.svg +0 -1
- data/assets/img/nav-wiki-links-dark.svg +0 -1
- data/assets/img/nav-wiki-links-light.svg +0 -1
- data/index.html +0 -82
data/_layouts/state.html
CHANGED
@@ -1,59 +1,70 @@
|
|
1
1
|
---
|
2
|
-
layout:
|
2
|
+
layout: base
|
3
3
|
---
|
4
|
+
|
4
5
|
{% assign states = site.states %}
|
5
6
|
{% assign index_state_title = "Plant Tags Page" %}
|
6
7
|
|
7
|
-
<div id="
|
8
|
-
|
9
|
-
|
8
|
+
<div id="state" class="state">
|
9
|
+
|
10
|
+
<nav class="state__nav">
|
11
|
+
<ul>
|
10
12
|
{% for state in states %}
|
11
|
-
<li class="
|
12
|
-
<a href="{{ state.url | relative_url }}"
|
13
|
+
<li class="{% if page.url == state.url %}active{% endif %}">
|
14
|
+
<a class="stat-tag" href="{{ state.url | relative_url }}">
|
13
15
|
{{ state.emoji }}
|
14
16
|
</a>
|
15
17
|
</li>
|
16
18
|
{% endfor %}
|
17
19
|
</ul>
|
18
20
|
</nav>
|
21
|
+
|
22
|
+
<div class="state__content">
|
19
23
|
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
{{ content }}
|
24
|
-
<p class="small-descr">
|
25
|
-
Descriptions only reflect the spirit of this garden.
|
26
|
-
Click <a href="{{ page.emojipedia }}">here</a> for the official emoji description.
|
27
|
-
</p>
|
28
|
-
{% for state in states %}
|
29
|
-
{% if state.title != index_state_title %}
|
30
|
-
<h2>{{ state.emoji }} <a href="{{ state.url | relative_url }}" class="wiki-link">{{ state.title }}</a></h2>
|
31
|
-
<p>{{ state.content | markdownify }}</p>
|
32
|
-
{% endif %}
|
33
|
-
{% endfor %}
|
34
|
-
<!-- individual states -->
|
35
|
-
{% else %}
|
36
|
-
<!-- page == tag (from tag-nav) -->
|
37
|
-
{% assign entries_w_stat = site.entries | where: 'tags', page.emoji %}
|
38
|
-
<h1>{{ page.emoji }} {{ page.title }}</h1>
|
39
|
-
{{ content }}
|
40
|
-
<p class="small-descr">
|
41
|
-
Descriptions only reflect the spirit of this garden.
|
42
|
-
Click <a href="{{ page.emojipedia }}">here</a> for the official emoji description.
|
43
|
-
</p>
|
44
|
-
|
45
|
-
{% if entries_w_stat.size == 0 %}
|
46
|
-
<div class="no-results">
|
47
|
-
There are currently no {{ page.emoji }}s.
|
24
|
+
<section>
|
25
|
+
<div class="hp-title">
|
26
|
+
<h1 class="p-name">{{ page.emoji }} {{ page.title }}</h1>
|
48
27
|
</div>
|
28
|
+
<div class="markdown hp-content e-content p-name">
|
29
|
+
{{ content }}
|
30
|
+
</div>
|
31
|
+
</section>
|
32
|
+
|
33
|
+
<!-- display all states on root state -->
|
34
|
+
{% if page.path == site.bonsai.states.root_path %}
|
35
|
+
<section class="has-web-links">
|
36
|
+
{% for state in states %}
|
37
|
+
{% if state.path != site.bonsai.states.root_path %}
|
38
|
+
<h4>{{ state.emoji }} {{ state.title }}</h4>
|
39
|
+
{{ state.content | markdownify }}
|
40
|
+
{% endif %}
|
41
|
+
{% endfor %}
|
42
|
+
</section>
|
43
|
+
<!-- display entries with that state as its status -->
|
49
44
|
{% else %}
|
50
|
-
<
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
45
|
+
<section>
|
46
|
+
<!-- page == tag (from tag-nav) -->
|
47
|
+
{% assign docs_w_stat = site.documents | where: 'status', page.emoji %}
|
48
|
+
{% if docs_w_stat.size == 0 and page.path != site.bonsai.states.root_path %}
|
49
|
+
<div class="state__list-wrap--empty">
|
50
|
+
<span>There are currently no {{ page.emoji }}s.</span>
|
51
|
+
</div>
|
52
|
+
{% else %}
|
53
|
+
<ul class="state__list-wrap">
|
54
|
+
{% for entry in docs_w_stat %}
|
55
|
+
<li>
|
56
|
+
{{ page.emoji }} <a class="wiki-link" href="{{ entry.url | relative_url }}">{{ entry.title }}</a>
|
57
|
+
</li>
|
58
|
+
{% endfor %}
|
59
|
+
</ul>
|
60
|
+
{% endif %}
|
61
|
+
</section>
|
62
|
+
{% endif %}
|
63
|
+
|
64
|
+
</div>
|
65
|
+
|
66
|
+
<footer class="state__footer text--small">
|
67
|
+
Descriptions only reflect the spirit of this garden. Check out the official description: <a class="web-link" href="{{ page.emojipedia }}"> here </a>.
|
68
|
+
</footer>
|
69
|
+
|
59
70
|
</div>
|
@@ -0,0 +1,133 @@
|
|
1
|
+
//
|
2
|
+
// Code and syntax highlighting
|
3
|
+
//
|
4
|
+
// stylelint-disable selector-no-qualifying-type, declaration-block-semicolon-newline-after,declaration-block-single-line-max-declarations, selector-no-type, selector-max-type
|
5
|
+
|
6
|
+
// from: https://bnhr.xyz/2017/03/25/add-syntax-highlighting-to-your-jekyll-site-with-rouge.html
|
7
|
+
// @import './code_themes/gruvbox';
|
8
|
+
@import './code_themes/solarized';
|
9
|
+
// @import './code_themes/monokai';
|
10
|
+
|
11
|
+
code {
|
12
|
+
padding: $sp-1 $sp-1;
|
13
|
+
font-weight: 400;
|
14
|
+
border-radius: $border-radius;
|
15
|
+
background-color: var(--accent-dark-color);
|
16
|
+
}
|
17
|
+
|
18
|
+
// Avoid appearance of dark border around visited code links in Safari
|
19
|
+
a:visited code {
|
20
|
+
border-color: var(--accent-light-color);
|
21
|
+
}
|
22
|
+
|
23
|
+
// Content structure for highlighted code blocks using fences or Liquid
|
24
|
+
//
|
25
|
+
// ```[LANG]...```, no kramdown line_numbers:
|
26
|
+
// div.[language-LANG.]highlighter-rouge > div.highlight > pre.highlight > code
|
27
|
+
//
|
28
|
+
// ```[LANG]...```, kramdown line_numbers = true:
|
29
|
+
// div.[language-LANG.]highlighter-rouge > div.highlight > pre.highlight > code
|
30
|
+
// > div.table-wrapper > table.rouge-table > tbody > tr
|
31
|
+
// > td.rouge-gutter.gl > pre.lineno
|
32
|
+
// | td.rouge-code > pre
|
33
|
+
//
|
34
|
+
// {% highlight LANG %}...{% endhighlight %}:
|
35
|
+
// figure.highlight > pre > code.language-LANG
|
36
|
+
//
|
37
|
+
// {% highlight LANG linenos %}...{% endhighlight %}:
|
38
|
+
// figure.highlight > pre > code.language-LANG
|
39
|
+
// > div.table-wrapper > table.rouge-table > tbody > tr
|
40
|
+
// > td.gutter.gl > pre.lineno
|
41
|
+
// | td.code > pre
|
42
|
+
//
|
43
|
+
// fix_linenos removes the outermost pre when it encloses table.rouge-table
|
44
|
+
//
|
45
|
+
// See docs/index-test.md for some tests.
|
46
|
+
//
|
47
|
+
// No kramdown line_numbers: fences and Liquid highlighting look the same.
|
48
|
+
// Kramdown line_numbers = true: fences have a wider gutter than with Liquid?
|
49
|
+
|
50
|
+
// ```[LANG]...```
|
51
|
+
div.highlighter-rouge {
|
52
|
+
overflow-x: auto;
|
53
|
+
padding: $sp-3;
|
54
|
+
margin-top: $sp-3;
|
55
|
+
margin-bottom: $sp-3;
|
56
|
+
background-color: var(--accent-dark-color);
|
57
|
+
border-radius: $border-radius;
|
58
|
+
box-shadow: none;
|
59
|
+
-webkit-overflow-scrolling: touch;
|
60
|
+
|
61
|
+
div.highlight,
|
62
|
+
pre.highlight,
|
63
|
+
code {
|
64
|
+
padding: 0;
|
65
|
+
margin: 0;
|
66
|
+
border: 0;
|
67
|
+
}
|
68
|
+
}
|
69
|
+
|
70
|
+
// {% highlight LANG %}...{% endhighlight %},
|
71
|
+
// {% highlight LANG linenos %}...{% endhighlight %}:
|
72
|
+
figure.highlight {
|
73
|
+
padding: $sp-3;
|
74
|
+
margin-top: 0;
|
75
|
+
margin-bottom: $sp-3;
|
76
|
+
background-color: var(--accent-dark-color);
|
77
|
+
border-radius: $border-radius;
|
78
|
+
box-shadow: none;
|
79
|
+
-webkit-overflow-scrolling: touch;
|
80
|
+
|
81
|
+
pre,
|
82
|
+
code {
|
83
|
+
padding: 0;
|
84
|
+
margin: 0;
|
85
|
+
border: 0;
|
86
|
+
}
|
87
|
+
}
|
88
|
+
|
89
|
+
// ```[LANG]...```, kramdown line_numbers = true,
|
90
|
+
// {% highlight LANG linenos %}...{% endhighlight %}:
|
91
|
+
.highlight .table-wrapper {
|
92
|
+
padding: 0;
|
93
|
+
margin: 0;
|
94
|
+
border: 0;
|
95
|
+
box-shadow: none;
|
96
|
+
|
97
|
+
td,
|
98
|
+
pre {
|
99
|
+
@include fs-2;
|
100
|
+
min-width: 0;
|
101
|
+
padding: 0;
|
102
|
+
background-color: var(--accent-dark-color);
|
103
|
+
border: 0;
|
104
|
+
}
|
105
|
+
|
106
|
+
td.gl {
|
107
|
+
padding-right: $sp-3;
|
108
|
+
}
|
109
|
+
|
110
|
+
pre {
|
111
|
+
margin: 0;
|
112
|
+
line-height: 2;
|
113
|
+
}
|
114
|
+
}
|
115
|
+
|
116
|
+
.code-example {
|
117
|
+
padding: $sp-3;
|
118
|
+
margin-bottom: $sp-3;
|
119
|
+
overflow: auto;
|
120
|
+
border: 1px solid var(--accent-light-color);
|
121
|
+
border-radius: $border-radius;
|
122
|
+
|
123
|
+
+ .highlighter-rouge,
|
124
|
+
+ figure.highlight {
|
125
|
+
position: relative;
|
126
|
+
margin-top: -$sp-4;
|
127
|
+
border-right: 1px solid var(--accent-light-color);
|
128
|
+
border-bottom: 1px solid var(--accent-light-color);
|
129
|
+
border-left: 1px solid var(--accent-light-color);
|
130
|
+
border-top-left-radius: 0;
|
131
|
+
border-top-right-radius: 0;
|
132
|
+
}
|
133
|
+
}
|
data/_sass/base/_layout.scss
CHANGED
@@ -1,54 +1,55 @@
|
|
1
|
-
//
|
2
1
|
// two column layout
|
3
|
-
//
|
4
2
|
|
5
3
|
.side-bar {
|
6
|
-
|
7
|
-
|
8
|
-
|
4
|
+
position: fixed;
|
5
|
+
z-index: $z-nav;
|
6
|
+
display: none;
|
7
|
+
height: 100vh;
|
9
8
|
|
10
9
|
@include mq(md) {
|
10
|
+
display: block;
|
11
11
|
width: $nav-width-md;
|
12
|
-
flex-wrap: nowrap;
|
13
|
-
position: fixed;
|
14
|
-
height: 100%;
|
15
12
|
}
|
16
13
|
|
17
14
|
@include mq(lg) {
|
15
|
+
display: block;
|
18
16
|
width: $nav-width-lg;
|
19
17
|
}
|
18
|
+
|
19
|
+
&.nav-open {
|
20
|
+
display: block;
|
21
|
+
width: 100vw;
|
22
|
+
}
|
20
23
|
}
|
21
24
|
|
22
25
|
.main {
|
23
|
-
|
26
|
+
@include container;
|
27
|
+
display: flex;
|
28
|
+
flex-direction: column;
|
29
|
+
min-height: 100vh;
|
24
30
|
|
25
31
|
@include mq(md) {
|
26
|
-
max-width: $content-width;
|
27
32
|
margin-left: $nav-width-md;
|
28
33
|
}
|
29
34
|
|
30
35
|
@include mq(lg) {
|
31
36
|
margin-left: $nav-width-lg;
|
32
37
|
}
|
33
|
-
}
|
34
38
|
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
display: flex;
|
39
|
-
flex-direction: column;
|
40
|
-
|
41
|
-
padding-top: $gutter-spacing-sm;
|
42
|
-
padding-bottom: $gutter-spacing-sm;
|
43
|
-
|
44
|
-
min-height: 100vh;
|
45
|
-
|
46
|
-
@include mq(md) {
|
47
|
-
padding-top: $gutter-spacing;
|
48
|
-
padding-bottom: $gutter-spacing;
|
39
|
+
&__content {
|
40
|
+
flex: 1 0 auto;
|
49
41
|
}
|
50
|
-
}
|
51
42
|
|
52
|
-
|
53
|
-
|
54
|
-
|
43
|
+
&__footer {
|
44
|
+
// 'sticky footer' from: https://css-tricks.com/couple-takes-sticky-footer/#there-is-flexbox
|
45
|
+
// ex = local
|
46
|
+
// footer = main__footer
|
47
|
+
// content = main__content
|
48
|
+
// body = main
|
49
|
+
// html, body = main (height is min-height)
|
50
|
+
flex-shrink: 0;
|
51
|
+
display: flex;
|
52
|
+
|
53
|
+
padding-top: $sp-10;
|
54
|
+
}
|
55
|
+
}
|
@@ -0,0 +1,105 @@
|
|
1
|
+
// link -- a tag -- styles
|
2
|
+
|
3
|
+
a {
|
4
|
+
text-decoration: none;
|
5
|
+
}
|
6
|
+
|
7
|
+
a.sem-tag {
|
8
|
+
@include fs-2;
|
9
|
+
color: var(--wiki-link-color);
|
10
|
+
}
|
11
|
+
|
12
|
+
a.stat-tag {
|
13
|
+
color: var(--body-text-color);
|
14
|
+
filter: drop-shadow(0 0 0.2mm $drop-shadow-green);
|
15
|
+
}
|
16
|
+
|
17
|
+
a.web-link {
|
18
|
+
color: var(--link-color);
|
19
|
+
text-decoration: none;
|
20
|
+
background-image: linear-gradient(
|
21
|
+
var(--link-underline-color) 0%,
|
22
|
+
var(--link-underline-color) 100%
|
23
|
+
);
|
24
|
+
background-repeat: repeat-x;
|
25
|
+
background-position: 0 100%;
|
26
|
+
background-size: 1px 1px;
|
27
|
+
|
28
|
+
&:hover {
|
29
|
+
background-image: linear-gradient(
|
30
|
+
var(--link-color) 0%,
|
31
|
+
var(--link-color) 100%
|
32
|
+
);
|
33
|
+
background-size: 1px 1px;
|
34
|
+
}
|
35
|
+
}
|
36
|
+
|
37
|
+
// wiki-link classes
|
38
|
+
|
39
|
+
.invalid-wiki-link {
|
40
|
+
color: var(--invalid-wiki-link-color);
|
41
|
+
cursor: help;
|
42
|
+
}
|
43
|
+
|
44
|
+
a.wiki-link {
|
45
|
+
color: var(--wiki-link-color);
|
46
|
+
text-decoration: none;
|
47
|
+
background-image: linear-gradient(
|
48
|
+
var(--wiki-link-underline-color) 0%,
|
49
|
+
var(--wiki-link-underline-color) 100%
|
50
|
+
);
|
51
|
+
background-repeat: repeat-x;
|
52
|
+
background-position: 0 100%;
|
53
|
+
background-size: 1px 1px;
|
54
|
+
|
55
|
+
&:hover {
|
56
|
+
background-image: linear-gradient(
|
57
|
+
var(--wiki-link-color) 0%,
|
58
|
+
var(--wiki-link-color) 100%
|
59
|
+
);
|
60
|
+
background-size: 1px 1px;
|
61
|
+
}
|
62
|
+
}
|
63
|
+
|
64
|
+
.embed-wrapper {
|
65
|
+
position: relative;
|
66
|
+
border: 1px solid var(--accent-light-color);
|
67
|
+
border-radius: 15px;
|
68
|
+
padding: $sp-3;
|
69
|
+
|
70
|
+
.embed-title {
|
71
|
+
@include fs-6;
|
72
|
+
padding-top: $sp-3;
|
73
|
+
padding-left: $sp-3;
|
74
|
+
}
|
75
|
+
|
76
|
+
.embed-content {
|
77
|
+
padding: $sp-3;
|
78
|
+
}
|
79
|
+
|
80
|
+
.embed-wiki-link {
|
81
|
+
position: absolute;
|
82
|
+
top: 1em;
|
83
|
+
right: 1em;
|
84
|
+
|
85
|
+
&::before {
|
86
|
+
content: "🥾";
|
87
|
+
}
|
88
|
+
|
89
|
+
&:hover {
|
90
|
+
filter: drop-shadow(0 0 0.8mm $drop-shadow-brown);
|
91
|
+
}
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
.embed-image-wrapper {
|
96
|
+
display: flex;
|
97
|
+
justify-content: center;
|
98
|
+
padding-top: $sp-2;
|
99
|
+
padding-bottom: $sp-2;
|
100
|
+
|
101
|
+
.embed-image {
|
102
|
+
height: 50%;
|
103
|
+
width: 50%;
|
104
|
+
}
|
105
|
+
}
|
data/_sass/base/_main.scss
CHANGED
@@ -8,8 +8,7 @@
|
|
8
8
|
}
|
9
9
|
|
10
10
|
::selection {
|
11
|
-
|
12
|
-
background: #E6E09E;
|
11
|
+
background: var(--selection-color);
|
13
12
|
}
|
14
13
|
|
15
14
|
html {
|
@@ -21,8 +20,8 @@ body {
|
|
21
20
|
font-family: $body-font-family;
|
22
21
|
font-size: inherit;
|
23
22
|
line-height: $body-line-height;
|
24
|
-
color:
|
25
|
-
background-color:
|
23
|
+
color: var(--body-text-color);
|
24
|
+
background-color: var(--body-background-color);
|
26
25
|
}
|
27
26
|
|
28
27
|
ol,
|
@@ -46,11 +45,11 @@ h3,
|
|
46
45
|
h4,
|
47
46
|
h5,
|
48
47
|
h6 {
|
49
|
-
margin-top: 0;
|
50
|
-
margin-bottom: 1em;
|
48
|
+
// margin-top: 0;
|
49
|
+
// margin-bottom: 1em;
|
51
50
|
font-weight: 500;
|
52
51
|
line-height: $body-heading-line-height;
|
53
|
-
color:
|
52
|
+
color: var(--small-heading-color);
|
54
53
|
}
|
55
54
|
|
56
55
|
p {
|
@@ -58,27 +57,6 @@ p {
|
|
58
57
|
margin-bottom: 1em;
|
59
58
|
}
|
60
59
|
|
61
|
-
a {
|
62
|
-
color: $link-color;
|
63
|
-
text-decoration: none;
|
64
|
-
}
|
65
|
-
|
66
|
-
a:not([class]) {
|
67
|
-
text-decoration: none;
|
68
|
-
background-image: linear-gradient($border-color 0%, $border-color 100%);
|
69
|
-
background-repeat: repeat-x;
|
70
|
-
background-position: 0 100%;
|
71
|
-
background-size: 1px 1px;
|
72
|
-
|
73
|
-
&:hover {
|
74
|
-
background-image: linear-gradient(
|
75
|
-
rgba($link-color, 0.45) 0%,
|
76
|
-
rgba($link-color, 0.45) 100%
|
77
|
-
);
|
78
|
-
background-size: 1px 1px;
|
79
|
-
}
|
80
|
-
}
|
81
|
-
|
82
60
|
code {
|
83
61
|
font-family: $mono-font-family;
|
84
62
|
font-size: 0.75em;
|
@@ -90,8 +68,18 @@ pre {
|
|
90
68
|
margin: 0;
|
91
69
|
}
|
92
70
|
|
93
|
-
|
94
|
-
margin: 0
|
71
|
+
ul {
|
72
|
+
margin-bottom: 0;
|
73
|
+
padding: $sp-2;
|
74
|
+
|
75
|
+
li {
|
76
|
+
padding: $sp-1;
|
77
|
+
list-style-type: none !important;
|
78
|
+
|
79
|
+
&::before {
|
80
|
+
content: "" !important;
|
81
|
+
}
|
82
|
+
}
|
95
83
|
}
|
96
84
|
|
97
85
|
img {
|
@@ -103,101 +91,6 @@ hr {
|
|
103
91
|
height: 1px;
|
104
92
|
padding: 0;
|
105
93
|
margin: $sp-6 0;
|
106
|
-
background-color:
|
94
|
+
background-color: var(--accent-light-color);
|
107
95
|
border: 0;
|
108
96
|
}
|
109
|
-
|
110
|
-
// wiki-link classes
|
111
|
-
|
112
|
-
.invalid-wiki-link {
|
113
|
-
color: $grey-dk-000;
|
114
|
-
background: $invalid-wiki-link-color;
|
115
|
-
cursor: help;
|
116
|
-
}
|
117
|
-
|
118
|
-
.wiki-link {
|
119
|
-
color: $wiki-link-color;
|
120
|
-
}
|
121
|
-
|
122
|
-
.wiki-link-embed {
|
123
|
-
position: relative;
|
124
|
-
border: 1px solid $separator-color;
|
125
|
-
border-radius: 15px;
|
126
|
-
padding: $sp-3;
|
127
|
-
|
128
|
-
.wiki-link-embed-title {
|
129
|
-
@include fs-6;
|
130
|
-
padding-top: $sp-3;
|
131
|
-
padding-left: $sp-3;
|
132
|
-
}
|
133
|
-
|
134
|
-
.wiki-link-embed-content {
|
135
|
-
padding: $sp-3;
|
136
|
-
}
|
137
|
-
|
138
|
-
.wiki-link-embed-link {
|
139
|
-
position: absolute;
|
140
|
-
top: 1em;
|
141
|
-
right: 1em;
|
142
|
-
|
143
|
-
&::before {
|
144
|
-
content: "🥾";
|
145
|
-
}
|
146
|
-
|
147
|
-
&:hover {
|
148
|
-
filter: drop-shadow(0 0 0.8mm $drop-shadow-brown);
|
149
|
-
}
|
150
|
-
}
|
151
|
-
}
|
152
|
-
|
153
|
-
.wiki-link-img {
|
154
|
-
width: 50px;
|
155
|
-
height: 50px;
|
156
|
-
}
|
157
|
-
|
158
|
-
.sem-tag {
|
159
|
-
@include fs-2;
|
160
|
-
padding: $sp-2;
|
161
|
-
border: 1px solid $separator-color;
|
162
|
-
border-radius: 15px;
|
163
|
-
color: $wiki-link-color;
|
164
|
-
|
165
|
-
&:hover {
|
166
|
-
background-color: $base-button-color;
|
167
|
-
}
|
168
|
-
}
|
169
|
-
|
170
|
-
.stat-tag {
|
171
|
-
filter: drop-shadow(0 0 0.2mm $drop-shadow-green);
|
172
|
-
}
|
173
|
-
|
174
|
-
.infobox {
|
175
|
-
@include fs-2;
|
176
|
-
float: right;
|
177
|
-
margin-left: $sp-2;
|
178
|
-
margin-right: $sp-2;
|
179
|
-
padding-left: $sp-3;
|
180
|
-
padding-right: $sp-3;
|
181
|
-
padding-top: $sp-3;
|
182
|
-
border: 1px solid $separator-color;
|
183
|
-
border-radius: 15px;
|
184
|
-
|
185
|
-
.title {
|
186
|
-
text-align: center;
|
187
|
-
margin-top: 0;
|
188
|
-
}
|
189
|
-
|
190
|
-
ul {
|
191
|
-
padding: 0 !important;
|
192
|
-
padding-left: $sp-2 !important;
|
193
|
-
padding-right: $sp-2 !important;
|
194
|
-
|
195
|
-
li {
|
196
|
-
list-style-type: none !important;
|
197
|
-
|
198
|
-
&::before {
|
199
|
-
content: "" !important;
|
200
|
-
}
|
201
|
-
}
|
202
|
-
}
|
203
|
-
}
|