moving 0.2.4 → 0.3.0
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 +4 -2
- data/_sass/moving/_base.scss +8 -2
- data/_sass/moving/_layout.scss +8 -7
- data/_sass/moving.scss +5 -3
- 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: bb39a5850a910cccc2a48d2c377083cd570c58ea71d309931ccc80cea2a4e95e
|
4
|
+
data.tar.gz: 7ecb635a21cc922ddcf3da1961972c56c1aaae43aadf820b5296f31a66729cec
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 29e91895036efa0f7f318bf7b9db1eac22c5cedc780f3460ac5bba3a7e4133daaab3133230c7dc6a61d1506213975b8ce07832f0cd6b7423c23f377814c30c57
|
7
|
+
data.tar.gz: 02fba56e80816d784ed1801122209b35c1344880de3b4fd299378b30895823780e892130254e18aaa826d4a66eeb3e6fcdbffd46bf9a23de399911909eb9d4ca
|
data/README.md
CHANGED
@@ -2,9 +2,11 @@
|
|
2
2
|
|
3
3
|
[](https://badge.fury.io/rb/moving) [](https://travis-ci.org/huangyz0918/moving) 
|
4
4
|
|
5
|
-
Moving is a clean and minimalist theme for [Jekyll](https://jekyllrb.com/), focuses on pure and efficient writing. [[view demo]](http://huangyz.name/moving/)
|
5
|
+
Moving is a clean and minimalist theme for [Jekyll](https://jekyllrb.com/), focuses on pure and efficient writing. [[view demo]](http://huangyz.name/moving/)
|
6
6
|
|
7
|
-
|
7
|
+
Inspired by [Hugo](https://gohugo.io/) theme, [YinYang](https://github.com/joway/hugo-theme-yinyang).
|
8
|
+
|
9
|
+

|
8
10
|
|
9
11
|
|
10
12
|
## Installation
|
data/_sass/moving/_base.scss
CHANGED
@@ -25,7 +25,7 @@ figure {
|
|
25
25
|
* Basic styling
|
26
26
|
*/
|
27
27
|
body {
|
28
|
-
font: $base-font-weight #{$
|
28
|
+
font: $base-font-weight #{$small-font-size}/#{$small-line-height}
|
29
29
|
$base-font-family;
|
30
30
|
color: $text-color;
|
31
31
|
background-color: $background-color;
|
@@ -38,7 +38,13 @@ body {
|
|
38
38
|
display: flex;
|
39
39
|
min-height: 100vh;
|
40
40
|
flex-direction: column;
|
41
|
-
padding: 0
|
41
|
+
padding: 0 2%;
|
42
|
+
|
43
|
+
@media screen and (min-width: $on-medium) {
|
44
|
+
padding: 0 5%;
|
45
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height}
|
46
|
+
$base-font-family;
|
47
|
+
}
|
42
48
|
}
|
43
49
|
|
44
50
|
/**
|
data/_sass/moving/_layout.scss
CHANGED
@@ -173,13 +173,14 @@
|
|
173
173
|
margin-left: 0;
|
174
174
|
list-style: none;
|
175
175
|
|
176
|
-
|
177
|
-
margin-bottom: $spacing-unit /
|
176
|
+
li {
|
177
|
+
margin-bottom: $spacing-unit / 12;
|
178
178
|
}
|
179
179
|
}
|
180
180
|
|
181
181
|
.post-year {
|
182
|
-
margin-top:
|
182
|
+
margin-top: 2rem;
|
183
|
+
margin-bottom: 0.25rem;
|
183
184
|
font-weight: 700;
|
184
185
|
color: lighten($text-color, 15%);
|
185
186
|
|
@@ -192,6 +193,7 @@
|
|
192
193
|
|
193
194
|
.post-meta {
|
194
195
|
display: inline-block;
|
196
|
+
min-width: 60px;
|
195
197
|
|
196
198
|
@media (max-width: 500px) {
|
197
199
|
@include relative-font-size(0.8);
|
@@ -203,7 +205,7 @@
|
|
203
205
|
|
204
206
|
.post-link-layout {
|
205
207
|
margin-left: 10%;
|
206
|
-
display: inline
|
208
|
+
display: inline;
|
207
209
|
|
208
210
|
@media (max-width: 500px) {
|
209
211
|
@include relative-font-size(1);
|
@@ -237,8 +239,7 @@
|
|
237
239
|
.post-title,
|
238
240
|
.post-content h1 {
|
239
241
|
@include relative-font-size(2.2);
|
240
|
-
|
241
|
-
line-height: 1;
|
242
|
+
line-height: 1.3;
|
242
243
|
font-weight: 1000;
|
243
244
|
margin-top: -0.5rem;
|
244
245
|
|
@@ -283,7 +284,7 @@
|
|
283
284
|
.social-media-list {
|
284
285
|
margin-top: -0.6rem;
|
285
286
|
display: flex;
|
286
|
-
@include relative-font-size(1
|
287
|
+
@include relative-font-size(1);
|
287
288
|
li {
|
288
289
|
float: left;
|
289
290
|
a {
|
data/_sass/moving.scss
CHANGED
@@ -2,11 +2,13 @@
|
|
2
2
|
|
3
3
|
// Define defaults for each variable.
|
4
4
|
|
5
|
-
$base-font-family: "Bitter", "Times New Roman", "FangSong", "仿宋", STFangSong,
|
5
|
+
$base-font-family: "Bitter", "Times New Roman", "FangSong", "仿宋", STFangSong,
|
6
|
+
"华文仿宋", serif;
|
6
7
|
$base-font-size: 18px !default;
|
7
8
|
$base-font-weight: 400 !default;
|
8
|
-
$small-font-size: $base-font-size * 0.
|
9
|
-
$base-line-height: 1.
|
9
|
+
$small-font-size: $base-font-size * 0.85 !default;
|
10
|
+
$base-line-height: 1.8 !default;
|
11
|
+
$small-line-height: 1.6 !default;
|
10
12
|
|
11
13
|
$spacing-unit: 30px !default;
|
12
14
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: moving
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- huangyz0918
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-08-
|
11
|
+
date: 2019-08-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|