jekyll-theme-yat 1.6.2 → 1.6.3

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: 9057ae0176d4e24ea2eed2b647404a4795e1f8fc498347c31c2ce24bae90671e
4
- data.tar.gz: 69becf6c9cc0b736674b45855adf18b181a86828fa36dd5cd239946962e0a91f
3
+ metadata.gz: 455c4ceab292869e983a85ced50d9537bf70c7d13b5fe334330f83df2e34720a
4
+ data.tar.gz: ffe0ae7cebfcbc65dc43b8d3bb7e484f158e310b398fb62c090433ea8e289eff
5
5
  SHA512:
6
- metadata.gz: 2382bedcfaabc6011d2467a296b1b1f8778a42ad97f589c3ec777f78a826763dfb10fad9da22a9f5ca2626629c9ad5b4a19a96fba4b3e273f9ca90c0ec8bacc7
7
- data.tar.gz: c2faab5c852bd6eaf33e42d9fe844edebbe8557589bafa4f4ab39b6dcd9cb4e0753aa8e17ecca3c2781f1e14f4dd037e70db11d5411fc5be356bbe7e5519ce95
6
+ metadata.gz: 294a7a2ce6f1ae93bd492d1dbe635837180103160fc185fb45a0af9eee1df9b3b14c81a86e433c489ab3cc7ddf22f14686294c3885bedd8d09807ca96b237e06
7
+ data.tar.gz: 5df389f70206297daf5b1d777a2936b078334825b3af5121c4ccf489a0cc91d2849626b1ee12df95ea2b9ed7acad6513ea7aad7ffde4cbf661b9153b425a717f
@@ -81,7 +81,7 @@
81
81
  handleThemeToggle(event.target.checked);
82
82
  });
83
83
 
84
- var nightModeOption = '{{ night_mode }}';
84
+ var nightModeOption = '{{ night_mode }}' || 'auto';
85
85
  nightModeOption = nightModeOption.toLowerCase();
86
86
 
87
87
  if (nightModeOption == 'auto') {
@@ -1,6 +1,6 @@
1
1
  .theme-toggle {
2
2
  position: relative;
3
- width: 102px;
3
+ width: $base-font-size * 7.65;
4
4
  margin-top: 10px;
5
5
  margin-right: 60px;
6
6
  margin-left: auto;
@@ -69,7 +69,7 @@
69
69
  }
70
70
 
71
71
  @include media-query($on-palm) {
72
- width: 94px;
72
+ width: $base-font-size * 6.65;
73
73
  margin-right: 20px;
74
74
 
75
75
  .names {
@@ -10,7 +10,7 @@ $base-line-height: 1.6 !default;
10
10
 
11
11
  $spacing-unit: 30px !default;
12
12
 
13
- $text-color: #313b3f !default;
13
+ $text-color: #454545 !default;
14
14
  $background-color: #fff !default;
15
15
  $brand-color: #ff5100 !default;
16
16
 
@@ -148,10 +148,9 @@ code {
148
148
  }
149
149
 
150
150
  *:not(pre) > code {
151
- padding: 1px 5px;
151
+ padding: 3px 6px;
152
152
  border-radius: 3px;
153
- color: #fff;
154
- background-color: #787878;
153
+ background-color: #eee;
155
154
  margin: 0 5px;
156
155
  }
157
156
 
@@ -1,4 +1,5 @@
1
1
  $dark-background-color: #0e0e0e !default;
2
+ $dark-text-color: #bbb !default;
2
3
 
3
4
  html[data-theme="dark"] {
4
5
 
@@ -10,23 +11,24 @@ html[data-theme="dark"] {
10
11
  }
11
12
 
12
13
  body {
13
- color: #bbb;
14
+ color: $dark-text-color;
14
15
  background-color: $dark-background-color;
15
16
  }
16
17
 
17
18
  *:not(pre) > code {
18
- background-color: #545454;
19
+ color: $dark-text-color;
20
+ background-color: #454545;
19
21
  }
20
22
 
21
23
  table {
22
24
  color: #9d9d9d;
23
25
 
24
26
  th {
25
- background-color: #000;
27
+ background-color: #050505;
26
28
  }
27
29
 
28
30
  tr:nth-child(even) {
29
- background-color: #111;
31
+ background-color: #080808;
30
32
  }
31
33
  }
32
34
 
@@ -74,7 +76,7 @@ html[data-theme="dark"] {
74
76
 
75
77
  .pagination {
76
78
  .post-link {
77
- color: #bbb;
79
+ color: $dark-text-color;
78
80
  }
79
81
 
80
82
  .post-title {
@@ -171,7 +173,7 @@ html[data-theme="dark"] {
171
173
  }
172
174
 
173
175
  a {
174
- color: #bbb;
176
+ color: $dark-text-color;
175
177
  }
176
178
 
177
179
  a:hover {
@@ -497,6 +497,7 @@ html {
497
497
  @include relative-font-size(1.125);
498
498
  line-height: 15px;
499
499
  color: #666;
500
+ max-width: 50%;
500
501
  }
501
502
 
502
503
  .previous:before {
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-yat
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.6.2
4
+ version: 1.6.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - jeffreytse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-10-13 00:00:00.000000000 Z
11
+ date: 2020-11-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -225,7 +225,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
225
225
  - !ruby/object:Gem::Version
226
226
  version: '0'
227
227
  requirements: []
228
- rubygems_version: 3.1.4
228
+ rubygems_version: 3.0.8
229
229
  signing_key:
230
230
  specification_version: 4
231
231
  summary: Yet another theme for elegant writers with modern flat style and beautiful