tessera-jekyll-theme 0.1.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 +7 -0
- data/LICENSE +21 -0
- data/LICENSE.txt +21 -0
- data/README.md +126 -0
- data/_config.yml +10 -0
- data/_includes/bottompane.html +12 -0
- data/_includes/comments.html +25 -0
- data/_includes/leftpane.html +64 -0
- data/_includes/pagination-controls.html +26 -0
- data/_includes/postcontent.html +35 -0
- data/_includes/postgrid.html +30 -0
- data/_includes/rightpane.html +48 -0
- data/_includes/searchbar.html +7 -0
- data/_includes/toppane.html +52 -0
- data/_includes/userbox.html +11 -0
- data/_layouts/archive.html +29 -0
- data/_layouts/default.html +16 -0
- data/_layouts/home.html +10 -0
- data/_layouts/page.html +5 -0
- data/_layouts/post.html +25 -0
- data/assets/css/style.css +761 -0
- data/assets/img/avatar.webp +0 -0
- data/assets/img/banner.svg +1 -0
- data/assets/js/search.js +40 -0
- metadata +104 -0
Binary file
|
@@ -0,0 +1 @@
|
|
1
|
+
<svg width="3155" height="501" version="1.1" viewBox="0 0 3155 501" xml:space="preserve" xmlns="http://www.w3.org/2000/svg"><g transform="translate(-1321 -224)" fill="#eee"><rect x="1321" y="224" width="736.9" height="90.31" rx="15.99" ry="15.99" style="paint-order:stroke markers fill"/><rect x="1321" y="634.7" width="736.9" height="90.31" rx="15.99" ry="15.99" style="paint-order:stroke markers fill"/><rect x="1906" y="353.7" width="152.6" height="241.6" rx="15.99" ry="15.99" style="paint-order:stroke markers fill"/><rect x="1321" y="353.7" width="152.6" height="241.6" rx="15.99" ry="15.99" style="paint-order:stroke markers fill"/><rect x="1529" y="353.7" width="321.1" height="241.6" rx="15.99" ry="15.99" style="paint-order:stroke markers fill"/><g transform="matrix(.7377 0 0 .7377 793.2 113.9)"><path d="m2343 175v118.1h-185.6v497.3h-138.5v-497.3h-185.6v-118.1zm-8.88 385.4c0-41.44 6.216-77.55 18.65-108.3 13.02-31.38 29.9-57.42 50.62-78.14s44.4-36.41 71.04-47.06c27.23-10.66 55.06-15.98 83.47-15.98 66.3 0 118.7 20.42 157.2 61.27 38.48 40.26 57.72 99.75 57.72 178.5 0 7.696-0.296 16.28-0.888 25.75-0.592 8.88-1.184 16.87-1.776 23.98h-300.1c2.96 27.23 15.69 48.84 38.18 64.82s52.69 23.98 90.58 23.98c24.27 0 47.95-2.072 71.04-6.216 23.68-4.736 42.92-10.36 57.72-16.87l17.76 107.4c-7.104 3.552-16.58 7.104-28.42 10.66s-25.16 6.512-39.96 8.88c-14.21 2.96-29.6 5.328-46.18 7.104s-33.15 2.664-49.73 2.664c-42.03 0-78.74-6.216-110.1-18.65-30.78-12.43-56.54-29.3-77.26-50.62-20.13-21.9-35.22-47.66-45.29-77.26-9.472-29.6-14.21-61.57-14.21-95.9zm310.8-50.62c-0.592-11.25-2.664-22.2-6.216-32.86-2.96-10.66-7.992-20.13-15.1-28.42-6.512-8.288-15.1-15.1-25.75-20.42-10.06-5.328-22.79-7.992-38.18-7.992-14.8 0-27.53 2.664-38.18 7.992-10.66 4.736-19.54 11.25-26.64 19.54s-12.73 18.06-16.87 29.3c-3.552 10.66-6.216 21.61-7.992 32.86zm364.1 185.6c24.27 0 41.44-2.368 51.5-7.104s15.1-13.91 15.1-27.53c0-10.66-6.512-19.83-19.54-27.53-13.02-8.288-32.86-17.46-59.5-27.53-20.72-7.696-39.66-15.69-56.83-23.98-16.58-8.288-30.78-18.06-42.62-29.3-11.84-11.84-21.02-25.75-27.53-41.74s-9.768-35.22-9.768-57.72c0-43.81 16.28-78.44 48.84-103.9s77.26-38.18 134.1-38.18c28.42 0 55.65 2.664 81.7 7.992 26.05 4.736 46.77 10.06 62.16 15.98l-23.09 103c-15.39-5.328-32.26-10.06-50.62-14.21-17.76-4.144-37.89-6.216-60.38-6.216-41.44 0-62.16 11.54-62.16 34.63 0 5.328 0.888 10.06 2.664 14.21s5.328 8.288 10.66 12.43c5.328 3.552 12.43 7.696 21.31 12.43 9.472 4.144 21.31 8.88 35.52 14.21 29.01 10.66 52.98 21.31 71.93 31.97 18.94 10.06 33.74 21.31 44.4 33.74 11.25 11.84 18.94 25.16 23.09 39.96 4.736 14.8 7.104 31.97 7.104 51.5 0 46.18-17.46 81.1-52.39 104.8-34.34 23.68-83.18 35.52-146.5 35.52-41.44 0-76.07-3.552-103.9-10.66-27.23-7.104-46.18-13.02-56.83-17.76l22.2-107.4c22.5 8.88 45.58 15.98 69.26 21.31 23.68 4.736 47.06 7.104 70.15 7.104zm705.1-135c0-41.44 6.216-77.55 18.65-108.3 13.02-31.38 29.9-57.42 50.62-78.14s44.4-36.41 71.04-47.06c27.23-10.66 55.06-15.98 83.47-15.98 66.3 0 118.7 20.42 157.2 61.27 38.48 40.26 57.72 99.75 57.72 178.5 0 7.696-0.296 16.28-0.888 25.75-0.592 8.88-1.184 16.87-1.776 23.98h-300.1c2.96 27.23 15.69 48.84 38.18 64.82s52.69 23.98 90.58 23.98c24.27 0 47.95-2.072 71.04-6.216 23.68-4.736 42.92-10.36 57.72-16.87l17.76 107.4c-7.104 3.552-16.58 7.104-28.42 10.66s-25.16 6.512-39.96 8.88c-14.21 2.96-29.6 5.328-46.18 7.104s-33.15 2.664-49.73 2.664c-42.03 0-78.74-6.216-110.1-18.65-30.78-12.43-56.54-29.3-77.26-50.62-20.13-21.9-35.22-47.66-45.29-77.26-9.472-29.6-14.21-61.57-14.21-95.9zm310.8-50.62c-0.592-11.25-2.664-22.2-6.216-32.86-2.96-10.66-7.992-20.13-15.1-28.42-6.512-8.288-15.1-15.1-25.75-20.42-10.06-5.328-22.79-7.992-38.18-7.992-14.8 0-27.53 2.664-38.18 7.992-10.66 4.736-19.54 11.25-26.64 19.54s-12.73 18.06-16.87 29.3c-3.552 10.66-6.216 21.61-7.992 32.86zm511.5-69.26c-11.84-2.96-25.75-5.92-41.74-8.88-15.98-3.552-33.15-5.328-51.5-5.328-8.288 0-18.35 0.888-30.19 2.664-11.25 1.184-19.83 2.664-25.75 4.44v357h-132.3v-442.2c23.68-8.288 51.5-15.98 83.47-23.09 32.56-7.696 68.67-11.54 108.3-11.54 7.104 0 15.69 0.592 25.75 1.776 10.06 0.592 20.13 1.776 30.19 3.552 10.06 1.184 20.13 2.96 30.19 5.328 10.06 1.776 18.65 4.144 25.75 7.104zm262.8 257.5c13.02 0 25.46-0.296 37.3-0.888s21.31-1.48 28.42-2.664v-100.3c-5.328-1.184-13.32-2.368-23.98-3.552s-20.42-1.776-29.3-1.776c-12.43 0-24.27 0.888-35.52 2.664-10.66 1.184-20.13 3.848-28.42 7.992s-14.8 9.768-19.54 16.87-7.104 15.98-7.104 26.64c0 20.72 6.808 35.22 20.42 43.51 14.21 7.696 33.45 11.54 57.72 11.54zm-10.66-387.2c39.07 0 71.63 4.44 97.68 13.32s46.77 21.61 62.16 38.18c15.98 16.58 27.23 36.7 33.74 60.38s9.768 50.02 9.768 79.03v275.3c-18.94 4.144-45.29 8.88-79.03 14.21-33.74 5.92-74.59 8.88-122.5 8.88-30.19 0-57.72-2.664-82.58-7.992-24.27-5.328-45.29-13.91-63.05-25.75-17.76-12.43-31.38-28.42-40.85-47.95s-14.21-43.51-14.21-71.93c0-27.23 5.328-50.32 15.98-69.26 11.25-18.94 26.05-34.04 44.4-45.29s39.37-19.24 63.05-23.98c23.68-5.328 48.25-7.992 73.7-7.992 17.17 0 32.26 0.888 45.29 2.664 13.62 1.184 24.57 2.96 32.86 5.328v-12.43c0-22.5-6.808-40.55-20.42-54.17s-37.3-20.42-71.04-20.42c-22.5 0-44.7 1.776-66.6 5.328-21.9 2.96-40.85 7.4-56.83 13.32l-16.87-106.6c7.696-2.368 17.17-4.736 28.42-7.104 11.84-2.96 24.57-5.328 38.18-7.104 13.62-2.368 27.82-4.144 42.62-5.328 15.39-1.776 30.78-2.664 46.18-2.664z" style="paint-order:stroke markers fill" aria-label="Tessera"/><path d="m3449 310.8c56.83 0 101.5 12.73 134.1 38.18s48.84 60.09 48.84 103.9c0 22.5-3.256 41.74-9.768 57.72s-15.69 29.9-27.53 41.74c-11.84 11.25-26.05 21.01-42.62 29.3-17.17 8.288-36.11 16.28-56.83 23.98-26.64 10.06-46.47 19.24-59.5 27.53-13.02 7.696-19.54 16.87-19.54 27.53 0 13.62 5.032 22.79 15.1 27.53s27.23 7.104 51.5 7.104c23.09 0 46.47-2.368 70.15-7.104 23.68-5.328 46.77-12.43 69.26-21.31l22.2 107.4c-10.66 4.736-29.6 10.66-56.83 17.76-27.82 7.104-62.46 10.66-103.9 10.66-63.34 0-112.2-11.84-146.5-35.52-34.93-23.68-52.39-58.61-52.39-104.8 0-19.54 2.368-36.7 7.104-51.5 4.144-14.8 11.84-28.12 23.09-39.96 10.66-12.43 25.46-23.68 44.4-33.74 18.94-10.66 42.92-21.31 71.93-31.97 14.21-5.328 26.05-10.06 35.52-14.21 8.88-4.736 15.98-8.88 21.31-12.43 5.328-4.144 8.88-8.288 10.66-12.43s2.664-8.879 2.664-14.21c0-23.09-20.72-34.63-62.16-34.63-22.5 0-42.62 2.073-60.38 6.217-18.35 4.144-35.23 8.879-50.62 14.21l-23.09-103c15.39-5.92 36.11-11.25 62.16-15.98 26.05-5.328 53.28-7.992 81.7-7.992z" style="paint-order:stroke markers fill"/></g></g></svg>
|
data/assets/js/search.js
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
let searchData = [];
|
2
|
+
|
3
|
+
fetch('/search.json')
|
4
|
+
.then(res => res.json())
|
5
|
+
.then(data =>
|
6
|
+
{
|
7
|
+
searchData = data;
|
8
|
+
initSearchBars();
|
9
|
+
});
|
10
|
+
|
11
|
+
function initSearchBars()
|
12
|
+
{
|
13
|
+
document.querySelectorAll('.search-box').forEach(box =>
|
14
|
+
{
|
15
|
+
const input = box.querySelector('.search-input');
|
16
|
+
const resultsContainer = box.querySelector('.search-results');
|
17
|
+
|
18
|
+
if (!input || !resultsContainer) return;
|
19
|
+
|
20
|
+
input.addEventListener('input', function ()
|
21
|
+
{
|
22
|
+
const query = this.value.toLowerCase();
|
23
|
+
resultsContainer.innerHTML = '';
|
24
|
+
|
25
|
+
if (query.length < 2) return;
|
26
|
+
|
27
|
+
const results = searchData.filter(item =>
|
28
|
+
item.title.toLowerCase().includes(query) ||
|
29
|
+
item.content.toLowerCase().includes(query)
|
30
|
+
);
|
31
|
+
|
32
|
+
results.slice(0, 10).forEach(result =>
|
33
|
+
{
|
34
|
+
const li = document.createElement('li');
|
35
|
+
li.innerHTML = `<a href="${result.url}">${result.title}</a>`;
|
36
|
+
resultsContainer.appendChild(li);
|
37
|
+
});
|
38
|
+
});
|
39
|
+
});
|
40
|
+
}
|
metadata
ADDED
@@ -0,0 +1,104 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: tessera-jekyll-theme
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- ItsZariep
|
8
|
+
bindir: bin
|
9
|
+
cert_chain: []
|
10
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
11
|
+
dependencies:
|
12
|
+
- !ruby/object:Gem::Dependency
|
13
|
+
name: jekyll
|
14
|
+
requirement: !ruby/object:Gem::Requirement
|
15
|
+
requirements:
|
16
|
+
- - "~>"
|
17
|
+
- !ruby/object:Gem::Version
|
18
|
+
version: '4.4'
|
19
|
+
type: :runtime
|
20
|
+
prerelease: false
|
21
|
+
version_requirements: !ruby/object:Gem::Requirement
|
22
|
+
requirements:
|
23
|
+
- - "~>"
|
24
|
+
- !ruby/object:Gem::Version
|
25
|
+
version: '4.4'
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: jekyll-paginate
|
28
|
+
requirement: !ruby/object:Gem::Requirement
|
29
|
+
requirements:
|
30
|
+
- - "~>"
|
31
|
+
- !ruby/object:Gem::Version
|
32
|
+
version: '1.1'
|
33
|
+
type: :runtime
|
34
|
+
prerelease: false
|
35
|
+
version_requirements: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - "~>"
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '1.1'
|
40
|
+
- !ruby/object:Gem::Dependency
|
41
|
+
name: jekyll-archives
|
42
|
+
requirement: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - "~>"
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '2.3'
|
47
|
+
type: :runtime
|
48
|
+
prerelease: false
|
49
|
+
version_requirements: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - "~>"
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '2.3'
|
54
|
+
email:
|
55
|
+
- itszariep@disroot.org
|
56
|
+
executables: []
|
57
|
+
extensions: []
|
58
|
+
extra_rdoc_files: []
|
59
|
+
files:
|
60
|
+
- LICENSE
|
61
|
+
- LICENSE.txt
|
62
|
+
- README.md
|
63
|
+
- _config.yml
|
64
|
+
- _includes/bottompane.html
|
65
|
+
- _includes/comments.html
|
66
|
+
- _includes/leftpane.html
|
67
|
+
- _includes/pagination-controls.html
|
68
|
+
- _includes/postcontent.html
|
69
|
+
- _includes/postgrid.html
|
70
|
+
- _includes/rightpane.html
|
71
|
+
- _includes/searchbar.html
|
72
|
+
- _includes/toppane.html
|
73
|
+
- _includes/userbox.html
|
74
|
+
- _layouts/archive.html
|
75
|
+
- _layouts/default.html
|
76
|
+
- _layouts/home.html
|
77
|
+
- _layouts/page.html
|
78
|
+
- _layouts/post.html
|
79
|
+
- assets/css/style.css
|
80
|
+
- assets/img/avatar.webp
|
81
|
+
- assets/img/banner.svg
|
82
|
+
- assets/js/search.js
|
83
|
+
homepage: https://github.com/itszariep/tessera
|
84
|
+
licenses:
|
85
|
+
- MIT
|
86
|
+
metadata: {}
|
87
|
+
rdoc_options: []
|
88
|
+
require_paths:
|
89
|
+
- lib
|
90
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
91
|
+
requirements:
|
92
|
+
- - ">="
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: '0'
|
95
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
96
|
+
requirements:
|
97
|
+
- - ">="
|
98
|
+
- !ruby/object:Gem::Version
|
99
|
+
version: '0'
|
100
|
+
requirements: []
|
101
|
+
rubygems_version: 3.6.7
|
102
|
+
specification_version: 4
|
103
|
+
summary: Simple jekyll theme with a grid layout
|
104
|
+
test_files: []
|