hamilton 0.1.0 → 0.1.1

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: d4f8b9d396d146e89ca5c48436ffb2d40907a856346886681f3807f29294edf2
4
- data.tar.gz: bf423b2e1cd2727ec108986c740b1483cac8612c678424e8bb72d4cbadc7a803
3
+ metadata.gz: db9842c72222ab930de6c5ae134f539dbf431aea169589d58b4f101b1ae19cf3
4
+ data.tar.gz: 9a9c5f059e298bb4719cc6ed7e791822a125b7d7b798b8d71609c2bdcf37111e
5
5
  SHA512:
6
- metadata.gz: 2c9d83e59c8b9b7515a385e7871b635f498dfa50dfc0d13f700d4f6ec6277ed6df3605e96d043634fd51af8d24b01ca5bf7fca314ef6d835d2a903e494c41186
7
- data.tar.gz: a13e644421b980cdefd163a1867bce24df439b868fff8aebfbaf1ff46116f2b03ef731e6c55123b56b18cc90ab88f19e7097fe25e57bd6903f27bc286e3e7ca5
6
+ metadata.gz: d050a8c26d9d8aacaabdb4f4cd37badfbc54c1d93286510af383f6ce40e3a0132aca93696e5ba2ea5654d1fe3e37eb9b9eff0381273143e5ea49f0ec149d03ea
7
+ data.tar.gz: 4b3a083754d61bae630ba0dab8945a11969906cf36beba67f4257916e824585d2cdc7a0d3c32e4fcaa3bffd3b74b8dfb6977bea10e730b1151c12ad657a916c9
data/_includes/head.html CHANGED
@@ -1,4 +1,6 @@
1
1
  <meta charset="utf-8">
2
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1">
2
4
 
3
5
  {% seo %}
4
6
 
@@ -134,7 +134,12 @@
134
134
 
135
135
  .post-link {
136
136
  display: block;
137
- @include relative-font-size(2.5);
137
+ line-height: $base-line-height * $base-font-size * 1.75;
138
+ @include relative-font-size(1.75);
139
+
140
+ @media screen and (min-width: $on-large) {
141
+ @include relative-font-size(2.5);
142
+ }
138
143
  }
139
144
 
