jekyll-theme-2038 0.1.1 → 0.1.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 +25 -8
- data/_sass/2038/colour/dark.scss +1 -1
- data/_sass/2038/colour/light.scss +1 -1
- data/_sass/2038/drawer.scss +9 -6
- data/_sass/2038/miscellaneous.scss +0 -3
- data/_sass/2038/resize.scss +2 -8
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ed4cb704402433d6a197dca7e567417a8a2a87e5c15047f3c82ca4f964684239
|
4
|
+
data.tar.gz: 8a835d0475201b8040fb37d53be553aa2eafe1563a81e66878550bd41198d668
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e7b36cb24d6d3deaaf9f623bceda1a6fa83503d73cba78ac9e3942a74fccf01c834620d7caa8e13ccd03ba7e322eab518c77c5029677b26198aea40c06e8c450
|
7
|
+
data.tar.gz: 42d05ba759e9d344c80dd4e425db9aa567a01cb7819ed5c68a977d00c6033f4238e159d508de154599cb847faabd3c8ceb787f6aefa4f8f80fcd3a36e5255ad3
|
data/README.md
CHANGED
@@ -1,13 +1,17 @@
|
|
1
1
|
<img src="assets/wordmark.svg" align="right" />
|
2
2
|
|
3
|
-
|
3
|
+
[My blog with 2038](https://mat-ling.fit)
|
4
4
|
|
5
|
-
|
5
|
+
# 2038
|
6
6
|
|
7
|
-
[
|
7
|
+
[][gem]
|
8
8
|
|
9
|
-
> Twenty years from now you will be more disappointed by the things that you
|
10
|
-
>
|
9
|
+
> Twenty years from now you will be more disappointed by the things that you
|
10
|
+
> didn't do than by the ones you did do. So, throw off the bowlines. Sail away
|
11
|
+
> from the safe harbour. Catch the trade winds in your sails. Explore. Dream.
|
12
|
+
> Discover.
|
13
|
+
> 20 年后,比起已做之事,你将更因未做之事绝望。
|
14
|
+
> 所以,抛掉缰绳,驶离避风港,乘信风远航吧。去探索,去梦想,去发现。
|
11
15
|
>
|
12
16
|
> —— Unknown 佚名
|
13
17
|
|
@@ -31,7 +35,7 @@
|
|
31
35
|
Add this line to your Jekyll site's `Gemfile`:
|
32
36
|
|
33
37
|
```ruby
|
34
|
-
gem
|
38
|
+
gem 'jekyll-theme-2038'
|
35
39
|
```
|
36
40
|
|
37
41
|
And add this line to your Jekyll site's `_config.yml`:
|
@@ -48,14 +52,27 @@ Or install it yourself as:
|
|
48
52
|
|
49
53
|
$ gem install jekyll-theme-2038
|
50
54
|
|
51
|
-
BUT WAIT! You have to put [translation file]
|
55
|
+
BUT WAIT! You have to put [translation file][i18n-pos] manually into `_data`
|
56
|
+
directory of your site to correctly display information, for it cannot be
|
57
|
+
included in the gem.
|
52
58
|
|
53
59
|
## Usage
|
54
60
|
|
55
|
-
|
61
|
+
(To be continued after I fixed most of bugs)
|
56
62
|
|
57
63
|
## Todo
|
58
64
|
|
59
65
|
* Support of UnicodeMath or ASCIIMath
|
60
66
|
* Right-to-left and vertical page
|
61
67
|
|
68
|
+
## Contribution
|
69
|
+
|
70
|
+
* Submit an [issue][issue-pos] or [pull request][pr-pos]
|
71
|
+
* Contact me via [E-mail][mail-pos]
|
72
|
+
|
73
|
+
[gem]: https://rubygems.org/gems/jekyll-theme-2038
|
74
|
+
[i18n-pos]: https://github.com/0xis-cn/2038/blob/main/_data/theme-2038-i18n.yml
|
75
|
+
[issue-pos]: https://github.com/0xis-cn/2038/issues
|
76
|
+
[pr-pos]: https://github.com/0xis-cn/2038/pulls
|
77
|
+
[mail-pos]: mailto:mat-ling@139.com
|
78
|
+
|
data/_sass/2038/colour/dark.scss
CHANGED
data/_sass/2038/drawer.scss
CHANGED
@@ -32,10 +32,8 @@ $mobile-opacity: .7 !default;
|
|
32
32
|
line-height: 2rem;
|
33
33
|
font-size: 2rem;
|
34
34
|
speak: none;
|
35
|
-
|
36
|
-
|
37
|
-
content: '';
|
38
|
-
}
|
35
|
+
list-style: none;
|
36
|
+
z-index: 100;
|
39
37
|
}
|
40
38
|
|
41
39
|
a {
|
@@ -69,8 +67,13 @@ $mobile-opacity: .7 !default;
|
|
69
67
|
}
|
70
68
|
|
71
69
|
.ml-drawer {
|
72
|
-
width: 50
|
73
|
-
|
70
|
+
width: calc(50% - 490px);
|
71
|
+
}
|
72
|
+
}
|
73
|
+
|
74
|
+
@media screen and (min-width: 1600px) {
|
75
|
+
.ml-drawer {
|
76
|
+
width: 18%;
|
74
77
|
}
|
75
78
|
}
|
76
79
|
|
data/_sass/2038/resize.scss
CHANGED
@@ -1,6 +1,7 @@
|
|
1
1
|
$header-height: 9em !default;
|
2
|
-
$middle-width: 960px !default;
|
3
2
|
$link-change-time: .3s !default;
|
3
|
+
$middle-width: 960px !default;
|
4
|
+
// TIPS: 若调整 $middle-width 请同步修改 drawer.scss 中 .ml-drawer 之宽度
|
4
5
|
|
5
6
|
.ml-main {
|
6
7
|
margin: 0 auto;
|
@@ -8,10 +9,6 @@ $link-change-time: .3s !default;
|
|
8
9
|
max-width: $middle-width
|
9
10
|
}
|
10
11
|
|
11
|
-
.ml-drawer {
|
12
|
-
padding-right: ($middle-width / 2) + 10px
|
13
|
-
}
|
14
|
-
|
15
12
|
.ml-card-list dt::before {
|
16
13
|
content: '';
|
17
14
|
display: inline-block;
|
@@ -91,9 +88,6 @@ $link-change-time: .3s !default;
|
|
91
88
|
.ml-main {
|
92
89
|
max-width: 60%;
|
93
90
|
}
|
94
|
-
.ml-drawer {
|
95
|
-
padding-right: -32%
|
96
|
-
}
|
97
91
|
.ml-card-anchor {
|
98
92
|
width: 30rem;
|
99
93
|
}
|
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.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- 物灵
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-07-
|
11
|
+
date: 2021-07-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|