pinel-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/README.md +10 -0
- data/_includes/footer.html +3 -0
- data/_includes/head.html +5 -0
- data/_includes/navbar.html +14 -0
- data/_includes/search.html +86 -0
- data/_layouts/default.html +14 -0
- data/_layouts/docs.html +30 -0
- data/_layouts/home.html +4 -0
- data/_sass/pinel.scss +560 -0
- data/assets/css/style.scss +3 -0
- metadata +83 -0
checksums.yaml
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
---
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 9f53847757d314df2a3a6b09f0e5cb3ac43a4ea217cb9f5a9cca5ab448b30e7d
|
|
4
|
+
data.tar.gz: df67d79361ad69cd17d538e99b0efc89090c70347b3b358f374af7f437a17f25
|
|
5
|
+
SHA512:
|
|
6
|
+
metadata.gz: aef2c0fa6a3151ca76d18a41424da451182a39a0140dcb3edce72fc92f23b3d561ee13a998c87ad2e4254da4438e2ec55cf28284abd135edfa1a56726cf30f7c
|
|
7
|
+
data.tar.gz: 78fba6e603af0c13aba9b4a869acb9c68156352e47fd99a17a6d081a5ca401af63f11cea957bb8a8b855d0b4774d379c52bb4d247fe038ff9cdd04a47cc12f41
|
data/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 kashsuks
|
|
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.
|
data/README.md
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# Tonic Starter
|
|
2
|
+
|
|
3
|
+
A sample [Jekyll](https://jekyllrb.com) theme designed to be a starting point for all [Tonic](https://github.com/hackclub/tonic) submissions.
|
|
4
|
+
|
|
5
|
+
This template is intentionally left incomplete; users should play through Tonic to learn how to make a full-featured theme.
|
|
6
|
+
|
|
7
|
+
# Usage
|
|
8
|
+
1. At the top of this page, select **Use this template** > **Create a new repository** to clone the template to your account.
|
|
9
|
+
2. Create a codespace from the created repository (for beginners) or use `git clone` (for advanced users) to start pushing commits.
|
|
10
|
+
3. Run `gem install jekyll`, then `jekyll serve` to see the template in action.
|
data/_includes/head.html
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
<meta charset="utf-8">
|
|
2
|
+
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
3
|
+
<title>{% if page.title %}{{ page.title }} — {{ site.title }}{% else %}{{ site.title }}{% endif %}</title>
|
|
4
|
+
<meta name="description" content="{{ page.description | default: site.description }}">
|
|
5
|
+
<link rel="stylesheet" href="{{ '/assets/css/style.css' | relative_url }}">
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<nav class="navbar">
|
|
2
|
+
<a href="{{ '/' | relative_url }}" class="navbar-brand">
|
|
3
|
+
Pinel
|
|
4
|
+
</a>
|
|
5
|
+
<ul class="navbar-links">
|
|
6
|
+
<li><a href="{{ '/' | relative_url }}" {% if page.url == '/' %}class="active"{% endif %}>Home</a></li>
|
|
7
|
+
<li><a href="{{ '/docs/getting-started/' | relative_url }}" {% if page.url contains '/docs/' %}class="active"{% endif %}>Documentation</a></li>
|
|
8
|
+
</ul>
|
|
9
|
+
<div class="navbar-search" onclick="openSearch()">
|
|
10
|
+
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.35-4.35"/></svg>
|
|
11
|
+
<input type="text" placeholder="Search..." readonly>
|
|
12
|
+
<kbd>⌘K</kbd>
|
|
13
|
+
</div>
|
|
14
|
+
</nav>
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<div class="search-overlay" id="searchOverlay">
|
|
2
|
+
<div class="search-modal">
|
|
3
|
+
<div class="search-input-wrapper">
|
|
4
|
+
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><circle cx="11" cy="11" r="8"/><path d="M21 21l-4.35-4.35"/></svg>
|
|
5
|
+
<input type="text" id="searchInput" placeholder="Search documentation..." autofocus>
|
|
6
|
+
<kbd>esc</kbd>
|
|
7
|
+
</div>
|
|
8
|
+
<div class="search-results" id="searchResults">
|
|
9
|
+
<div class="search-empty">Start typing to search...</div>
|
|
10
|
+
</div>
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
|
|
14
|
+
<script>
|
|
15
|
+
(function() {
|
|
16
|
+
var searchData = [];
|
|
17
|
+
{% for doc in site.docs %}
|
|
18
|
+
searchData.push({
|
|
19
|
+
title: {{ doc.title | jsonify }},
|
|
20
|
+
url: "{{ doc.url | relative_url }}",
|
|
21
|
+
content: {{ doc.content | strip_html | truncate: 500 | jsonify }},
|
|
22
|
+
category: {{ doc.category | default: "General" | jsonify }}
|
|
23
|
+
});
|
|
24
|
+
{% endfor %}
|
|
25
|
+
|
|
26
|
+
var overlay = document.getElementById('searchOverlay');
|
|
27
|
+
var input = document.getElementById('searchInput');
|
|
28
|
+
var results = document.getElementById('searchResults');
|
|
29
|
+
|
|
30
|
+
window.openSearch = function() {
|
|
31
|
+
overlay.classList.add('active');
|
|
32
|
+
setTimeout(function() { input.focus(); }, 100);
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
window.closeSearch = function() {
|
|
36
|
+
overlay.classList.remove('active');
|
|
37
|
+
input.value = '';
|
|
38
|
+
results.innerHTML = '<div class="search-empty">Start typing to search...</div>';
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
overlay.addEventListener('click', function(e) {
|
|
42
|
+
if (e.target === overlay) closeSearch();
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
document.addEventListener('keydown', function(e) {
|
|
46
|
+
if ((e.metaKey || e.ctrlKey) && e.key === 'k') {
|
|
47
|
+
e.preventDefault();
|
|
48
|
+
if (overlay.classList.contains('active')) {
|
|
49
|
+
closeSearch();
|
|
50
|
+
} else {
|
|
51
|
+
openSearch();
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
if (e.key === 'Escape') closeSearch();
|
|
55
|
+
});
|
|
56
|
+
|
|
57
|
+
input.addEventListener('input', function() {
|
|
58
|
+
var query = this.value.toLowerCase().trim();
|
|
59
|
+
if (!query) {
|
|
60
|
+
results.innerHTML = '<div class="search-empty">Start typing to search...</div>';
|
|
61
|
+
return;
|
|
62
|
+
}
|
|
63
|
+
var matches = searchData.filter(function(item) {
|
|
64
|
+
return item.title.toLowerCase().indexOf(query) !== -1 ||
|
|
65
|
+
item.content.toLowerCase().indexOf(query) !== -1;
|
|
66
|
+
});
|
|
67
|
+
if (matches.length === 0) {
|
|
68
|
+
results.innerHTML = '<div class="search-empty">No results found for "' + query.replace(/[<>&"]/g, '') + '"</div>';
|
|
69
|
+
return;
|
|
70
|
+
}
|
|
71
|
+
results.innerHTML = matches.map(function(item) {
|
|
72
|
+
var idx = item.content.toLowerCase().indexOf(query);
|
|
73
|
+
var preview = '';
|
|
74
|
+
if (idx !== -1) {
|
|
75
|
+
var start = Math.max(0, idx - 40);
|
|
76
|
+
var end = Math.min(item.content.length, idx + query.length + 60);
|
|
77
|
+
preview = (start > 0 ? '...' : '') + item.content.substring(start, end) + (end < item.content.length ? '...' : '');
|
|
78
|
+
}
|
|
79
|
+
return '<a class="search-result-item" href="' + item.url + '">' +
|
|
80
|
+
'<div class="result-title">' + item.title + '</div>' +
|
|
81
|
+
(preview ? '<div class="result-preview">' + preview + '</div>' : '') +
|
|
82
|
+
'</a>';
|
|
83
|
+
}).join('');
|
|
84
|
+
});
|
|
85
|
+
})();
|
|
86
|
+
</script>
|
data/_layouts/docs.html
ADDED
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
---
|
|
2
|
+
layout: default
|
|
3
|
+
---
|
|
4
|
+
<div class="docs-wrapper">
|
|
5
|
+
<aside class="docs-sidebar" id="docsSidebar">
|
|
6
|
+
{% assign grouped = site.docs | group_by: "category" %}
|
|
7
|
+
{% for group in grouped %}
|
|
8
|
+
<div class="sidebar-section">
|
|
9
|
+
<h4>{{ group.name | default: "General" }}</h4>
|
|
10
|
+
<ul>
|
|
11
|
+
{% assign sorted = group.items | sort: "order" %}
|
|
12
|
+
{% for doc in sorted %}
|
|
13
|
+
<li><a href="{{ doc.url | relative_url }}" {% if page.url == doc.url %}class="active"{% endif %}>{{ doc.title }}</a></li>
|
|
14
|
+
{% endfor %}
|
|
15
|
+
</ul>
|
|
16
|
+
</div>
|
|
17
|
+
{% endfor %}
|
|
18
|
+
</aside>
|
|
19
|
+
<article class="docs-content">
|
|
20
|
+
<h1>{{ page.title }}</h1>
|
|
21
|
+
{% if page.description %}
|
|
22
|
+
<div class="docs-meta">{{ page.description }}</div>
|
|
23
|
+
{% endif %}
|
|
24
|
+
{{ content }}
|
|
25
|
+
</article>
|
|
26
|
+
</div>
|
|
27
|
+
|
|
28
|
+
<button class="sidebar-toggle" onclick="document.getElementById('docsSidebar').classList.toggle('open')">
|
|
29
|
+
<svg width="20" height="20" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M3 12h18M3 6h18M3 18h18"/></svg>
|
|
30
|
+
</button>
|
data/_layouts/home.html
ADDED
data/_sass/pinel.scss
ADDED
|
@@ -0,0 +1,560 @@
|
|
|
1
|
+
// ===== Color Variables =====
|
|
2
|
+
$bg: #1e1e2e;
|
|
3
|
+
$fg: #b4befe;
|
|
4
|
+
$red: #df4576;
|
|
5
|
+
$green: #00ffd2;
|
|
6
|
+
$blue: #00a9ff;
|
|
7
|
+
$yellow: #f9e2af;
|
|
8
|
+
$purple: #cba6f7;
|
|
9
|
+
$cyan: #89dceb;
|
|
10
|
+
$gray: #9399b2;
|
|
11
|
+
|
|
12
|
+
$bg-light: lighten($bg, 5%);
|
|
13
|
+
$bg-lighter: lighten($bg, 10%);
|
|
14
|
+
$border: rgba($gray, 0.2);
|
|
15
|
+
|
|
16
|
+
// ===== Reset & Base =====
|
|
17
|
+
*, *::before, *::after {
|
|
18
|
+
box-sizing: border-box;
|
|
19
|
+
margin: 0;
|
|
20
|
+
padding: 0;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
html {
|
|
24
|
+
scroll-behavior: smooth;
|
|
25
|
+
font-size: 16px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
body {
|
|
29
|
+
font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, sans-serif;
|
|
30
|
+
background: $bg;
|
|
31
|
+
color: $fg;
|
|
32
|
+
line-height: 1.6;
|
|
33
|
+
min-height: 100vh;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
a {
|
|
37
|
+
color: $green;
|
|
38
|
+
text-decoration: none;
|
|
39
|
+
transition: color 0.2s;
|
|
40
|
+
&:hover { color: lighten($green, 10%); }
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
code {
|
|
44
|
+
background: $bg-lighter;
|
|
45
|
+
padding: 2px 6px;
|
|
46
|
+
border-radius: 4px;
|
|
47
|
+
font-size: 0.9em;
|
|
48
|
+
font-family: 'SF Mono', 'Fira Code', 'Cascadia Code', monospace;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
pre {
|
|
52
|
+
background: $bg-light;
|
|
53
|
+
border: 1px solid $border;
|
|
54
|
+
border-radius: 8px;
|
|
55
|
+
padding: 1rem;
|
|
56
|
+
overflow-x: auto;
|
|
57
|
+
code {
|
|
58
|
+
background: none;
|
|
59
|
+
padding: 0;
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
|
|
63
|
+
img { max-width: 100%; }
|
|
64
|
+
|
|
65
|
+
// ===== Navbar =====
|
|
66
|
+
.navbar {
|
|
67
|
+
display: flex;
|
|
68
|
+
align-items: center;
|
|
69
|
+
justify-content: space-between;
|
|
70
|
+
padding: 1rem 2rem;
|
|
71
|
+
border-bottom: 1px solid $border;
|
|
72
|
+
background: rgba($bg, 0.95);
|
|
73
|
+
backdrop-filter: blur(10px);
|
|
74
|
+
position: sticky;
|
|
75
|
+
top: 0;
|
|
76
|
+
z-index: 100;
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.navbar-brand {
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
gap: 0.5rem;
|
|
83
|
+
font-size: 1.4rem;
|
|
84
|
+
font-weight: 700;
|
|
85
|
+
color: $green;
|
|
86
|
+
letter-spacing: -0.5px;
|
|
87
|
+
&:hover { color: $green; }
|
|
88
|
+
.brand-icon {
|
|
89
|
+
width: 32px;
|
|
90
|
+
height: 32px;
|
|
91
|
+
}
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.navbar-links {
|
|
95
|
+
display: flex;
|
|
96
|
+
align-items: center;
|
|
97
|
+
gap: 1.5rem;
|
|
98
|
+
list-style: none;
|
|
99
|
+
a {
|
|
100
|
+
color: $gray;
|
|
101
|
+
font-size: 0.95rem;
|
|
102
|
+
font-weight: 500;
|
|
103
|
+
&:hover, &.active { color: $fg; }
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.navbar-search {
|
|
108
|
+
display: flex;
|
|
109
|
+
align-items: center;
|
|
110
|
+
background: $bg-light;
|
|
111
|
+
border: 1px solid $border;
|
|
112
|
+
border-radius: 6px;
|
|
113
|
+
padding: 0.4rem 0.75rem;
|
|
114
|
+
gap: 0.5rem;
|
|
115
|
+
cursor: pointer;
|
|
116
|
+
transition: border-color 0.2s;
|
|
117
|
+
&:hover { border-color: $gray; }
|
|
118
|
+
input {
|
|
119
|
+
background: none;
|
|
120
|
+
border: none;
|
|
121
|
+
color: $fg;
|
|
122
|
+
outline: none;
|
|
123
|
+
font-size: 0.85rem;
|
|
124
|
+
width: 120px;
|
|
125
|
+
&::placeholder { color: $gray; }
|
|
126
|
+
}
|
|
127
|
+
kbd {
|
|
128
|
+
background: $bg-lighter;
|
|
129
|
+
border: 1px solid $border;
|
|
130
|
+
border-radius: 4px;
|
|
131
|
+
padding: 1px 6px;
|
|
132
|
+
font-size: 0.75rem;
|
|
133
|
+
color: $gray;
|
|
134
|
+
font-family: inherit;
|
|
135
|
+
}
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
// ===== Hero =====
|
|
139
|
+
.hero {
|
|
140
|
+
text-align: center;
|
|
141
|
+
padding: 6rem 2rem 4rem;
|
|
142
|
+
border-bottom: 1px solid $border;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.hero h1 {
|
|
146
|
+
font-size: 3rem;
|
|
147
|
+
font-weight: 300;
|
|
148
|
+
color: $fg;
|
|
149
|
+
margin-bottom: 2rem;
|
|
150
|
+
letter-spacing: -1px;
|
|
151
|
+
span { color: $green; font-weight: 600; }
|
|
152
|
+
}
|
|
153
|
+
|
|
154
|
+
.hero-buttons {
|
|
155
|
+
display: flex;
|
|
156
|
+
gap: 1rem;
|
|
157
|
+
justify-content: center;
|
|
158
|
+
flex-wrap: wrap;
|
|
159
|
+
}
|
|
160
|
+
|
|
161
|
+
// ===== Buttons =====
|
|
162
|
+
.btn {
|
|
163
|
+
display: inline-flex;
|
|
164
|
+
align-items: center;
|
|
165
|
+
gap: 0.5rem;
|
|
166
|
+
padding: 0.75rem 2rem;
|
|
167
|
+
border-radius: 8px;
|
|
168
|
+
font-size: 1rem;
|
|
169
|
+
font-weight: 600;
|
|
170
|
+
border: 2px solid transparent;
|
|
171
|
+
cursor: pointer;
|
|
172
|
+
transition: all 0.2s;
|
|
173
|
+
text-decoration: none;
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.btn-primary {
|
|
177
|
+
background: $green;
|
|
178
|
+
color: $bg;
|
|
179
|
+
&:hover {
|
|
180
|
+
background: lighten($green, 5%);
|
|
181
|
+
color: $bg;
|
|
182
|
+
transform: translateY(-1px);
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.btn-secondary {
|
|
187
|
+
background: transparent;
|
|
188
|
+
border-color: $green;
|
|
189
|
+
color: $green;
|
|
190
|
+
&:hover {
|
|
191
|
+
background: rgba($green, 0.1);
|
|
192
|
+
color: $green;
|
|
193
|
+
transform: translateY(-1px);
|
|
194
|
+
}
|
|
195
|
+
}
|
|
196
|
+
|
|
197
|
+
// ===== Features =====
|
|
198
|
+
.features {
|
|
199
|
+
display: grid;
|
|
200
|
+
grid-template-columns: 1fr 1fr;
|
|
201
|
+
gap: 0;
|
|
202
|
+
max-width: 1200px;
|
|
203
|
+
margin: 0 auto;
|
|
204
|
+
align-items: start;
|
|
205
|
+
}
|
|
206
|
+
|
|
207
|
+
.features-col {
|
|
208
|
+
padding: 3rem;
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
.features-video {
|
|
212
|
+
padding: 3rem;
|
|
213
|
+
display: flex;
|
|
214
|
+
align-items: center;
|
|
215
|
+
justify-content: center;
|
|
216
|
+
min-height: 400px;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.video-embed {
|
|
220
|
+
width: 100%;
|
|
221
|
+
aspect-ratio: 16 / 9;
|
|
222
|
+
border-radius: 12px;
|
|
223
|
+
overflow: hidden;
|
|
224
|
+
border: 1px solid $border;
|
|
225
|
+
iframe {
|
|
226
|
+
width: 100%;
|
|
227
|
+
height: 100%;
|
|
228
|
+
display: block;
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
|
|
232
|
+
.features-col h2 {
|
|
233
|
+
font-size: 1.6rem;
|
|
234
|
+
font-weight: 700;
|
|
235
|
+
margin-bottom: 2rem;
|
|
236
|
+
}
|
|
237
|
+
|
|
238
|
+
.feature-group {
|
|
239
|
+
margin-bottom: 2rem;
|
|
240
|
+
}
|
|
241
|
+
|
|
242
|
+
.feature-group h3 {
|
|
243
|
+
font-size: 1.1rem;
|
|
244
|
+
font-weight: 600;
|
|
245
|
+
color: $purple;
|
|
246
|
+
margin-bottom: 0.75rem;
|
|
247
|
+
}
|
|
248
|
+
|
|
249
|
+
.feature-group ul {
|
|
250
|
+
list-style: disc;
|
|
251
|
+
padding-left: 1.25rem;
|
|
252
|
+
li {
|
|
253
|
+
margin-bottom: 0.5rem;
|
|
254
|
+
color: $gray;
|
|
255
|
+
line-height: 1.5;
|
|
256
|
+
a { color: $green; }
|
|
257
|
+
code {
|
|
258
|
+
color: $cyan;
|
|
259
|
+
}
|
|
260
|
+
}
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
// ===== Sponsors =====
|
|
264
|
+
.sponsors-col h2 {
|
|
265
|
+
color: $green;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.sponsor-card {
|
|
269
|
+
background: $bg-light;
|
|
270
|
+
border: 1px solid $border;
|
|
271
|
+
border-radius: 12px;
|
|
272
|
+
padding: 1.5rem;
|
|
273
|
+
margin-bottom: 1.5rem;
|
|
274
|
+
text-align: center;
|
|
275
|
+
transition: border-color 0.2s;
|
|
276
|
+
&:hover { border-color: $gray; }
|
|
277
|
+
img {
|
|
278
|
+
max-height: 80px;
|
|
279
|
+
margin-bottom: 0.75rem;
|
|
280
|
+
}
|
|
281
|
+
p {
|
|
282
|
+
color: $gray;
|
|
283
|
+
font-size: 0.9rem;
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
// ===== Footer =====
|
|
288
|
+
.footer {
|
|
289
|
+
border-top: 1px solid $border;
|
|
290
|
+
padding: 2rem;
|
|
291
|
+
text-align: center;
|
|
292
|
+
color: $gray;
|
|
293
|
+
font-size: 0.85rem;
|
|
294
|
+
a { color: $green; }
|
|
295
|
+
}
|
|
296
|
+
|
|
297
|
+
// ===== Docs Layout =====
|
|
298
|
+
.docs-wrapper {
|
|
299
|
+
display: flex;
|
|
300
|
+
min-height: calc(100vh - 65px);
|
|
301
|
+
}
|
|
302
|
+
|
|
303
|
+
.docs-sidebar {
|
|
304
|
+
width: 280px;
|
|
305
|
+
min-width: 280px;
|
|
306
|
+
border-right: 1px solid $border;
|
|
307
|
+
padding: 1.5rem 0;
|
|
308
|
+
position: sticky;
|
|
309
|
+
top: 65px;
|
|
310
|
+
height: calc(100vh - 65px);
|
|
311
|
+
overflow-y: auto;
|
|
312
|
+
background: $bg;
|
|
313
|
+
|
|
314
|
+
&::-webkit-scrollbar { width: 4px; }
|
|
315
|
+
&::-webkit-scrollbar-thumb { background: $border; border-radius: 2px; }
|
|
316
|
+
}
|
|
317
|
+
|
|
318
|
+
.sidebar-section {
|
|
319
|
+
margin-bottom: 1.5rem;
|
|
320
|
+
padding: 0 1.5rem;
|
|
321
|
+
}
|
|
322
|
+
|
|
323
|
+
.sidebar-section h4 {
|
|
324
|
+
font-size: 0.75rem;
|
|
325
|
+
text-transform: uppercase;
|
|
326
|
+
letter-spacing: 1px;
|
|
327
|
+
color: $gray;
|
|
328
|
+
margin-bottom: 0.75rem;
|
|
329
|
+
font-weight: 600;
|
|
330
|
+
}
|
|
331
|
+
|
|
332
|
+
.sidebar-section ul {
|
|
333
|
+
list-style: none;
|
|
334
|
+
li { margin-bottom: 2px; }
|
|
335
|
+
a {
|
|
336
|
+
display: block;
|
|
337
|
+
padding: 0.4rem 0.75rem;
|
|
338
|
+
border-radius: 6px;
|
|
339
|
+
color: $gray;
|
|
340
|
+
font-size: 0.9rem;
|
|
341
|
+
transition: all 0.15s;
|
|
342
|
+
&:hover {
|
|
343
|
+
background: $bg-light;
|
|
344
|
+
color: $fg;
|
|
345
|
+
}
|
|
346
|
+
&.active {
|
|
347
|
+
background: rgba($green, 0.1);
|
|
348
|
+
color: $green;
|
|
349
|
+
}
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
.docs-content {
|
|
354
|
+
flex: 1;
|
|
355
|
+
max-width: 800px;
|
|
356
|
+
padding: 2.5rem 3rem;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
.docs-content h1 {
|
|
360
|
+
font-size: 2rem;
|
|
361
|
+
font-weight: 700;
|
|
362
|
+
margin-bottom: 0.5rem;
|
|
363
|
+
color: $fg;
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
.docs-content h2 {
|
|
367
|
+
font-size: 1.5rem;
|
|
368
|
+
font-weight: 600;
|
|
369
|
+
margin-top: 2.5rem;
|
|
370
|
+
margin-bottom: 1rem;
|
|
371
|
+
color: $fg;
|
|
372
|
+
padding-bottom: 0.5rem;
|
|
373
|
+
border-bottom: 1px solid $border;
|
|
374
|
+
}
|
|
375
|
+
|
|
376
|
+
.docs-content h3 {
|
|
377
|
+
font-size: 1.2rem;
|
|
378
|
+
font-weight: 600;
|
|
379
|
+
margin-top: 2rem;
|
|
380
|
+
margin-bottom: 0.75rem;
|
|
381
|
+
color: $purple;
|
|
382
|
+
}
|
|
383
|
+
|
|
384
|
+
.docs-content p {
|
|
385
|
+
margin-bottom: 1rem;
|
|
386
|
+
color: $gray;
|
|
387
|
+
line-height: 1.7;
|
|
388
|
+
}
|
|
389
|
+
|
|
390
|
+
.docs-content ul, .docs-content ol {
|
|
391
|
+
padding-left: 1.5rem;
|
|
392
|
+
margin-bottom: 1rem;
|
|
393
|
+
li {
|
|
394
|
+
margin-bottom: 0.5rem;
|
|
395
|
+
color: $gray;
|
|
396
|
+
}
|
|
397
|
+
}
|
|
398
|
+
|
|
399
|
+
.docs-content blockquote {
|
|
400
|
+
border-left: 3px solid $purple;
|
|
401
|
+
padding: 0.75rem 1rem;
|
|
402
|
+
margin: 1rem 0;
|
|
403
|
+
background: $bg-light;
|
|
404
|
+
border-radius: 0 8px 8px 0;
|
|
405
|
+
p { margin: 0; color: $fg; }
|
|
406
|
+
}
|
|
407
|
+
|
|
408
|
+
.docs-content table {
|
|
409
|
+
width: 100%;
|
|
410
|
+
border-collapse: collapse;
|
|
411
|
+
margin: 1rem 0;
|
|
412
|
+
th, td {
|
|
413
|
+
padding: 0.6rem 1rem;
|
|
414
|
+
border: 1px solid $border;
|
|
415
|
+
text-align: left;
|
|
416
|
+
font-size: 0.9rem;
|
|
417
|
+
}
|
|
418
|
+
th {
|
|
419
|
+
background: $bg-light;
|
|
420
|
+
color: $fg;
|
|
421
|
+
font-weight: 600;
|
|
422
|
+
}
|
|
423
|
+
td { color: $gray; }
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
.docs-meta {
|
|
427
|
+
color: $gray;
|
|
428
|
+
font-size: 0.85rem;
|
|
429
|
+
margin-bottom: 2rem;
|
|
430
|
+
padding-bottom: 1rem;
|
|
431
|
+
border-bottom: 1px solid $border;
|
|
432
|
+
}
|
|
433
|
+
|
|
434
|
+
// ===== Search Modal =====
|
|
435
|
+
.search-overlay {
|
|
436
|
+
display: none;
|
|
437
|
+
position: fixed;
|
|
438
|
+
inset: 0;
|
|
439
|
+
background: rgba(0, 0, 0, 0.6);
|
|
440
|
+
backdrop-filter: blur(4px);
|
|
441
|
+
z-index: 200;
|
|
442
|
+
justify-content: center;
|
|
443
|
+
padding-top: 15vh;
|
|
444
|
+
&.active { display: flex; }
|
|
445
|
+
}
|
|
446
|
+
|
|
447
|
+
.search-modal {
|
|
448
|
+
background: $bg-light;
|
|
449
|
+
border: 1px solid $border;
|
|
450
|
+
border-radius: 12px;
|
|
451
|
+
width: 90%;
|
|
452
|
+
max-width: 600px;
|
|
453
|
+
max-height: 60vh;
|
|
454
|
+
display: flex;
|
|
455
|
+
flex-direction: column;
|
|
456
|
+
box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
|
|
457
|
+
}
|
|
458
|
+
|
|
459
|
+
.search-input-wrapper {
|
|
460
|
+
display: flex;
|
|
461
|
+
align-items: center;
|
|
462
|
+
padding: 1rem 1.25rem;
|
|
463
|
+
border-bottom: 1px solid $border;
|
|
464
|
+
gap: 0.75rem;
|
|
465
|
+
svg { color: $gray; flex-shrink: 0; }
|
|
466
|
+
input {
|
|
467
|
+
flex: 1;
|
|
468
|
+
background: none;
|
|
469
|
+
border: none;
|
|
470
|
+
color: $fg;
|
|
471
|
+
font-size: 1rem;
|
|
472
|
+
outline: none;
|
|
473
|
+
&::placeholder { color: $gray; }
|
|
474
|
+
}
|
|
475
|
+
kbd {
|
|
476
|
+
background: $bg-lighter;
|
|
477
|
+
border: 1px solid $border;
|
|
478
|
+
border-radius: 4px;
|
|
479
|
+
padding: 2px 8px;
|
|
480
|
+
font-size: 0.75rem;
|
|
481
|
+
color: $gray;
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
|
|
485
|
+
.search-results {
|
|
486
|
+
overflow-y: auto;
|
|
487
|
+
padding: 0.5rem;
|
|
488
|
+
flex: 1;
|
|
489
|
+
}
|
|
490
|
+
|
|
491
|
+
.search-result-item {
|
|
492
|
+
display: block;
|
|
493
|
+
padding: 0.75rem 1rem;
|
|
494
|
+
border-radius: 8px;
|
|
495
|
+
color: $fg;
|
|
496
|
+
transition: background 0.15s;
|
|
497
|
+
&:hover, &.selected {
|
|
498
|
+
background: rgba($green, 0.1);
|
|
499
|
+
color: $green;
|
|
500
|
+
}
|
|
501
|
+
.result-title {
|
|
502
|
+
font-weight: 600;
|
|
503
|
+
font-size: 0.95rem;
|
|
504
|
+
}
|
|
505
|
+
.result-preview {
|
|
506
|
+
font-size: 0.8rem;
|
|
507
|
+
color: $gray;
|
|
508
|
+
margin-top: 2px;
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
.search-empty {
|
|
513
|
+
padding: 2rem;
|
|
514
|
+
text-align: center;
|
|
515
|
+
color: $gray;
|
|
516
|
+
font-size: 0.9rem;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
// ===== Mobile Sidebar Toggle =====
|
|
520
|
+
.sidebar-toggle {
|
|
521
|
+
display: none;
|
|
522
|
+
position: fixed;
|
|
523
|
+
bottom: 1.5rem;
|
|
524
|
+
right: 1.5rem;
|
|
525
|
+
width: 48px;
|
|
526
|
+
height: 48px;
|
|
527
|
+
border-radius: 50%;
|
|
528
|
+
background: $green;
|
|
529
|
+
color: $bg;
|
|
530
|
+
border: none;
|
|
531
|
+
cursor: pointer;
|
|
532
|
+
z-index: 150;
|
|
533
|
+
align-items: center;
|
|
534
|
+
justify-content: center;
|
|
535
|
+
box-shadow: 0 4px 12px rgba(0,0,0,0.3);
|
|
536
|
+
font-size: 1.2rem;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
// ===== Responsive =====
|
|
540
|
+
@media (max-width: 768px) {
|
|
541
|
+
.features {
|
|
542
|
+
grid-template-columns: 1fr;
|
|
543
|
+
}
|
|
544
|
+
.features-video {
|
|
545
|
+
min-height: auto;
|
|
546
|
+
}
|
|
547
|
+
.hero h1 { font-size: 2rem; }
|
|
548
|
+
.navbar-links { display: none; }
|
|
549
|
+
|
|
550
|
+
.docs-sidebar {
|
|
551
|
+
position: fixed;
|
|
552
|
+
left: -300px;
|
|
553
|
+
top: 65px;
|
|
554
|
+
z-index: 120;
|
|
555
|
+
transition: left 0.3s;
|
|
556
|
+
&.open { left: 0; }
|
|
557
|
+
}
|
|
558
|
+
.sidebar-toggle { display: flex; }
|
|
559
|
+
.docs-content { padding: 1.5rem; }
|
|
560
|
+
}
|
metadata
ADDED
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: pinel-theme
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- kashsuks
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2026-03-12 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: jekyll
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - ">="
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: 3.9.0
|
|
20
|
+
type: :runtime
|
|
21
|
+
prerelease: false
|
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
23
|
+
requirements:
|
|
24
|
+
- - ">="
|
|
25
|
+
- !ruby/object:Gem::Version
|
|
26
|
+
version: 3.9.0
|
|
27
|
+
- !ruby/object:Gem::Dependency
|
|
28
|
+
name: bundler
|
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
|
30
|
+
requirements:
|
|
31
|
+
- - ">="
|
|
32
|
+
- !ruby/object:Gem::Version
|
|
33
|
+
version: '0'
|
|
34
|
+
type: :development
|
|
35
|
+
prerelease: false
|
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
+
requirements:
|
|
38
|
+
- - ">="
|
|
39
|
+
- !ruby/object:Gem::Version
|
|
40
|
+
version: '0'
|
|
41
|
+
description: Dark themed Jekyll theme with docs support, search, and a clean landing
|
|
42
|
+
page.
|
|
43
|
+
email:
|
|
44
|
+
- ''
|
|
45
|
+
executables: []
|
|
46
|
+
extensions: []
|
|
47
|
+
extra_rdoc_files: []
|
|
48
|
+
files:
|
|
49
|
+
- LICENSE
|
|
50
|
+
- README.md
|
|
51
|
+
- _includes/footer.html
|
|
52
|
+
- _includes/head.html
|
|
53
|
+
- _includes/navbar.html
|
|
54
|
+
- _includes/search.html
|
|
55
|
+
- _layouts/default.html
|
|
56
|
+
- _layouts/docs.html
|
|
57
|
+
- _layouts/home.html
|
|
58
|
+
- _sass/pinel.scss
|
|
59
|
+
- assets/css/style.scss
|
|
60
|
+
homepage: https://github.com/kashsuks/theme
|
|
61
|
+
licenses:
|
|
62
|
+
- MIT
|
|
63
|
+
metadata: {}
|
|
64
|
+
post_install_message:
|
|
65
|
+
rdoc_options: []
|
|
66
|
+
require_paths:
|
|
67
|
+
- lib
|
|
68
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
69
|
+
requirements:
|
|
70
|
+
- - ">="
|
|
71
|
+
- !ruby/object:Gem::Version
|
|
72
|
+
version: '0'
|
|
73
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
|
+
requirements:
|
|
75
|
+
- - ">="
|
|
76
|
+
- !ruby/object:Gem::Version
|
|
77
|
+
version: '0'
|
|
78
|
+
requirements: []
|
|
79
|
+
rubygems_version: 3.2.32
|
|
80
|
+
signing_key:
|
|
81
|
+
specification_version: 4
|
|
82
|
+
summary: A dark minimalist Jekyll theme for SaaS product pages
|
|
83
|
+
test_files: []
|