monoholic 1.0.0 β 1.0.2
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/README.md +17 -0
- data/_includes/head.html +9 -0
- data/_includes/menu.html +1 -1
- data/_layouts/default.html +1 -1
- data/_sass/_base.scss +2 -1
- metadata +7 -21
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: e11f908295905935c8e78e4fad697493dcabf9d619b40bc6dc985ed773716de1
|
|
4
|
+
data.tar.gz: 753565fa695f495b4fb4c1a759c2e79f288bd1c1e59d748e9b5ce399874f2b3e
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f2668eede554cd8a6acc2388ae0ac02a31d63cd0ad87ac181c551f17763de8550ecd90b304374bc7da1acdf9d3a149e14f12fb439f1fcb548131dde297d27ae3
|
|
7
|
+
data.tar.gz: 52dffd2dd75633cbc1b8e0226bd702ca11ac3deeb766a5ec19ade6a9f0959a6a143d782aea8c63f8db0d46be308a4d659b16057b873ac983ca4da8bd3fef7760
|
data/README.md
CHANGED
|
@@ -14,6 +14,7 @@ A minimal, monochrome dark Jekyll themeπ§ͺ
|
|
|
14
14
|
- Data-driven menu via `_data/menu.yml`
|
|
15
15
|
- Optional grayscale image filter
|
|
16
16
|
- SEO & RSS support
|
|
17
|
+
- SCSS source compiled via `jekyll-sass-converter`
|
|
17
18
|
|
|
18
19
|
## Installation
|
|
19
20
|
|
|
@@ -139,6 +140,22 @@ Monoholic ships with a default favicon. To use your own, replace the following f
|
|
|
139
140
|
- `assets/favicon.svg` β modern browsers
|
|
140
141
|
- `assets/apple-touch-icon.png` β iOS home screen (180Γ180)
|
|
141
142
|
|
|
143
|
+
### Stylesheet
|
|
144
|
+
|
|
145
|
+
Monoholic's stylesheet is written in SCSS and compiled at build time. The source lives in `_sass/` and is imported from `assets/css/style.scss`. Compilation is handled by `jekyll-sass-converter`, which is declared as a runtime dependency in the theme's `gemspec` β so no extra setup is required when you add `gem "monoholic"` to your `Gemfile`.
|
|
146
|
+
|
|
147
|
+
If you want to override or extend the styles, the recommended approach is to add your own partials in your site's `_sass/` directory and import them **after** the theme's entry point:
|
|
148
|
+
|
|
149
|
+
```scss
|
|
150
|
+
---
|
|
151
|
+
---
|
|
152
|
+
|
|
153
|
+
@import "monoholic";
|
|
154
|
+
@import "your-overrides";
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
To override CSS custom properties (colors, spacing, fonts) without touching SCSS, redeclare the variables in your own stylesheet β they are exposed under `:root` in `_sass/_variables.scss`.
|
|
158
|
+
|
|
142
159
|
### Per-Page JavaScript
|
|
143
160
|
|
|
144
161
|
To load custom JavaScript files on a specific page, add a `custom_js` list to the page's front matter:
|
data/_includes/head.html
CHANGED
|
@@ -13,7 +13,16 @@
|
|
|
13
13
|
<link
|
|
14
14
|
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap"
|
|
15
15
|
rel="stylesheet"
|
|
16
|
+
media="print"
|
|
17
|
+
onload="this.media='all'"
|
|
16
18
|
>
|
|
19
|
+
<noscript>
|
|
20
|
+
<link
|
|
21
|
+
rel="stylesheet"
|
|
22
|
+
href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;700&display=swap"
|
|
23
|
+
>
|
|
24
|
+
</noscript>
|
|
25
|
+
|
|
17
26
|
<link rel="stylesheet" href="{{ "/assets/css/style.css" | relative_url }}">
|
|
18
27
|
<link
|
|
19
28
|
rel="icon"
|
data/_includes/menu.html
CHANGED
|
@@ -12,7 +12,7 @@
|
|
|
12
12
|
{%- elsif item.content -%}
|
|
13
13
|
{{ item.content }}
|
|
14
14
|
{%- endif -%}
|
|
15
|
-
|
|
15
|
+
{%- if item.post_list -%}{%- include post_list.html -%}{%- endif -%}
|
|
16
16
|
</section>
|
|
17
17
|
{%- if item.entries -%}
|
|
18
18
|
{%- include menu.html collection = item.entries -%}
|
data/_layouts/default.html
CHANGED
data/_sass/_base.scss
CHANGED
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: monoholic
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.0.
|
|
4
|
+
version: 1.0.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Agil Mammadov
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2026-
|
|
11
|
+
date: 2026-08-30 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -25,33 +25,19 @@ dependencies:
|
|
|
25
25
|
- !ruby/object:Gem::Version
|
|
26
26
|
version: '4.4'
|
|
27
27
|
- !ruby/object:Gem::Dependency
|
|
28
|
-
name:
|
|
28
|
+
name: jekyll-sass-converter
|
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
|
30
30
|
requirements:
|
|
31
|
-
- - "
|
|
32
|
-
- !ruby/object:Gem::Version
|
|
33
|
-
version: '0'
|
|
34
|
-
type: :runtime
|
|
35
|
-
prerelease: false
|
|
36
|
-
version_requirements: !ruby/object:Gem::Requirement
|
|
37
|
-
requirements:
|
|
38
|
-
- - ">="
|
|
39
|
-
- !ruby/object:Gem::Version
|
|
40
|
-
version: '0'
|
|
41
|
-
- !ruby/object:Gem::Dependency
|
|
42
|
-
name: webrick
|
|
43
|
-
requirement: !ruby/object:Gem::Requirement
|
|
44
|
-
requirements:
|
|
45
|
-
- - ">="
|
|
31
|
+
- - "~>"
|
|
46
32
|
- !ruby/object:Gem::Version
|
|
47
|
-
version: '0'
|
|
33
|
+
version: '3.0'
|
|
48
34
|
type: :runtime
|
|
49
35
|
prerelease: false
|
|
50
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
51
37
|
requirements:
|
|
52
|
-
- - "
|
|
38
|
+
- - "~>"
|
|
53
39
|
- !ruby/object:Gem::Version
|
|
54
|
-
version: '0'
|
|
40
|
+
version: '3.0'
|
|
55
41
|
- !ruby/object:Gem::Dependency
|
|
56
42
|
name: jekyll-feed
|
|
57
43
|
requirement: !ruby/object:Gem::Requirement
|