140
145
  /**
@@ -270,12 +275,13 @@
270
275
 
271
276
  .post-title,
272
277
  .post-content h1 {
273
- @include relative-font-size(2.5);
278
+ @include relative-font-size(2);
274
279
  font-weight: bold;
275
280
  letter-spacing: -1px;
281
+ line-height: $base-line-height * $base-font-size * 2;
276
282
 
277
283
  @media screen and (min-width: $on-large) {
278
- @include relative-font-size(2.625);
284
+ @include relative-font-size(2.75);
279
285
  }
280
286
  }
281
287
 
@@ -290,15 +296,15 @@
290
296
  @include relative-font-size(1.75);
291
297
 
292
298
  @media screen and (min-width: $on-large) {
293
- @include relative-font-size(2);
299
+ @include relative-font-size(2.15);
294
300
  }
295
301
  }
296
302
 
297
303
  h3 {
298
- @include relative-font-size(1.375);
304
+ @include relative-font-size(1.5);
299
305
 
300
306
  @media screen and (min-width: $on-large) {
301
- @include relative-font-size(1.625);
307
+ @include relative-font-size(1.75);
302
308
  }
303
309
  }
304
310
 
@@ -1,7 +1,7 @@
1
1
  $text-color: #111 !default;
2
2
  $text-color-light: #666 !default;
3
- $background-color: #fdfdfd !default;
4
- $code-background-color: #eef !default;
3
+ $background-color: #fff !default;
4
+ $code-background-color: #f8f8f8 !default;
5
5
 
6
6
  $border-color: #828282 !default;
7
7
  $border-color-light: lighten($border-color, 40%) !default;
@@ -1,7 +1,7 @@
1
1
  $text-color: #eee !default;
2
2
  $text-color-light: #aaa !default;
3
- $background-color: #123 !default;
4
- $code-background-color: #272822 !default;
3
+ $background-color: #2b2e33 !default;
4
+ $code-background-color: #49483e !default;
5
5
 
6
6
  $border-color: mix(#fff, $background-color, 20%) !default;
7
7
  $border-color-light: lighten($border-color, 10%) !default;
@@ -24,79 +24,211 @@ $subscribe-color: tomato !default;
24
24
  // =============================================================================
25
25
  .highlight table td { padding: 5px; }
26
26
  .highlight table pre { margin: 0; }
27
- .highlight, .highlight .w {
28
- color: #f8f8f2;
29
- background-color: #272822;
27
+ .highlight .c, .highlight .ch, .highlight .cd, .highlight .cpf {
28
+ color: #75715e;
29
+ font-style: italic;
30
30
  }
31
- .highlight .err {
32
- color: #272822;
33
- background-color: #f92672;
31
+ .highlight .cm {
32
+ color: #75715e;
33
+ font-style: italic;
34
34
  }
35
- .highlight .c, .highlight .ch, .highlight .cd, .highlight .cm, .highlight .cpf, .highlight .c1, .highlight .cs {
35
+ .highlight .c1 {
36
36
  color: #75715e;
37
+ font-style: italic;
37
38
  }
38
39
  .highlight .cp {
39
- color: #f4bf75;
40
- }
41
- .highlight .nt {
42
- color: #f4bf75;
40
+ color: #75715e;
41
+ font-weight: bold;
43
42
  }
44
- .highlight .o, .highlight .ow {
45
- color: #f8f8f2;
43
+ .highlight .cs {
44
+ color: #75715e;
45
+ font-weight: bold;
46
+ font-style: italic;
46
47
  }
47
- .highlight .p, .highlight .pi {
48
- color: #f8f8f2;
48
+ .highlight .err {
49
+ color: #960050;
50
+ background-color: #1e0010;
49
51
  }
50
52
  .highlight .gi {
51
- color: #a6e22e;
53
+ color: #ffffff;
54
+ background-color: #324932;
52
55
  }
53
56
  .highlight .gd {
54
- color: #f92672;
57
+ color: #ffffff;
58
+ background-color: #493131;
59
+ }
60
+ .highlight .ge {
61
+ color: #000000;
62
+ font-style: italic;
63
+ }
64
+ .highlight .gr {
65
+ color: #aa0000;
66
+ }
67
+ .highlight .gt {
68
+ color: #aa0000;
55
69
  }
56
70
  .highlight .gh {
57
- color: #66d9ef;
58
- background-color: #272822;
71
+ color: #999999;
72
+ }
73
+ .highlight .go {
74
+ color: #888888;
75
+ }
76
+ .highlight .gp {
77
+ color: #555555;
78
+ }
79
+ .highlight .gs {
59
80
  font-weight: bold;
60
81
  }
61
- .highlight .k, .highlight .kn, .highlight .kp, .highlight .kr, .highlight .kv {
62
- color: #ae81ff;
82
+ .highlight .gu {
83
+ color: #aaaaaa;
84
+ }
85
+ .highlight .k, .highlight .kv {
86
+ color: #66d9ef;
87
+ font-weight: bold;
63
88
  }
64
89
  .highlight .kc {
65
- color: #fd971f;
90
+ color: #66d9ef;
91
+ font-weight: bold;
92
+ }
93
+ .highlight .kd {
94
+ color: #66d9ef;
95
+ font-weight: bold;
96
+ }
97
+ .highlight .kp {
98
+ color: #66d9ef;
99
+ font-weight: bold;
100
+ }
101
+ .highlight .kr {
102
+ color: #66d9ef;
103
+ font-weight: bold;
66
104
  }
67
105
  .highlight .kt {
68
- color: #fd971f;
106
+ color: #66d9ef;
107
+ font-weight: bold;
69
108
  }
70
- .highlight .kd {
71
- color: #fd971f;
109
+ .highlight .kn {
110
+ color: #f92672;
111
+ font-weight: bold;
72
112
  }
73
- .highlight .s, .highlight .sa, .highlight .sb, .highlight .sc, .highlight .dl, .highlight .sd, .highlight .s2, .highlight .sh, .highlight .sx, .highlight .s1 {
74
- color: #a6e22e;
113
+ .highlight .ow {
114
+ color: #f92672;
115
+ font-weight: bold;
75
116
  }
76
- .highlight .sr {
77
- color: #a1efe4;
117
+ .highlight .o {
118
+ color: #f92672;
119
+ font-weight: bold;
78
120
  }
79
- .highlight .si {
80
- color: #cc6633;
121
+ .highlight .mf {
122
+ color: #ae81ff;
123
+ }
124
+ .highlight .mh {
125
+ color: #ae81ff;
126
+ }
127
+ .highlight .il {
128
+ color: #ae81ff;
129
+ }
130
+ .highlight .mi {
131
+ color: #ae81ff;
132
+ }
133
+ .highlight .mo {
134
+ color: #ae81ff;
135
+ }
136
+ .highlight .m, .highlight .mb, .highlight .mx {
137
+ color: #ae81ff;
81
138
  }
82
139
  .highlight .se {
83
- color: #cc6633;
140
+ color: #ae81ff;
84
141
  }
85
- .highlight .nn {
86
- color: #f4bf75;
142
+ .highlight .sb {
143
+ color: #e6db74;
87
144
  }
88
- .highlight .nc {
89
- color: #f4bf75;
145
+ .highlight .sc {
146
+ color: #e6db74;
90
147
  }
91
- .highlight .no {
92
- color: #f4bf75;
148
+ .highlight .sd {
149
+ color: #e6db74;
150
+ }
151
+ .highlight .s2 {
152
+ color: #e6db74;
153
+ }
154
+ .highlight .sh {
155
+ color: #e6db74;
156
+ }
157
+ .highlight .si {
158
+ color: #e6db74;
159
+ }
160
+ .highlight .sx {
161
+ color: #e6db74;
162
+ }
163
+ .highlight .sr {
164
+ color: #e6db74;
165
+ }
166
+ .highlight .s1 {
167
+ color: #e6db74;
168
+ }
169
+ .highlight .ss {
170
+ color: #e6db74;
171
+ }
172
+ .highlight .s, .highlight .sa, .highlight .dl {
173
+ color: #e6db74;
93
174
  }
94
175
  .highlight .na {
95
- color: #66d9ef;
176
+ color: #a6e22e;
96
177
  }
97
- .highlight .m, .highlight .mb, .highlight .mf, .highlight .mh, .highlight .mi, .highlight .il, .highlight .mo, .highlight .mx {
178
+ .highlight .nc {
98
179
  color: #a6e22e;
180
+ font-weight: bold;
99
181
  }
100
- .highlight .ss {
182
+ .highlight .nd {
101
183
  color: #a6e22e;
184
+ font-weight: bold;
185
+ }
186
+ .highlight .ne {
187
+ color: #a6e22e;
188
+ font-weight: bold;
189
+ }
190
+ .highlight .nf, .highlight .fm {
191
+ color: #a6e22e;
192
+ font-weight: bold;
193
+ }
194
+ .highlight .no {
195
+ color: #66d9ef;
196
+ }
197
+ .highlight .bp {
198
+ color: #f8f8f2;
199
+ }
200
+ .highlight .nb {
201
+ color: #f8f8f2;
202
+ }
203
+ .highlight .ni {
204
+ color: #f8f8f2;
205
+ }
206
+ .highlight .nn {
207
+ color: #f8f8f2;
208
+ }
209
+ .highlight .vc {
210
+ color: #f8f8f2;
211
+ }
212
+ .highlight .vg {
213
+ color: #f8f8f2;
214
+ }
215
+ .highlight .vi {
216
+ color: #f8f8f2;
217
+ }
218
+ .highlight .nv, .highlight .vm {
219
+ color: #f8f8f2;
220
+ }
221
+ .highlight .w {
222
+ color: #f8f8f2;
223
+ }
224
+ .highlight .nl {
225
+ color: #f8f8f2;
226
+ font-weight: bold;
227
+ }
228
+ .highlight .nt {
229
+ color: #f92672;
230
+ }
231
+ .highlight {
232
+ color: #f8f8f2;
233
+ background-color: #49483e;
102
234
  }
@@ -1,6 +1,6 @@
1
1
  $text-color: #222 !default;
2
2
  $text-color-light: #666 !default;
3
- $background-color: #e8d5b7 !default;
3
+ $background-color: #ecdbbb !default;
4
4
  $code-background-color: #fbf1c7 !default;
5
5
 
6
6
  $border-color: mix(#000, $background-color, 20%) !default;
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hamilton
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Shangzhi Huang
@@ -156,7 +156,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
156
156
  - !ruby/object:Gem::Version
157
157
  version: '0'
158
158
  requirements: []
159
- rubygems_version: 3.0.6
159
+ rubygems_version: 3.0.1
160
160
  signing_key:
161
161
  specification_version: 4
162
162
  summary: Another minimal style of Jekyll theme for writers