jekyll-theme-hydejack 8.2.0 → 8.3.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/_includes/body/footer.html +4 -3
- data/_includes/body/nav.html +33 -16
- data/_includes/head/links.html +9 -7
- data/_includes/head/meta.html +1 -1
- data/_includes/head/page-style.html +3 -54
- data/_includes/head/styles.html +4 -2
- data/_includes/header.txt +1 -1
- data/_includes/scripts.html +33 -0
- data/_includes/styles/inline.scss +6 -0
- data/_includes/styles/page-style.scss +61 -0
- data/_includes/styles/style.scss +6 -0
- data/_layouts/compress.html +1 -1
- data/_sass/hydejack/__link__/_katex.scss +7 -3
- data/_sass/hydejack/_katex.pre.scss +7 -3
- data/assets/bower_components/katex/.bower.json +11 -10
- data/assets/bower_components/katex/LICENSE +21 -0
- data/assets/bower_components/katex/bower.json +6 -5
- data/assets/bower_components/katex/dist/README.md +90 -0
- data/assets/bower_components/katex/dist/contrib/auto-render.js +215 -670
- data/assets/bower_components/katex/dist/contrib/auto-render.min.js +1 -1
- data/assets/bower_components/katex/dist/contrib/copy-tex.css +3 -1
- data/assets/bower_components/katex/dist/contrib/copy-tex.js +118 -84
- data/assets/bower_components/katex/dist/contrib/copy-tex.min.css +1 -1
- data/assets/bower_components/katex/dist/contrib/copy-tex.min.js +1 -1
- data/assets/bower_components/katex/dist/contrib/mathtex-script-type.js +53 -29
- data/assets/bower_components/katex/dist/contrib/mathtex-script-type.min.js +1 -1
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_AMS-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Caligraphic-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Fraktur-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-BoldItalic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Main-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-BoldItalic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Math-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Bold.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Italic.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_SansSerif-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Script-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size1-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size2-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size3-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Size4-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.ttf +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff +0 -0
- data/assets/bower_components/katex/dist/fonts/KaTeX_Typewriter-Regular.woff2 +0 -0
- data/assets/bower_components/katex/dist/katex.css +87 -74
- data/assets/bower_components/katex/dist/katex.js +14338 -14023
- data/assets/bower_components/katex/dist/katex.min.css +1 -1
- data/assets/bower_components/katex/dist/katex.min.js +1 -1
- data/assets/bower_components/katex/dist/katex.mjs +16083 -0
- data/assets/bower_components/katex/lint_blacklist.txt +5 -0
- data/assets/bower_components/katex/yarn.lock +8483 -0
- data/assets/css/{hydejack-8.2.0.css → hydejack-7.5.2.css} +0 -0
- data/assets/css/hydejack-8.3.0.css +3 -0
- data/assets/img/blog/steve-harvey.jpg +0 -0
- data/assets/img/blog/wade-lambert.jpg +0 -0
- data/assets/js/{hydejack-8.2.0.js → hydejack-8.3.0.js} +3 -3
- data/assets/version.json +1 -1
- metadata +17 -7
- data/assets/bower_components/katex/flow-typed/match-at.js +0 -3
- data/assets/bower_components/katex/flow-typed/object-assign.js +0 -6
- data/assets/bower_components/katex/package-lock.json +0 -13848
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 87e39c21ab716c00617382803447b7f86673be2c
|
|
4
|
+
data.tar.gz: 792fb281cfcc8033922d4c9dc88408d3d134977e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cd8b11cb1c65765232c2b627346f52d8e38cacea59693e9d17a68fde523a7ec43c578454d1e849575499df21e859c81963a5755af01ff6e621fe3b34a82072c0
|
|
7
|
+
data.tar.gz: 1987cd9b77d24bd4df9bd6e2be4a9daac8199c4fd8b265afbd36d0baa4cb9a0619e29edca1db77a078568ecf3cf63bc549bdc5b9c2d79aa2ab2f3056ba20835a
|
data/_includes/body/footer.html
CHANGED
|
@@ -6,13 +6,14 @@
|
|
|
6
6
|
{% endif %}
|
|
7
7
|
{% if site.legal.size > 0 %}
|
|
8
8
|
<nav class="legal"><small>
|
|
9
|
-
{% for
|
|
10
|
-
|
|
9
|
+
{% for node in site.legal %}
|
|
10
|
+
{% assign url = node.url | default: node.href %}
|
|
11
|
+
<a class="heading flip-title" href="{% include smart-url.txt url=url %}">{{ node.name | default:node.title }}</a>
|
|
11
12
|
{% unless forloop.last %}{{ site.data.strings.separator | default:'|' }}{% endunless %}
|
|
12
13
|
{% endfor %}
|
|
13
14
|
</small></nav>
|
|
14
15
|
{% endif %}
|
|
15
|
-
<p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">8.
|
|
16
|
+
<p><small>Powered by <a class="external" href="https://hydejack.com/">Hydejack</a> v<span id="_version">8.3.0</span></small></p>
|
|
16
17
|
<hr class="sr-only"/>
|
|
17
18
|
</footer>
|
|
18
19
|
{% endif %}
|
data/_includes/body/nav.html
CHANGED
|
@@ -1,24 +1,41 @@
|
|
|
1
1
|
<span class="sr-only">{{ site.data.strings.navigation | default:"Navigation" }}{{ site.data.strings.colon | default:":" }}</span>
|
|
2
2
|
<ul>
|
|
3
|
-
{%
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
{% for node in nodes %}
|
|
7
|
-
{% unless node.redirect_to %}
|
|
3
|
+
{% if site.menu %}
|
|
4
|
+
{% for node in site.menu %}
|
|
5
|
+
{% assign url = node.url | default: node.href %}
|
|
8
6
|
<li>
|
|
9
7
|
<a
|
|
10
8
|
{% if forloop.first %}id="_navigation"{% endif %}
|
|
11
|
-
href="{
|
|
12
|
-
class="sidebar-nav-item{% if page.url contains
|
|
13
|
-
{% if
|
|
14
|
-
|
|
15
|
-
{{ node.title }}
|
|
9
|
+
href="{% include smart-url.txt url=url %}"
|
|
10
|
+
class="sidebar-nav-item{% if page.url contains url %} active{% endif %}"
|
|
11
|
+
{% if node.rel %}rel="{{ node.rel }}"{% endif %}
|
|
12
|
+
>
|
|
13
|
+
{{ node.name | default:node.title }}
|
|
16
14
|
</a>
|
|
17
15
|
</li>
|
|
18
|
-
{%
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
{%
|
|
23
|
-
|
|
16
|
+
{% endfor %}
|
|
17
|
+
{% else %}
|
|
18
|
+
{% assign pages = site.pages | where: "menu", true %}
|
|
19
|
+
{% assign documents = site.documents | where: "menu", true %}
|
|
20
|
+
{% assign nodes = pages | concat: documents | sort: "order" %}
|
|
21
|
+
|
|
22
|
+
{% for node in nodes %}
|
|
23
|
+
{% unless node.redirect_to %}
|
|
24
|
+
<li>
|
|
25
|
+
<a
|
|
26
|
+
{% if forloop.first %}id="_navigation"{% endif %}
|
|
27
|
+
href="{{ node.url | relative_url }}"
|
|
28
|
+
class="sidebar-nav-item{% if page.url contains node.url %} active{% endif %}"
|
|
29
|
+
{% if node.rel %}rel="{{ node.rel }}"{% endif %}
|
|
30
|
+
>
|
|
31
|
+
{{ node.title }}
|
|
32
|
+
</a>
|
|
33
|
+
</li>
|
|
34
|
+
{% else %}
|
|
35
|
+
<li>
|
|
36
|
+
<a href="{{ node.redirect_to }}" class="sidebar-nav-item external" >{{ node.title }}</a>
|
|
37
|
+
</li>
|
|
38
|
+
{% endunless %}
|
|
39
|
+
{% endfor %}
|
|
40
|
+
{% endif %}
|
|
24
41
|
</ul>
|
data/_includes/head/links.html
CHANGED
|
@@ -19,13 +19,15 @@
|
|
|
19
19
|
{% comment %}<!--
|
|
20
20
|
This is to avoid hard-coding URLs in JS (where they can't be discovered by automated tools).
|
|
21
21
|
-->{% endcomment %}
|
|
22
|
-
<link rel="dns-prefetch" href="{{ '/'
|
|
23
|
-
<link rel="dns-prefetch" href="{{ '/assets/js/hydejack-8.
|
|
24
|
-
<link rel="dns-prefetch" href="{{ '/sw.js'
|
|
25
|
-
<link rel="dns-prefetch" href="{{ '/assets/bower_components/fontfaceobserver/fontfaceobserver.standalone.js'| relative_url }}" id="_hrefFFO">
|
|
26
|
-
<link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.js'
|
|
27
|
-
<link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.css'
|
|
28
|
-
<link rel="dns-prefetch" href="{{ '/assets/
|
|
22
|
+
<link rel="dns-prefetch" href="{{ '/' | relative_url }}" id="_baseURL">
|
|
23
|
+
<link rel="dns-prefetch" href="{{ '/assets/js/hydejack-8.3.0.js' | relative_url }}" id="_hrefJS">
|
|
24
|
+
<link rel="dns-prefetch" href="{{ '/sw.js' | relative_url }}" id="_hrefSW">
|
|
25
|
+
<link rel="dns-prefetch" href="{{ '/assets/bower_components/fontfaceobserver/fontfaceobserver.standalone.js' | relative_url }}" id="_hrefFFO">
|
|
26
|
+
<link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.js' | relative_url }}" id="_hrefKatexJS">
|
|
27
|
+
<link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/katex.min.css' | relative_url }}" id="_hrefKatexCSS">
|
|
28
|
+
<link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/contrib/copy-tex.min.js' | relative_url }}" id="_hrefKatexCopyJS">
|
|
29
|
+
<link rel="dns-prefetch" href="{{ '/assets/bower_components/katex/dist/contrib/copy-tex.min.css' | relative_url }}" id="_hrefKatexCopyCSS">
|
|
30
|
+
<link rel="dns-prefetch" href="{{ '/assets/img/swipe.svg' | relative_url }}" id="_hrefSwipeSVG">
|
|
29
31
|
|
|
30
32
|
{% assign disqus = site.disqus | default:site.disqus_shortname %}
|
|
31
33
|
{% if disqus %}
|
data/_includes/head/meta.html
CHANGED
|
@@ -1,57 +1,6 @@
|
|
|
1
|
-
{% comment %}<!--
|
|
2
|
-
These styles interact with JavsScript. Their ordering MUST NOT be changed. See `_js/cross-fader.js`.
|
|
3
|
-
-->{% endcomment %}
|
|
4
1
|
<style id="_pageStyle">
|
|
5
2
|
{% capture page_style %}
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.content a:not(.btn):hover {
|
|
12
|
-
border-color: {{ color }};
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
:focus {
|
|
16
|
-
outline-color: {{ color }}!important;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.btn-primary {
|
|
20
|
-
color: #fff;
|
|
21
|
-
background-color: {{ color }};
|
|
22
|
-
border-color: {{ color }};
|
|
23
|
-
}
|
|
24
|
-
|
|
25
|
-
.btn-primary:focus, .btn-primary.focus, .form-control:focus, .form-control.focus {
|
|
26
|
-
box-shadow: 0 0 0 3px rgba({{ color }}, .5);
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.btn-primary:hover, .btn-primary.hover {
|
|
30
|
-
color: #fff;
|
|
31
|
-
background-color: darken({{ color }}, 7.5%);
|
|
32
|
-
border-color: darken({{ color }}, 7.5%);
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.btn-primary:disabled, .btn-primary.disabled {
|
|
36
|
-
color: #fff;
|
|
37
|
-
background-color: {{ color }};
|
|
38
|
-
border-color: {{ color }};
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
.btn-primary:active, .btn-primary.active {
|
|
42
|
-
color: #fff;
|
|
43
|
-
background-color: darken({{ color }}, 7.5%);
|
|
44
|
-
border-color: darken({{ color }}, 7.5%);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
::selection {
|
|
48
|
-
color: #fff;
|
|
49
|
-
background: {{ color }};
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
::-moz-selection {
|
|
53
|
-
color: #fff;
|
|
54
|
-
background: {{ color }};
|
|
55
|
-
}
|
|
56
|
-
{% endcapture %}{{ page_style | scssify }}
|
|
3
|
+
{% include styles/page-style.scss color=color theme_color=theme_color %}
|
|
4
|
+
{% endcapture %}
|
|
5
|
+
{{ page_style | scssify }}
|
|
57
6
|
</style>
|
data/_includes/head/styles.html
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
<!--[if gt IE 8]><!---->
|
|
2
|
-
{% capture style_url %}{% link assets/css/hydejack-8.
|
|
2
|
+
{% capture style_url %}{% link assets/css/hydejack-8.3.0.css %}{% endcapture %}
|
|
3
3
|
{% capture icons_url %}{% link assets/icomoon/style.css %}{% endcapture %}
|
|
4
4
|
{% capture fonts_url %}https://fonts.googleapis.com/css?family={{ google_fonts }}{% endcapture %}
|
|
5
5
|
|
|
@@ -47,5 +47,7 @@
|
|
|
47
47
|
{% endunless %}
|
|
48
48
|
</noscript>
|
|
49
49
|
{% endif %}
|
|
50
|
-
{%
|
|
50
|
+
{% unless site.hydejack.no_page_style %}
|
|
51
|
+
{% include head/page-style.html %}
|
|
52
|
+
{% endunless %}
|
|
51
53
|
<!--<![endif]-->
|
data/_includes/header.txt
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
{% unless page.redirect %}
|
|
2
|
+
{% if site.google_analytics %}
|
|
3
|
+
<script>
|
|
4
|
+
window.ga=window.ga||function(){(ga.q=ga.q||[]).push(arguments)};ga.l=+new Date;
|
|
5
|
+
{% if site.hydejack.cookies_banner %}
|
|
6
|
+
if (navigator.CookiesOK) {
|
|
7
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
|
8
|
+
} else if (localStorage && localStorage.getItem('hy:cookiesOK')) {
|
|
9
|
+
ga('create', '{{ site.google_analytics }}', {
|
|
10
|
+
'storage': 'none',
|
|
11
|
+
'clientId': localStorage.getItem('ga:clientId')
|
|
12
|
+
});
|
|
13
|
+
} else {
|
|
14
|
+
ga('create', '{{ site.google_analytics }}', {
|
|
15
|
+
'storage': 'none'
|
|
16
|
+
});
|
|
17
|
+
ga('set', 'forceSSL', true);
|
|
18
|
+
ga('set', 'anonymizeIp', true);
|
|
19
|
+
}
|
|
20
|
+
{% else %}
|
|
21
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
|
22
|
+
{% endif %}
|
|
23
|
+
ga('send', 'pageview');
|
|
24
|
+
loadJSDeferred('https://www.google-analytics.com/analytics.js');
|
|
25
|
+
</script>
|
|
26
|
+
{% endif %}
|
|
27
|
+
|
|
28
|
+
<!--[if gt IE 9]><!---->
|
|
29
|
+
{% capture js_url %}{% link assets/js/hydejack-7.5.2.js %}{% endcapture %}
|
|
30
|
+
<script>loadJSDeferred('{{ js_url | relative_url }}');</script>
|
|
31
|
+
{% include my-scripts.html %}
|
|
32
|
+
<!--<![endif]-->
|
|
33
|
+
{% endunless %}
|
|
@@ -64,3 +64,9 @@ h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: {{
|
|
|
64
64
|
font-family: $font-family;
|
|
65
65
|
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: $font-family-heading; }
|
|
66
66
|
}
|
|
67
|
+
|
|
68
|
+
{% if site.hydejack.no_page_style %}
|
|
69
|
+
{% assign color = site.accent_color | default:'#4fb1ba' %}
|
|
70
|
+
{% assign theme_color = site.theme_color | default:'#193747' %}
|
|
71
|
+
{% include styles/page-style.scss color=color theme_color=theme_color %}
|
|
72
|
+
{% endif %}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
// These styles interact with JavsScript!
|
|
2
|
+
// Their ordering MUST NOT be changed. See `_js/cross-fader.js`!
|
|
3
|
+
|
|
4
|
+
{% assign color = include.color | default:'#4fb1ba' %}
|
|
5
|
+
{% assign theme_color = include.theme_color | default:'#193747' %}
|
|
6
|
+
|
|
7
|
+
.content a:not(.btn) {
|
|
8
|
+
color: {{ color }};
|
|
9
|
+
border-color: fade-out({{ color }}, 0.8);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.content a:not(.btn):hover {
|
|
13
|
+
border-color: {{ color }};
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
:focus {
|
|
17
|
+
outline-color: {{ color }}!important;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.btn-primary {
|
|
21
|
+
color: #fff;
|
|
22
|
+
background-color: {{ color }};
|
|
23
|
+
border-color: {{ color }};
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.btn-primary:focus, .btn-primary.focus, .form-control:focus, .form-control.focus {
|
|
27
|
+
box-shadow: 0 0 0 3px rgba({{ color }}, .5);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.btn-primary:hover, .btn-primary.hover {
|
|
31
|
+
color: #fff;
|
|
32
|
+
background-color: darken({{ color }}, 7.5%);
|
|
33
|
+
border-color: darken({{ color }}, 7.5%);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.btn-primary:disabled, .btn-primary.disabled {
|
|
37
|
+
color: #fff;
|
|
38
|
+
background-color: {{ color }};
|
|
39
|
+
border-color: {{ color }};
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.btn-primary:active, .btn-primary.active {
|
|
43
|
+
color: #fff;
|
|
44
|
+
background-color: darken({{ color }}, 7.5%);
|
|
45
|
+
border-color: darken({{ color }}, 7.5%);
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
body.dark-mode {
|
|
49
|
+
--body-bg: #{hsl(hue({{ theme_color }}), 12.5%, 20%)};
|
|
50
|
+
--border-color: #{hsl(hue({{ theme_color }}), 12.5%, 25%)};
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
::selection {
|
|
54
|
+
color: #fff;
|
|
55
|
+
background: {{ color }};
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
::-moz-selection {
|
|
59
|
+
color: #fff;
|
|
60
|
+
background: {{ color }};
|
|
61
|
+
}
|
data/_includes/styles/style.scss
CHANGED
|
@@ -114,4 +114,10 @@ $font-family: {{ site.font | default:"Noto Sans, Helvetica, Aria
|
|
|
114
114
|
font-family: $font-family;
|
|
115
115
|
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6, .heading { font-family: $font-family-heading; }
|
|
116
116
|
}
|
|
117
|
+
|
|
118
|
+
{% if site.hydejack.no_page_style %}
|
|
119
|
+
{% assign color = site.accent_color | default:'#4fb1ba' %}
|
|
120
|
+
{% assign theme_color = site.theme_color | default:'#193747' %}
|
|
121
|
+
{% include styles/page-style.scss color=color theme_color=theme_color %}
|
|
122
|
+
{% endif %}
|
|
117
123
|
{% endunless %}
|
data/_layouts/compress.html
CHANGED
|
@@ -10,6 +10,6 @@
|
|
|
10
10
|
/\___/ \ \____/
|
|
11
11
|
\/__/ \/___/
|
|
12
12
|
|
|
13
|
-
Powered by Hydejack v8.
|
|
13
|
+
Powered by Hydejack v8.3.0 <https://hydejack.com/>
|
|
14
14
|
-->{% capture _LINE_FEED %}
|
|
15
15
|
{% endcapture %}{% if site.compress_html.ignore.envs contains jekyll.environment %}{{ content }}{% else %}{% capture _content %}{{ content }}{% endcapture %}{% assign _profile = site.compress_html.profile %}{% if site.compress_html.endings == "all" %}{% assign _endings = "html head body li dt dd p rt rp optgroup option colgroup caption thead tbody tfoot tr td th" | split: " " %}{% else %}{% assign _endings = site.compress_html.endings %}{% endif %}{% for _element in _endings %}{% capture _end %}</{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _end %}{% endfor %}{% if _profile and _endings %}{% assign _profile_endings = _content | size | plus: 1 %}{% endif %}{% for _element in site.compress_html.startings %}{% capture _start %}<{{ _element }}>{% endcapture %}{% assign _content = _content | remove: _start %}{% endfor %}{% if _profile and site.compress_html.startings %}{% assign _profile_startings = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.comments == "all" %}{% assign _comments = "<!-- -->" | split: " " %}{% else %}{% assign _comments = site.compress_html.comments %}{% endif %}{% if _comments.size == 2 %}{% capture _comment_befores %}.{{ _content }}{% endcapture %}{% assign _comment_befores = _comment_befores | split: _comments.first %}{% for _comment_before in _comment_befores %}{% if forloop.first %}{% continue %}{% endif %}{% capture _comment_outside %}{% if _carry %}{{ _comments.first }}{% endif %}{{ _comment_before }}{% endcapture %}{% capture _comment %}{% unless _carry %}{{ _comments.first }}{% endunless %}{{ _comment_outside | split: _comments.last | first }}{% if _comment_outside contains _comments.last %}{{ _comments.last }}{% assign _carry = false %}{% else %}{% assign _carry = true %}{% endif %}{% endcapture %}{% assign _content = _content | remove_first: _comment %}{% endfor %}{% if _profile %}{% assign _profile_comments = _content | size | plus: 1 %}{% endif %}{% endif %}{% assign _pre_befores = _content | split: "<pre" %}{% assign _content = "" %}{% for _pre_before in _pre_befores %}{% assign _pres = _pre_before | split: "</pre>" %}{% assign _pres_after = "" %}{% if _pres.size != 0 %}{% if site.compress_html.blanklines %}{% assign _lines = _pres.last | split: _LINE_FEED %}{% capture _pres_after %}{% for _line in _lines %}{% assign _trimmed = _line | split: " " | join: " " %}{% if _trimmed != empty or forloop.last %}{% unless forloop.first %}{{ _LINE_FEED }}{% endunless %}{{ _line }}{% endif %}{% endfor %}{% endcapture %}{% else %}{% assign _pres_after = _pres.last | split: " " | join: " " %}{% endif %}{% endif %}{% capture _content %}{{ _content }}{% if _pre_before contains "</pre>" %}<pre{{ _pres.first }}</pre>{% endif %}{% unless _pre_before contains "</pre>" and _pres.size == 1 %}{{ _pres_after }}{% endunless %}{% endcapture %}{% endfor %}{% if _profile %}{% assign _profile_collapse = _content | size | plus: 1 %}{% endif %}{% if site.compress_html.clippings == "all" %}{% assign _clippings = "html head title base link meta style body article section nav aside h1 h2 h3 h4 h5 h6 hgroup header footer address p hr blockquote ol ul li dl dt dd figure figcaption main div table caption colgroup col tbody thead tfoot tr td th" | split: " " %}{% else %}{% assign _clippings = site.compress_html.clippings %}{% endif %}{% for _element in _clippings %}{% assign _edges = " <e;<e; </e>;</e>;</e> ;</e>" | replace: "e", _element | split: ";" %}{% assign _content = _content | replace: _edges[0], _edges[1] | replace: _edges[2], _edges[3] | replace: _edges[4], _edges[5] %}{% endfor %}{% if _profile and _clippings %}{% assign _profile_clippings = _content | size | plus: 1 %}{% endif %}{{ _content }}{% if _profile %} <table id="compress_html_profile_{{ site.time | date: "%Y%m%d" }}" class="compress_html_profile"> <thead> <tr> <td>Step <td>Bytes <tbody> <tr> <td>raw <td>{{ content | size }}{% if _profile_endings %} <tr> <td>endings <td>{{ _profile_endings }}{% endif %}{% if _profile_startings %} <tr> <td>startings <td>{{ _profile_startings }}{% endif %}{% if _profile_comments %} <tr> <td>comments <td>{{ _profile_comments }}{% endif %}{% if _profile_collapse %} <tr> <td>collapse <td>{{ _profile_collapse }}{% endif %}{% if _profile_clippings %} <tr> <td>clippings <td>{{ _profile_clippings }}{% endif %} </table>{% endif %}{% endif %}</html>
|
|
@@ -27,11 +27,16 @@ article {
|
|
|
27
27
|
.katex-display, div.MathJax_Preview {
|
|
28
28
|
@extend .pre-base;
|
|
29
29
|
padding: 2rem;
|
|
30
|
-
|
|
30
|
+
& > .katex {
|
|
31
|
+
text-align: left;
|
|
32
|
+
}
|
|
31
33
|
}
|
|
32
34
|
|
|
33
|
-
|
|
35
|
+
.MathJax_Preview {
|
|
34
36
|
font-family: var(--code-font-family);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
div.MathJax_Preview {
|
|
35
40
|
font-size: .75em;
|
|
36
41
|
line-height: 1.45;
|
|
37
42
|
white-space: pre;
|
|
@@ -39,7 +44,6 @@ article {
|
|
|
39
44
|
}
|
|
40
45
|
|
|
41
46
|
span.MathJax_Preview {
|
|
42
|
-
font-family: var(--code-font-family);
|
|
43
47
|
padding: .25em .5em;
|
|
44
48
|
font-size: .85em;
|
|
45
49
|
background-color: var(--code-bg);
|
|
@@ -18,11 +18,16 @@ article {
|
|
|
18
18
|
.katex-display, div.MathJax_Preview {
|
|
19
19
|
@extend .pre-base;
|
|
20
20
|
padding: 2rem;
|
|
21
|
-
|
|
21
|
+
& > .katex {
|
|
22
|
+
text-align: left;
|
|
23
|
+
}
|
|
22
24
|
}
|
|
23
25
|
|
|
24
|
-
|
|
26
|
+
.MathJax_Preview {
|
|
25
27
|
font-family: var(--code-font-family);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
div.MathJax_Preview {
|
|
26
31
|
font-size: .75em;
|
|
27
32
|
line-height: 1.45;
|
|
28
33
|
white-space: pre;
|
|
@@ -30,7 +35,6 @@ article {
|
|
|
30
35
|
}
|
|
31
36
|
|
|
32
37
|
span.MathJax_Preview {
|
|
33
|
-
font-family: var(--code-font-family);
|
|
34
38
|
padding: .25em .5em;
|
|
35
39
|
font-size: .85em;
|
|
36
40
|
background-color: var(--code-bg);
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"dist/katex.js",
|
|
5
5
|
"dist/katex.css"
|
|
6
6
|
],
|
|
7
|
-
"homepage": "
|
|
7
|
+
"homepage": "https://katex.org/",
|
|
8
8
|
"description": "Fast math typesetting for the web.",
|
|
9
9
|
"moduleType": [
|
|
10
10
|
"amd",
|
|
@@ -18,29 +18,30 @@
|
|
|
18
18
|
},
|
|
19
19
|
"ignore": [
|
|
20
20
|
"**/.*",
|
|
21
|
-
"/*.txt",
|
|
22
21
|
"/*.js",
|
|
22
|
+
"/*.json",
|
|
23
23
|
"/*.md",
|
|
24
|
+
"!/README.md",
|
|
24
25
|
"/*.sh",
|
|
25
26
|
"/package.json",
|
|
26
27
|
"/Makefile",
|
|
27
|
-
"/build",
|
|
28
28
|
"/test",
|
|
29
29
|
"/src",
|
|
30
30
|
"/contrib",
|
|
31
31
|
"/dockers",
|
|
32
|
-
"/
|
|
33
|
-
"/static"
|
|
32
|
+
"/submodules",
|
|
33
|
+
"/static",
|
|
34
|
+
"/website"
|
|
34
35
|
],
|
|
35
|
-
"version": "0.
|
|
36
|
-
"_release": "0.
|
|
36
|
+
"version": "0.10.0",
|
|
37
|
+
"_release": "0.10.0",
|
|
37
38
|
"_resolution": {
|
|
38
39
|
"type": "version",
|
|
39
|
-
"tag": "v0.
|
|
40
|
-
"commit": "
|
|
40
|
+
"tag": "v0.10.0",
|
|
41
|
+
"commit": "e1361b5ea5e750aa09833eed7f0a92f042387675"
|
|
41
42
|
},
|
|
42
43
|
"_source": "https://github.com/Khan/KaTeX.git",
|
|
43
|
-
"_target": "
|
|
44
|
+
"_target": "0.10.0",
|
|
44
45
|
"_originalSource": "katex",
|
|
45
46
|
"_direct": true
|
|
46
47
|
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2013-2018 Khan Academy
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|