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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: c2e7bba8a98782921cfc65d4a51ed2c04f043e7000ac6ed2cd38c69eddcbd0df
4
- data.tar.gz: 9f1250e8d3472b14367d2a6e41b1e5e72fa03bf2957b3ae65d2fb723518363cf
3
+ metadata.gz: 62ce8edb2f636522d4b5b9f9338d9b6bc925970fbf9cfad37975e96e2b2ab5de
4
+ data.tar.gz: d96885e4e8a0949dfe65bd6da22ca0f3f5e43d8af5b181c4c40981e0ec2e4df8
5
5
  SHA512:
6
- metadata.gz: c33adc88de55e4a8b419dee8d1fb156a1ba138a7c89db5a3db943817dc907feca657d877688607dadd1c9a76b6e0575ef559ea2021c56434c2134ebe26bad255
7
- data.tar.gz: d2dbd280e3b2a871c14a2a53cd859069bd948ccc74b0c824ac43f43e0535152d93b45585e978575d81e2e9f4658d2f9644008aba8233e21a583325a219bad0c7
6
+ metadata.gz: 87b4a990dc61e38c1f43ca1b3d07c3b02ff3cc8ff95fda0254f7dc3f77181f96892f5ffeaae007386eae01757100e054ceac5770b03ecb6dd80741943ab045d1
7
+ data.tar.gz: a2f4b9a6f750a716c43fb647f4031e030606290e73a8692d86af35f4d7148d9dd7524e4a60c460de4457dcf692e03d4203046db982fa18df4ca588164b117df5
@@ -0,0 +1,5 @@
1
+ <footer class="footer typo-small">
2
+ <span class="copyright">&copy;{{site.time | date: "%Y"}} {{ site.author }}</span>
3
+ <span class="bar"></span>
4
+ <span>All rights reserved</span>
5
+ </footer>
@@ -28,25 +28,21 @@ layout: default
28
28
  </div>
29
29
 
30
30
  {% if paginator.total_pages > 1 %}
31
- <ul class="pagination">
32
- {% assign previous_text = 'Newer Journals' %}
33
- {% assign next_text = 'Older Journals' %}
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 previous_text = '后一页' %}
36
- {% assign next_text = '前一页' %}
35
+ {% assign newer_page = '上一页' %}
36
+ {% assign older_text = '下一页' %}
37
37
  {% endif %}
38
38
 
39
39
  {% if paginator.previous_page %}
40
- <li class="previous">
41
- <a href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&larr; {{ previous_text }}</a>
42
- </li>
40
+ <a class="next" href="{{ paginator.previous_page_path | prepend: site.baseurl | replace: '//', '/' }}">&larr; {{ newer_page }}</a>
43
41
  {% endif %}
44
42
  {% if paginator.next_page %}
45
- <li class="next">
46
- <a href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ next_text }} &rarr;</a>
47
- </li>
43
+ <a class="previous" href="{{ paginator.next_page_path | prepend: site.baseurl | replace: '//', '/' }}">{{ older_text }} &rarr;</a>
48
44
  {% endif %}
49
- </ul>
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 }}">&larr; {{ page.next.title }}</a>
17
+ {% endif %}
18
+
19
+ {% if page.previous.url %}
20
+ <a class="previous" href="{{ page.previous.url }}">{{ page.previous.title }} &rarr;</a>
21
+ {% endif %}
22
+ </div>
23
+
14
24
  {% if site.enable_reward %} {% include reward.html %} {% endif %}
15
25
  </article>
@@ -7,6 +7,7 @@ html, body {
7
7
  body {
8
8
  padding-top: 60px;
9
9
  font-size: 1.1em;
10
+ font-family: -apple-system, BlinkMacSystemFont, SFProDisplay-Regular;
10
11
  }
11
12
 
12
13
  hr {
@@ -36,4 +37,4 @@ pre {
36
37
 
37
38
  blockquote {
38
39
  color: #666;
39
- }
40
+ }
@@ -4,7 +4,7 @@
4
4
 
5
5
  .site-header {
6
6
  position: fixed;
7
- height: 50px;
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: 50px;
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: 48px;
70
- border-radius: 48px;
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
- .journals .pagination {
93
+ .pagination {
93
94
  margin: 0;
94
- margin-bottom: 36px;
95
- list-style: none;
95
+ min-height: 2em;
96
96
  display: flex;
97
97
  }
98
98
 
99
- .journals .previous {
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: 88px;
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.0.0
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: 2020-01-24 00:00:00.000000000 Z
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.2
135
+ rubygems_version: 3.1.4
136
136
  signing_key:
137
137
  specification_version: 4
138
138
  summary: A simple and beautiful jekyll theme.