klst-theme 0.1.2 → 0.1.4
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 +5 -0
- data/_data/meta/metadata.yml +4 -0
- data/_includes/body.html +0 -1
- data/_includes/footer.html +1 -2
- data/_includes/head.html +10 -0
- data/_includes/nav.html +2 -3
- data/_includes/postlist.html +1 -1
- data/_includes/posts.html +0 -1
- data/assets/css/highlight-default.min.css +9 -0
- data/assets/css/main.css +18 -1
- data/assets/js/highlight.min.js +3899 -0
- metadata +4 -2
- data/_includes/linklist.html +0 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d3af396bdf14ec0539b6af5c7ca3d7b7a0d7bf0ecbb91f7dcc5e443c44fb9c9f
|
4
|
+
data.tar.gz: c0fdde3b3db0876e5dead7b04f07002c5311f825332e492cd021a347f57a2a71
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35d84878921dbab4ba977b07055bd186045f1459fafc240989fc3ebf3dd0566e8b38b076c46ee1bd951dd33f0b353f0fb75b28adb2fb9282059f8471d04fb683
|
7
|
+
data.tar.gz: 8320949a5d4ed78519bb2af17c6f09e7732f9ca4c864f25d26d8b2f0aa87bdb4fdb91341960d80b20d6bbf44225f616401bd613f26efa8710748d3929036257e
|
data/_config.yml
CHANGED
data/_includes/body.html
CHANGED
data/_includes/footer.html
CHANGED
data/_includes/head.html
CHANGED
@@ -1,6 +1,16 @@
|
|
1
1
|
<meta charset="UTF-8">
|
2
2
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
3
3
|
<meta http-equiv="X-UA-Compatible" content="ie=edge">
|
4
|
+
{% for metadata in site.data.meta.metadata %}
|
5
|
+
<meta name={{metadata[0]}} content={{metadata[1]}}></meta>
|
6
|
+
{% endfor %}
|
7
|
+
<meta name="author" content="{{site.organisation}}" >
|
8
|
+
<meta name="url" content="{{site.baseurl}}">
|
9
|
+
|
4
10
|
<title>{{site.title}} | {{page.title}}</title>
|
5
11
|
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/ash.css">
|
6
12
|
<link rel="stylesheet" href="{{site.baseurl}}/assets/css/main.css">
|
13
|
+
|
14
|
+
<script src="{{site.baseurl}}/assets/css/highlight-default.min.css"></script>
|
15
|
+
<script src="{{site.baseurl}}/assets/js/highlight.min.js"></script>
|
16
|
+
<script>hljs.highlightAll();</script>
|
data/_includes/nav.html
CHANGED
@@ -1,13 +1,12 @@
|
|
1
1
|
<nav>
|
2
|
-
<div class="brand --padding-
|
3
|
-
<header><a href="/">{{site.title}}</a></header>
|
2
|
+
<div class="brand --padding-top-0 --padding-bottom-0">
|
3
|
+
<header><a href="/"><img class="nav-logo" src="/assets/svg/logo.svg"> {{site.title}}</a></header>
|
4
4
|
</div>
|
5
5
|
<div class="group -collapse --padding-right-2">
|
6
6
|
<div class="dropdown -right">
|
7
7
|
<a href="/posts" tabindex="0">
|
8
8
|
Posts
|
9
9
|
</a>
|
10
|
-
|
11
10
|
</div>
|
12
11
|
</div>
|
13
12
|
</nav>
|
data/_includes/postlist.html
CHANGED
data/_includes/posts.html
CHANGED
@@ -0,0 +1,9 @@
|
|
1
|
+
/*!
|
2
|
+
Theme: Default
|
3
|
+
Description: Original highlight.js style
|
4
|
+
Author: (c) Ivan Sagalaev <maniac@softwaremaniacs.org>
|
5
|
+
Maintainer: @highlightjs/core-team
|
6
|
+
Website: https://highlightjs.org/
|
7
|
+
License: see project LICENSE
|
8
|
+
Touched: 2021
|
9
|
+
*/pre code.hljs{display:block;overflow-x:auto;padding:1em}code.hljs{padding:3px 5px}.hljs{background:#f3f3f3;color:#444}.hljs-comment{color:#697070}.hljs-punctuation,.hljs-tag{color:#444a}.hljs-tag .hljs-attr,.hljs-tag .hljs-name{color:#444}.hljs-attribute,.hljs-doctag,.hljs-keyword,.hljs-meta .hljs-keyword,.hljs-name,.hljs-selector-tag{font-weight:700}.hljs-deletion,.hljs-number,.hljs-quote,.hljs-selector-class,.hljs-selector-id,.hljs-string,.hljs-template-tag,.hljs-type{color:#800}.hljs-section,.hljs-title{color:#800;font-weight:700}.hljs-link,.hljs-operator,.hljs-regexp,.hljs-selector-attr,.hljs-selector-pseudo,.hljs-symbol,.hljs-template-variable,.hljs-variable{color:#ab5656}.hljs-literal{color:#695}.hljs-addition,.hljs-built_in,.hljs-bullet,.hljs-code{color:#397300}.hljs-meta{color:#1f7199}.hljs-meta .hljs-string{color:#38a}.hljs-emphasis{font-style:italic}.hljs-strong{font-weight:700}
|
data/assets/css/main.css
CHANGED
@@ -9,5 +9,22 @@ div.logo {
|
|
9
9
|
}
|
10
10
|
|
11
11
|
div.logo > img {
|
12
|
-
width: 100%;
|
12
|
+
max-width: 100%;
|
13
|
+
}
|
14
|
+
|
15
|
+
div.content img {
|
16
|
+
max-width: 100%;
|
17
|
+
border-radius: 2%;
|
18
|
+
}
|
19
|
+
|
20
|
+
img.nav-logo {
|
21
|
+
max-height: 100%;
|
22
|
+
}
|
23
|
+
|
24
|
+
header {
|
25
|
+
height:inherit;
|
26
|
+
}
|
27
|
+
|
28
|
+
div.brand {
|
29
|
+
height: 100%;
|
13
30
|
}
|