jekyll-theme-2038 0.1.0 → 0.1.1
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 +8 -0
- data/_includes/page-link.html +1 -1
- data/_sass/2038/colour-relative.scss +3 -11
- data/_sass/2038/colour/dark.scss +9 -3
- data/_sass/2038/colour/light.scss +9 -6
- data/assets/main.scss +3 -1
- metadata +3 -4
- data/README.old.md +0 -52
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d6e36b3e2e83f7bcb181e2e52955ad5aebe66e0568ca738ca952bda8132b3e54
|
4
|
+
data.tar.gz: f0482d83998fb2bba216cac15537d87ff6020165f44bb3bf700e5868c512d92a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f9d48c00633cfcb36578b5d842cce9235326f57561a7a4b5d4db68a22fe5f9e0013b8000444577a44a9cad997fcedb8d472a75433c06788ba3c6d09283212b34
|
7
|
+
data.tar.gz: ee73d3ef353165941cba7c1dc305418d8595cf4bc60a11b216fb0806069c9fb5f3d787d849e76a412e6cd6613c88de13cb56caf892a7802b2301c32dd7404983
|
data/README.md
CHANGED
@@ -4,6 +4,8 @@
|
|
4
4
|
|
5
5
|

|
6
6
|
|
7
|
+
[TOC]
|
8
|
+
|
7
9
|
> Twenty years from now you will be more disappointed by the things that you didn't do than by the ones you did do. So, throw off the bowlines. Sail away from the safe harbour. Catch the trade winds in your sails. Explore. Dream. Discover.
|
8
10
|
> 20 年后,比起已做之事,你将更因未做之事绝望。所以,抛掉缰绳,驶离避风港,乘信风远航吧。去探索,去梦想,去发现。
|
9
11
|
>
|
@@ -46,6 +48,12 @@ Or install it yourself as:
|
|
46
48
|
|
47
49
|
$ gem install jekyll-theme-2038
|
48
50
|
|
51
|
+
BUT WAIT! You have to put [translation file](https://github.com/0xis-cn/2038/blob/main/_data/theme-2038-i18n.yml) manually into `_data` directory of your site to correctly display information, for it cannot be included in the gem.
|
52
|
+
|
53
|
+
## Usage
|
54
|
+
|
55
|
+
|
56
|
+
|
49
57
|
## Todo
|
50
58
|
|
51
59
|
* Support of UnicodeMath or ASCIIMath
|
data/_includes/page-link.html
CHANGED
@@ -1,13 +1,5 @@
|
|
1
1
|
$curtain-colour: fade-out($bgcolour, .15);
|
2
|
-
$indication-colour: fade-out($base-colour, .9);
|
3
|
-
|
4
|
-
$normal-colour: fade-out($base-colour, .3);
|
5
|
-
$levity-colour: fade-out($base-colour, .4);
|
6
|
-
$heavy-colour: fade-out($base-colour, .1);
|
7
|
-
$atlarge-colour: fade-out($base-colour, .6);
|
8
|
-
|
9
2
|
$line-colour: $levity-colour;
|
10
|
-
|
11
3
|
$link-change-time: .3s !default;
|
12
4
|
|
13
5
|
h1, h2, h3, h4, h5, h6, strong, .ml-footer-desc {
|
@@ -60,7 +52,7 @@ body {
|
|
60
52
|
}
|
61
53
|
|
62
54
|
.ml-toc-1 > a, .ml-toc-2 > a {
|
63
|
-
color:
|
55
|
+
color: $meso-colour;
|
64
56
|
}
|
65
57
|
|
66
58
|
.ml-bookmark a {
|
@@ -77,7 +69,7 @@ body {
|
|
77
69
|
}
|
78
70
|
|
79
71
|
.ml-footer-main {
|
80
|
-
background: $
|
72
|
+
background: $bgcolour;
|
81
73
|
}
|
82
74
|
|
83
75
|
blockquote {
|
@@ -206,7 +198,7 @@ cite {
|
|
206
198
|
|
207
199
|
&:hover {
|
208
200
|
background-color: fade-out($indication-colour, 0.05);
|
209
|
-
color: $heavy-colour
|
201
|
+
color: $heavy-colour;
|
210
202
|
}
|
211
203
|
}
|
212
204
|
|
data/_sass/2038/colour/dark.scss
CHANGED
@@ -5,9 +5,15 @@
|
|
5
5
|
$cite-image: url(underline-dark.svg);
|
6
6
|
$em-image: url(dot-dark.svg);
|
7
7
|
|
8
|
-
$bgcolour:
|
9
|
-
$base-colour:
|
10
|
-
$card-colour:
|
8
|
+
$bgcolour: black;
|
9
|
+
$base-colour: white;
|
10
|
+
$card-colour: #1A1A1A;
|
11
|
+
$indication-colour: #333;
|
12
|
+
$normal-colour: #AAA;
|
13
|
+
$levity-colour: #999;
|
14
|
+
$heavy-colour: #E6E6DC;
|
15
|
+
$atlarge-colour: #666;
|
16
|
+
$meso-colour: #CCC;
|
11
17
|
|
12
18
|
@import '2038/syntax-dark',
|
13
19
|
'2038/colour-relative';
|
@@ -1,9 +1,12 @@
|
|
1
|
-
$bgcolour:
|
2
|
-
$base-colour:
|
3
|
-
$card-colour:
|
4
|
-
|
5
|
-
$
|
6
|
-
$
|
1
|
+
$bgcolour: #F6F5F0;
|
2
|
+
$base-colour: black;
|
3
|
+
$card-colour: white;
|
4
|
+
$indication-colour: #D8D8D8;
|
5
|
+
$normal-colour: #555;
|
6
|
+
$levity-colour: #777;
|
7
|
+
$heavy-colour: #1A1A1A;
|
8
|
+
$atlarge-colour: #999;
|
9
|
+
$meso-colour: #333;
|
7
10
|
|
8
11
|
@import '2038/syntax-light',
|
9
12
|
'2038/colour-relative';
|
data/assets/main.scss
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-2038
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 物灵
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -34,7 +34,6 @@ files:
|
|
34
34
|
- LICENSE
|
35
35
|
- LICENSE.txt
|
36
36
|
- README.md
|
37
|
-
- README.old.md
|
38
37
|
- _config.yml
|
39
38
|
- _data/theme-2038-i18n.yml
|
40
39
|
- _includes/custom-head.html
|
@@ -95,5 +94,5 @@ requirements: []
|
|
95
94
|
rubygems_version: 3.1.2
|
96
95
|
signing_key:
|
97
96
|
specification_version: 4
|
98
|
-
summary: 2038 is a minimalist Jekyll Theme for
|
97
|
+
summary: 2038 is a minimalist Jekyll Theme for writers.
|
99
98
|
test_files: []
|
data/README.old.md
DELETED
@@ -1,52 +0,0 @@
|
|
1
|
-
# 2038
|
2
|
-
|
3
|
-
Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes`, your sass files in `_sass` and any other assets in `assets`.
|
4
|
-
|
5
|
-
To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
|
6
|
-
|
7
|
-
TODO: Delete this and the text above, and describe your gem
|
8
|
-
|
9
|
-
|
10
|
-
## Installation
|
11
|
-
|
12
|
-
Add this line to your Jekyll site's `Gemfile`:
|
13
|
-
|
14
|
-
```ruby
|
15
|
-
gem "2038"
|
16
|
-
```
|
17
|
-
|
18
|
-
And add this line to your Jekyll site's `_config.yml`:
|
19
|
-
|
20
|
-
```yaml
|
21
|
-
theme: 2038
|
22
|
-
```
|
23
|
-
|
24
|
-
And then execute:
|
25
|
-
|
26
|
-
$ bundle
|
27
|
-
|
28
|
-
Or install it yourself as:
|
29
|
-
|
30
|
-
$ gem install 2038
|
31
|
-
|
32
|
-
## Usage
|
33
|
-
|
34
|
-
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
35
|
-
|
36
|
-
## Contributing
|
37
|
-
|
38
|
-
Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
|
39
|
-
|
40
|
-
## Development
|
41
|
-
|
42
|
-
To set up your environment to develop this theme, run `bundle install`.
|
43
|
-
|
44
|
-
Your theme is setup just like a normal Jekyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
|
45
|
-
|
46
|
-
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
47
|
-
To add a custom directory to your theme-gem, please edit the regexp in `2038.gemspec` accordingly.
|
48
|
-
|
49
|
-
## License
|
50
|
-
|
51
|
-
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
52
|
-
|