jekyll-theme-acg 1.0.2 → 1.0.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +53 -1
- data/_config.yml +46 -39
- data/_includes/head-style.html +22 -0
- data/_includes/item-category.html +25 -0
- data/_includes/item-date.html +10 -0
- data/_includes/item-pin.html +2 -0
- data/_includes/item-tag.html +25 -0
- data/_includes/posts.html +53 -0
- data/_includes/{README.md → toc-readme.md} +0 -0
- data/_includes/toc.html +1 -5
- data/_layouts/default.html +70 -6
- data/_layouts/home.html +14 -85
- data/_layouts/page.html +57 -0
- data/_layouts/post.html +31 -39
- data/_sass/markdown.scss +58 -0
- data/_sass/root.scss +97 -37
- data/_sass/scrollbar.scss +24 -0
- data/assets/404.md +4 -0
- data/assets/about.md +10 -0
- data/assets/categories.md +4 -0
- data/assets/css/style.scss +1 -12
- data/assets/tags.md +4 -0
- metadata +59 -26
- data/404.html +0 -5
- data/_includes/body.html +0 -5
- data/_includes/footer.html +0 -17
- data/_includes/head.html +0 -26
- data/_includes/header.html +0 -31
- data/_includes/main.html +0 -12
- data/_includes/style.html +0 -80
@@ -0,0 +1,24 @@
|
|
1
|
+
::-webkit-scrollbar {
|
2
|
+
width: 4px;
|
3
|
+
height: 4px;
|
4
|
+
}
|
5
|
+
::-webkit-scrollbar-track-piece {
|
6
|
+
background: var(--theme-200);
|
7
|
+
}
|
8
|
+
::-webkit-scrollbar-thumb {
|
9
|
+
border-radius: 4px;
|
10
|
+
background-color: var(--theme-600);
|
11
|
+
background-image: repeating-linear-gradient(
|
12
|
+
-45deg,
|
13
|
+
var(--theme-600) 0,
|
14
|
+
var(--theme-600) 32px,
|
15
|
+
var(--theme-400) 32px,
|
16
|
+
var(--theme-400) 36px
|
17
|
+
);
|
18
|
+
}
|
19
|
+
::-webkit-scrollbar-thumb:vertical {
|
20
|
+
height: 4px;
|
21
|
+
}
|
22
|
+
::-webkit-scrollbar-thumb:horizontal {
|
23
|
+
width: 4px;
|
24
|
+
}
|
data/assets/404.md
ADDED
data/assets/about.md
ADDED
data/assets/css/style.scss
CHANGED
@@ -2,15 +2,4 @@
|
|
2
2
|
---
|
3
3
|
@import "root";
|
4
4
|
@import "markdown";
|
5
|
-
|
6
|
-
.bg-image {
|
7
|
-
background-image: url("{{ site.themeBackground | default: '/assets/images/bg.png' }}");
|
8
|
-
}
|
9
|
-
|
10
|
-
.bg-blur {
|
11
|
-
backdrop-filter: blur(8px);
|
12
|
-
}
|
13
|
-
|
14
|
-
.max-w-acg {
|
15
|
-
max-width: MIN(90%, 768px);
|
16
|
-
}
|
5
|
+
@import "scrollbar";
|
data/assets/tags.md
ADDED
metadata
CHANGED
@@ -1,22 +1,22 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-acg
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.7
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Coder Zhao
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-06-
|
11
|
+
date: 2021-06-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version:
|
19
|
+
version: 4.2.0
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: '5.0'
|
@@ -24,40 +24,68 @@ dependencies:
|
|
24
24
|
prerelease: false
|
25
25
|
version_requirements: !ruby/object:Gem::Requirement
|
26
26
|
requirements:
|
27
|
-
- - "
|
27
|
+
- - "~>"
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version:
|
29
|
+
version: 4.2.0
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: '5.0'
|
33
|
+
- !ruby/object:Gem::Dependency
|
34
|
+
name: kramdown-parser-gfm
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
36
|
+
requirements:
|
37
|
+
- - ">="
|
38
|
+
- !ruby/object:Gem::Version
|
39
|
+
version: '0'
|
40
|
+
type: :runtime
|
41
|
+
prerelease: false
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: jekyll-sass-converter
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0'
|
54
|
+
type: :runtime
|
55
|
+
prerelease: false
|
56
|
+
version_requirements: !ruby/object:Gem::Requirement
|
57
|
+
requirements:
|
58
|
+
- - ">="
|
59
|
+
- !ruby/object:Gem::Version
|
60
|
+
version: '0'
|
33
61
|
- !ruby/object:Gem::Dependency
|
34
62
|
name: jekyll-feed
|
35
63
|
requirement: !ruby/object:Gem::Requirement
|
36
64
|
requirements:
|
37
|
-
- - "
|
65
|
+
- - ">="
|
38
66
|
- !ruby/object:Gem::Version
|
39
|
-
version: '0
|
67
|
+
version: '0'
|
40
68
|
type: :runtime
|
41
69
|
prerelease: false
|
42
70
|
version_requirements: !ruby/object:Gem::Requirement
|
43
71
|
requirements:
|
44
|
-
- - "
|
72
|
+
- - ">="
|
45
73
|
- !ruby/object:Gem::Version
|
46
|
-
version: '0
|
74
|
+
version: '0'
|
47
75
|
- !ruby/object:Gem::Dependency
|
48
76
|
name: jekyll-seo-tag
|
49
77
|
requirement: !ruby/object:Gem::Requirement
|
50
78
|
requirements:
|
51
|
-
- - "
|
79
|
+
- - ">="
|
52
80
|
- !ruby/object:Gem::Version
|
53
|
-
version: '
|
81
|
+
version: '0'
|
54
82
|
type: :runtime
|
55
83
|
prerelease: false
|
56
84
|
version_requirements: !ruby/object:Gem::Requirement
|
57
85
|
requirements:
|
58
|
-
- - "
|
86
|
+
- - ">="
|
59
87
|
- !ruby/object:Gem::Version
|
60
|
-
version: '
|
88
|
+
version: '0'
|
61
89
|
- !ruby/object:Gem::Dependency
|
62
90
|
name: jekyll-gist
|
63
91
|
requirement: !ruby/object:Gem::Requirement
|
@@ -87,7 +115,7 @@ dependencies:
|
|
87
115
|
- !ruby/object:Gem::Version
|
88
116
|
version: '0'
|
89
117
|
- !ruby/object:Gem::Dependency
|
90
|
-
name: jekyll-
|
118
|
+
name: jekyll-archives
|
91
119
|
requirement: !ruby/object:Gem::Requirement
|
92
120
|
requirements:
|
93
121
|
- - ">="
|
@@ -101,7 +129,7 @@ dependencies:
|
|
101
129
|
- !ruby/object:Gem::Version
|
102
130
|
version: '0'
|
103
131
|
- !ruby/object:Gem::Dependency
|
104
|
-
name:
|
132
|
+
name: jekyll-spaceship
|
105
133
|
requirement: !ruby/object:Gem::Requirement
|
106
134
|
requirements:
|
107
135
|
- - ">="
|
@@ -128,30 +156,35 @@ dependencies:
|
|
128
156
|
- - ">="
|
129
157
|
- !ruby/object:Gem::Version
|
130
158
|
version: '0'
|
131
|
-
description:
|
159
|
+
description: This a theme for Jekyll, which still under development.
|
132
160
|
email: coderzhaoziwei@outlook.com
|
133
161
|
executables: []
|
134
162
|
extensions: []
|
135
163
|
extra_rdoc_files: []
|
136
164
|
files:
|
137
|
-
- 404.html
|
138
165
|
- LICENSE
|
139
166
|
- README.md
|
140
167
|
- _config.yml
|
141
|
-
- _includes/
|
142
|
-
- _includes/
|
143
|
-
- _includes/
|
144
|
-
- _includes/
|
145
|
-
- _includes/
|
146
|
-
- _includes/
|
147
|
-
- _includes/
|
168
|
+
- _includes/head-style.html
|
169
|
+
- _includes/item-category.html
|
170
|
+
- _includes/item-date.html
|
171
|
+
- _includes/item-pin.html
|
172
|
+
- _includes/item-tag.html
|
173
|
+
- _includes/posts.html
|
174
|
+
- _includes/toc-readme.md
|
148
175
|
- _includes/toc.html
|
149
176
|
- _layouts/default.html
|
150
177
|
- _layouts/home.html
|
178
|
+
- _layouts/page.html
|
151
179
|
- _layouts/post.html
|
152
180
|
- _sass/markdown.scss
|
153
181
|
- _sass/root.scss
|
182
|
+
- _sass/scrollbar.scss
|
183
|
+
- assets/404.md
|
184
|
+
- assets/about.md
|
185
|
+
- assets/categories.md
|
154
186
|
- assets/css/style.scss
|
187
|
+
- assets/tags.md
|
155
188
|
- index.html
|
156
189
|
homepage: https://github.com/coderzhaoziwei/jekyll-theme-acg
|
157
190
|
licenses:
|
@@ -176,5 +209,5 @@ requirements: []
|
|
176
209
|
rubygems_version: 3.1.4
|
177
210
|
signing_key:
|
178
211
|
specification_version: 4
|
179
|
-
summary:
|
212
|
+
summary: Jekyll Theme ACG For Jekyll
|
180
213
|
test_files: []
|
data/404.html
DELETED
data/_includes/body.html
DELETED
data/_includes/footer.html
DELETED
@@ -1,17 +0,0 @@
|
|
1
|
-
{% capture color %}{{ page.color | default: site.color }}{% endcapture %}
|
2
|
-
|
3
|
-
{%- comment -%}{%- endcomment -%}
|
4
|
-
<footer class="w-full p-2 text-xs text-{{ color }}-100 ">
|
5
|
-
<p class="text-center">
|
6
|
-
Powered by
|
7
|
-
<a class="text-{{ color }}-400" href="https://jekyllrb.com" target="_block">Jekyll</a>
|
8
|
-
·
|
9
|
-
<a class="text-{{ color }}-400" href="https://github.com/coderzhaoziwei/jekyll-theme-acg" target="_block">Jekyll Theme ACG</a>
|
10
|
-
</p>
|
11
|
-
<p class="text-center">
|
12
|
-
Copyright {{ "now" | date: "%Y" }}
|
13
|
-
<a class="text-{{ color }}-400" href="https://github.com/{{ site.github_id }}" target="_block">{{ site.author }}</a>
|
14
|
-
· All rights reserved.
|
15
|
-
</p>
|
16
|
-
</footer>
|
17
|
-
{%- comment -%}{%- endcomment -%}
|
data/_includes/head.html
DELETED
@@ -1,26 +0,0 @@
|
|
1
|
-
{% capture color %}{{ page.color | default: site.color }}{% endcapture %}
|
2
|
-
|
3
|
-
{%- comment -%}{%- endcomment -%}
|
4
|
-
<head>
|
5
|
-
<meta charset="utf-8">
|
6
|
-
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
7
|
-
|
8
|
-
{% seo %}<!-- Begin Jekyll Feed -->
|
9
|
-
{% feed_meta %}
|
10
|
-
<!-- End Jekyll Feed -->
|
11
|
-
|
12
|
-
<!-- Tailwind CSS -->
|
13
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/tailwindcss@2/dist/tailwind.min.css">
|
14
|
-
<!-- Primer Markdown CSS -->
|
15
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/primer-markdown@4.0.0/build/build.css">
|
16
|
-
<!-- HighlightJS -->
|
17
|
-
<script src="https://cdn.jsdelivr.net/gh/highlightjs/cdn-release@11.0.1/build/highlight.min.js"></script>
|
18
|
-
<script>hljs.highlightAll();</script>
|
19
|
-
<!-- HighlightJS Theme VS2015 CSS -->
|
20
|
-
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/highlight.js@11.0.1/styles/vs2015.css">
|
21
|
-
<!-- CSS -->
|
22
|
-
<link rel="stylesheet" href="{{ "assets/css/style.css" | relative_url }}">
|
23
|
-
<!-- Scroll Bar CSS -->
|
24
|
-
{% include style.html %}
|
25
|
-
</head>
|
26
|
-
{%- comment -%}{%- endcomment -%}
|
data/_includes/header.html
DELETED
@@ -1,31 +0,0 @@
|
|
1
|
-
{% capture color %}{{ page.color | default: site.color }}{% endcapture %}
|
2
|
-
|
3
|
-
{%- comment -%}{%- endcomment -%}
|
4
|
-
<header class="w-full fixed z-50 select-none bg-{{ color }}-600 bg-opacity-10 bg-blur">
|
5
|
-
<nav class="p-4 font-serif text-xl text-{{ color }}-50 flex justify-between">
|
6
|
-
<a class="hover:text-{{ color }}-400 text-2xl" href="{{ site.url | default: "/" | relative_url }}">{{ site.title }}</a>
|
7
|
-
<div class="hidden md:block space-x-4">
|
8
|
-
<a class="hover:text-{{ color }}-400" href="/tags">Tags</a>
|
9
|
-
<a class="hover:text-{{ color }}-400" href="/archives">Archives</a>
|
10
|
-
<a class="hover:text-{{ color }}-400" href="/about">About</a>
|
11
|
-
</div>
|
12
|
-
<div class="md:hidden">
|
13
|
-
<style>#theme-menu:focus + #theme-menu-dropdown { display: block; }</style>
|
14
|
-
<button
|
15
|
-
id="theme-menu"
|
16
|
-
class="focus:outline-none focus:text-{{ color }}-400 "
|
17
|
-
>
|
18
|
-
<svg xmlns="http://www.w3.org/2000/svg" class="h-6 w-6" fill="none" viewBox="0 0 24 24" stroke="currentColor">
|
19
|
-
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M4 6h16M4 12h16M4 18h16" />
|
20
|
-
</svg>
|
21
|
-
</button>
|
22
|
-
<div class="hidden origin-top-right absolute right-1 mt-1 rounded-md py-1 bg-{{ color }}-100 focus:block focus:outline-none" id="theme-menu-dropdown">
|
23
|
-
<a class="block px-4 py-2 text-sm text-{{ color }}-600 hover:text-{{ color }}-400" href="/tags">Tags</a>
|
24
|
-
<a class="block px-4 py-2 text-sm text-{{ color }}-600 hover:text-{{ color }}-400" href="/archives">Archives</a>
|
25
|
-
<a class="block px-4 py-2 text-sm text-{{ color }}-600 hover:text-{{ color }}-400" href="/about">About</a>
|
26
|
-
</div>
|
27
|
-
</div>
|
28
|
-
|
29
|
-
</nav>
|
30
|
-
</header>
|
31
|
-
{%- comment -%}{%- endcomment -%}
|
data/_includes/main.html
DELETED
@@ -1,12 +0,0 @@
|
|
1
|
-
{% capture color %}{{ page.color | default: site.color }}{% endcapture %}
|
2
|
-
{%- comment -%}{%- endcomment -%}
|
3
|
-
<main class="w-full flex-grow">
|
4
|
-
<figure class="w-full h-screen flex flex-col justify-center items-center select-none">
|
5
|
-
<figcaption class="w-full h-full flex flex-col items-center justify-center text-{{ color }}-50">
|
6
|
-
<span class="block font-serif text-4xl w-3/4 text-center py-4">{{ page.title | default: site.title }}</span>
|
7
|
-
<span class="block font-sans text-base w-2/3 text-center">{{ page.description | default: site.description }}</span>
|
8
|
-
</figcaption>
|
9
|
-
</figure>
|
10
|
-
{{ content }}
|
11
|
-
</main>
|
12
|
-
{%- comment -%}{%- endcomment -%}
|
data/_includes/style.html
DELETED
@@ -1,80 +0,0 @@
|
|
1
|
-
{% capture style %}style{% endcapture %}
|
2
|
-
{% capture color %}{{ page.color | default: site.color }}{% endcapture %}
|
3
|
-
{% capture output %}
|
4
|
-
::-webkit-scrollbar {
|
5
|
-
width: 4px;
|
6
|
-
height: 4px;
|
7
|
-
}
|
8
|
-
::-webkit-scrollbar-track-piece {
|
9
|
-
background: var(--{{ color }}-200);
|
10
|
-
}
|
11
|
-
::-webkit-scrollbar-thumb {
|
12
|
-
border-radius: 4px;
|
13
|
-
background-color: var(--{{ color }}-600);
|
14
|
-
background-image: repeating-linear-gradient(
|
15
|
-
-45deg,
|
16
|
-
var(--{{ color }}-600) 0,
|
17
|
-
var(--{{ color }}-600) 32px,
|
18
|
-
var(--{{ color }}-400) 32px,
|
19
|
-
var(--{{ color }}-400) 36px
|
20
|
-
);
|
21
|
-
}
|
22
|
-
::-webkit-scrollbar-thumb:vertical {
|
23
|
-
height: 4px;
|
24
|
-
}
|
25
|
-
::-webkit-scrollbar-thumb:horizontal {
|
26
|
-
width: 4px;
|
27
|
-
}
|
28
|
-
|
29
|
-
.markdown-body a {
|
30
|
-
color: var(--{{ color }}-600);
|
31
|
-
font-weight: 500;
|
32
|
-
}
|
33
|
-
.markdown-body a.reversefootnote {
|
34
|
-
font-family: monospace;
|
35
|
-
}
|
36
|
-
.markdown-body h1, .markdown-body h2 {
|
37
|
-
border-bottom-color: var(--{{ color }}-600);
|
38
|
-
}
|
39
|
-
.markdown-body hr {
|
40
|
-
background-color: var(--{{ color }}-600);
|
41
|
-
}
|
42
|
-
.markdown-body blockquote {
|
43
|
-
color: var(--{{ color }}-500);
|
44
|
-
border-left-color: var(--{{ color }}-600);
|
45
|
-
}
|
46
|
-
.markdown-body code:not(.hljs) {
|
47
|
-
color: var(--{{ color }}-600);
|
48
|
-
}
|
49
|
-
|
50
|
-
.markdown-body .task-list-item {
|
51
|
-
display: flex;
|
52
|
-
align-items: center;
|
53
|
-
}
|
54
|
-
.markdown-body .task-list-item input[type="checkbox"] {
|
55
|
-
appearance: none;
|
56
|
-
}
|
57
|
-
.markdown-body .task-list-item input[type="checkbox"]::before{
|
58
|
-
content: "";
|
59
|
-
display: block;
|
60
|
-
width: 1em;
|
61
|
-
height: 1em;
|
62
|
-
line-height: 1;
|
63
|
-
margin-right: 0.5em;
|
64
|
-
text-align: center;
|
65
|
-
border-radius: 4px;
|
66
|
-
color: white;
|
67
|
-
background-color: var(--{{ color }}-600);
|
68
|
-
}
|
69
|
-
.markdown-body .task-list-item input[type="checkbox"][checked]::before{
|
70
|
-
content: "\2713";
|
71
|
-
}
|
72
|
-
|
73
|
-
.markdown-body .footnotes {
|
74
|
-
padding-top: 2em;
|
75
|
-
}
|
76
|
-
{% endcapture %}
|
77
|
-
|
78
|
-
{%- comment -%}{%- endcomment -%}
|
79
|
-
<{{ style }}>{{ output }}</{{ style }}>
|
80
|
-
{%- comment -%}{%- endcomment -%}
|