gravid 1.0.0 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/_includes/footer.html +5 -0
- data/_layouts/journal.html +8 -12
- data/_layouts/post.html +10 -0
- data/_sass/gravid/_base.scss +2 -1
- data/_sass/gravid/_layout.scss +42 -11
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 62ce8edb2f636522d4b5b9f9338d9b6bc925970fbf9cfad37975e96e2b2ab5de
|
4
|
+
data.tar.gz: d96885e4e8a0949dfe65bd6da22ca0f3f5e43d8af5b181c4c40981e0ec2e4df8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 87b4a990dc61e38c1f43ca1b3d07c3b02ff3cc8ff95fda0254f7dc3f77181f96892f5ffeaae007386eae01757100e054ceac5770b03ecb6dd80741943ab045d1
|
7
|
+
data.tar.gz: a2f4b9a6f750a716c43fb647f4031e030606290e73a8692d86af35f4d7148d9dd7524e4a60c460de4457dcf692e03d4203046db982fa18df4ca588164b117df5
|
data/_includes/footer.html
CHANGED
data/_layouts/journal.html
CHANGED
@@ -28,25 +28,21 @@ layout: default
|
|
28
28
|
</div>
|
29
29
|
|
30
30
|
{% if paginator.total_pages > 1 %}
|
31
|
-
<
|
32
|
-
{% assign
|
33
|
-
{% assign
|
31
|
+
<div class="pagination">
|
32
|
+
{% assign newer_page = 'Newer Journals' %}
|
33
|
+
{% assign older_text = 'Older Journals' %}
|
34
34
|
{% if site.language == 'zh-CN' %}
|
35
|
-
{% assign
|
36
|
-
{% assign
|
35
|
+
{% assign newer_page = '上一页' %}
|
36
|
+
{% assign older_text = '下一页' %}
|
37
37
|
{% endif %}
|
38
38
|
|
39
39
|
{% if paginator.previous_page %}
|
40
|
-
|
41
|
-
<a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">← {{ previous_text }}</a>
|
42
|
-
</li>
|
40
|
+
<a class="next" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">← {{ newer_page }}</a>
|
43
41
|
{% endif %}
|
44
42
|
{% if paginator.next_page %}
|
45
|
-
|
46
|
-
<a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ next_text }} →</a>
|
47
|
-
</li>
|
43
|
+
<a class="previous" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ older_text }} →</a>
|
48
44
|
{% endif %}
|
49
|
-
</
|
45
|
+
</div>
|
50
46
|
{% endif %}
|
51
47
|
</section>
|
52
48
|
|
data/_layouts/post.html
CHANGED
@@ -11,5 +11,15 @@ layout: default
|
|
11
11
|
</h1>
|
12
12
|
{{ content }}
|
13
13
|
|
14
|
+
<div class="pagination">
|
15
|
+
{% if page.next.url %}
|
16
|
+
<a class="next" href="{{ page.next.url }}">← {{ page.next.title }}</a>
|
17
|
+
{% endif %}
|
18
|
+
|
19
|
+
{% if page.previous.url %}
|
20
|
+
<a class="previous" href="{{ page.previous.url }}">{{ page.previous.title }} →</a>
|
21
|
+
{% endif %}
|
22
|
+
</div>
|
23
|
+
|
14
24
|
{% if site.enable_reward %} {% include reward.html %} {% endif %}
|
15
25
|
</article>
|
data/_sass/gravid/_base.scss
CHANGED
data/_sass/gravid/_layout.scss
CHANGED
@@ -4,7 +4,7 @@
|
|
4
4
|
|
5
5
|
.site-header {
|
6
6
|
position: fixed;
|
7
|
-
height:
|
7
|
+
height: 80px;
|
8
8
|
width: 100%;
|
9
9
|
top: 0;
|
10
10
|
left: 0;
|
@@ -12,7 +12,7 @@
|
|
12
12
|
border-bottom: 1px solid #eee;
|
13
13
|
background: #fff;
|
14
14
|
z-index: 1;
|
15
|
-
line-height:
|
15
|
+
line-height: 80px;
|
16
16
|
font-size: 20px;
|
17
17
|
box-sizing: border-box;
|
18
18
|
|
@@ -39,13 +39,13 @@
|
|
39
39
|
|
40
40
|
.site-nav {
|
41
41
|
float: right;
|
42
|
-
display: inline-block;
|
43
42
|
font-size: 16px;
|
44
43
|
font-weight: 400;
|
45
44
|
}
|
46
45
|
|
47
46
|
.sidebar-nav-item {
|
48
47
|
color: black;
|
48
|
+
display: inline-block;
|
49
49
|
}
|
50
50
|
|
51
51
|
.sidebar-nav-item {
|
@@ -66,8 +66,9 @@
|
|
66
66
|
}
|
67
67
|
|
68
68
|
.avatar {
|
69
|
-
height:
|
70
|
-
border-radius:
|
69
|
+
height: 64px;
|
70
|
+
border-radius: 64px;
|
71
|
+
vertical-align: middle;
|
71
72
|
}
|
72
73
|
|
73
74
|
.container {
|
@@ -89,15 +90,26 @@
|
|
89
90
|
/**
|
90
91
|
* Pagination
|
91
92
|
*/
|
92
|
-
.
|
93
|
+
.pagination {
|
93
94
|
margin: 0;
|
94
|
-
|
95
|
-
list-style: none;
|
95
|
+
min-height: 2em;
|
96
96
|
display: flex;
|
97
97
|
}
|
98
98
|
|
99
|
-
.
|
99
|
+
.pagination .previous {
|
100
|
+
flex: 1;
|
101
|
+
text-align: right;
|
102
|
+
border-bottom: none;
|
103
|
+
}
|
104
|
+
|
105
|
+
.pagination .next {
|
100
106
|
flex: 1;
|
107
|
+
text-align: left;
|
108
|
+
border-bottom: none;
|
109
|
+
}
|
110
|
+
|
111
|
+
.journal {
|
112
|
+
margin-bottom: 3em;
|
101
113
|
}
|
102
114
|
|
103
115
|
.journal .journal-link {
|
@@ -108,8 +120,8 @@
|
|
108
120
|
font-weight: 300;
|
109
121
|
}
|
110
122
|
|
111
|
-
.journal {
|
112
|
-
margin-bottom:
|
123
|
+
.journal, .journals {
|
124
|
+
margin-bottom: 4em;
|
113
125
|
}
|
114
126
|
|
115
127
|
/**
|
@@ -177,3 +189,22 @@
|
|
177
189
|
font-size: 14px;
|
178
190
|
margin-bottom: 0 !important;
|
179
191
|
}
|
192
|
+
|
193
|
+
.footer {
|
194
|
+
text-align: center;
|
195
|
+
margin: 6em 0 4em 0;
|
196
|
+
}
|
197
|
+
|
198
|
+
.copyright {
|
199
|
+
text-transform: uppercase;
|
200
|
+
}
|
201
|
+
|
202
|
+
.bar {
|
203
|
+
width: 1px;
|
204
|
+
height: 14px;
|
205
|
+
background: #e0e0e0;
|
206
|
+
display: inline-block;
|
207
|
+
position: relative;
|
208
|
+
top: 2px;
|
209
|
+
padding: 0;
|
210
|
+
}
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: gravid
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- zddhub
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2021-02-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -132,7 +132,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
132
|
- !ruby/object:Gem::Version
|
133
133
|
version: '0'
|
134
134
|
requirements: []
|
135
|
-
rubygems_version: 3.1.
|
135
|
+
rubygems_version: 3.1.4
|
136
136
|
signing_key:
|
137
137
|
specification_version: 4
|
138
138
|
summary: A simple and beautiful jekyll theme.
|