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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f5466bae2a0019fe9fa4bfebb601a2977ea5545e9c828d2365e5696894056e41
4
- data.tar.gz: 9a7dc6c3235d289cce7e402df97e350a88f2953ebb8ac10fca4c42e4f6d02010
3
+ metadata.gz: bb39a5850a910cccc2a48d2c377083cd570c58ea71d309931ccc80cea2a4e95e
4
+ data.tar.gz: 7ecb635a21cc922ddcf3da1961972c56c1aaae43aadf820b5296f31a66729cec
5
5
  SHA512:
6
- metadata.gz: 2915194238ab5cf0b17c5175a4d2a718e4f561a41a7fec8c3a0c4e8cd7a08d69ea5502f4d6d6eb32edb989f7befec7d8879a9906d26a88285dfc07f785406407
7
- data.tar.gz: 3699b4ae03375a89c0a6ff17dce5f0cb7c5f24dd621a529af6f093c9991dbee419d25508cd9958e0d396b777ac2cae6db9758b4b998ab173a9004286db20c44e
6
+ metadata.gz: 29e91895036efa0f7f318bf7b9db1eac22c5cedc780f3460ac5bba3a7e4133daaab3133230c7dc6a61d1506213975b8ce07832f0cd6b7423c23f377814c30c57
7
+ data.tar.gz: 02fba56e80816d784ed1801122209b35c1344880de3b4fd299378b30895823780e892130254e18aaa826d4a66eeb3e6fcdbffd46bf9a23de399911909eb9d4ca
data/README.md CHANGED
@@ -2,9 +2,11 @@
2
2
 
3
3
  [![Gem Version](https://badge.fury.io/rb/moving.svg)](https://badge.fury.io/rb/moving) [![Build Status](https://travis-ci.org/huangyz0918/moving.svg?branch=master)](https://travis-ci.org/huangyz0918/moving) ![progress](https://img.shields.io/badge/progress-developing-yellow.svg)
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
- ![](./github/banner2.svg)
7
+ Inspired by [Hugo](https://gohugo.io/) theme, [YinYang](https://github.com/joway/hugo-theme-yinyang).
8
+
9
+ ![](./github/banner.png)
8
10
 
9
11
 
10
12
  ## Installation
@@ -25,7 +25,7 @@ figure {
25
25
  * Basic styling
26
26
  */
27
27
  body {
28
- font: $base-font-weight #{$base-font-size}/#{$base-line-height}
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 5%;
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
  /**
@@ -173,13 +173,14 @@
173
173
  margin-left: 0;
174
174
  list-style: none;
175
175
 
176
- > li {
177
- margin-bottom: $spacing-unit / 3;
176
+ li {
177
+ margin-bottom: $spacing-unit / 12;
178
178
  }
179
179
  }
180
180
 
181
181
  .post-year {
182
- margin-top: 1rem;
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-block;
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
- letter-spacing: -1px;
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.0);
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, "华文仿宋", serif;
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 !default;
9
- $base-line-height: 1.5 !default;
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.2.4
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-27 00:00:00.000000000 Z
11
+ date: 2019-08-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll