jekyll-theme-hamilton 0.2.0 → 1.3.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +20 -1
- data/_includes/footer.html +40 -28
- data/_includes/head.html +8 -0
- data/_includes/header.html +18 -7
- data/_layouts/home.html +4 -7
- data/_layouts/post.html +2 -0
- data/_sass/hamilton/base.scss +4 -7
- data/_sass/hamilton/layout.scss +123 -46
- data/_sass/hamilton/skin.scss +7 -4
- data/_sass/hamilton/skins/daylight.scss +1 -1
- data/_sass/hamilton/skins/midnight.scss +6 -6
- data/_sass/hamilton/skins/sunrise.scss +1 -1
- data/_sass/hamilton/variables.scss +4 -4
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f4f676e533d624dc9ec9e904e70908b442a9a8e642fb8ac16a446ca30297562d
|
4
|
+
data.tar.gz: 257cf6ccbd3ec2b4ebd2f02ef168e939b412b13d70bd4c69bad99017068247b7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f2b99330c99b36c56f9c41287a1bd3cf7dfaff135d341047526f233996f00bb76d64cccbc38b6533cc5e36d98f219ddcce3b9859df060902832c73aed6836162
|
7
|
+
data.tar.gz: 9a2f1dc978de613295899c0c3b5f6be6ae13b625cfe209fefe88e52ee19865ac4d33df6b184d0b5b2f096b16e1e4c8dc02cb4c421a7ff19145e47c7bc9092d68
|
data/README.md
CHANGED
@@ -4,7 +4,9 @@ Another minimal style of Jekyll theme for writers. The original purpose of this
|
|
4
4
|
|
5
5
|
Please check out the [demo](https://ngzhio.github.io/jekyll-theme-hamilton/).
|
6
6
|
|
7
|
-
|
7
|
+
| Daylight | Sunrise/Sunset | Midnight |
|
8
|
+
| --- | --- | --- |
|
9
|
+
| ![screenshot](screenshot.png) | ![screenshot](screenshot-sunrise.png) | ![screenshot](screenshot-midnight.png)
|
8
10
|
|
9
11
|
## Features <!-- omit in toc -->
|
10
12
|
|
@@ -154,6 +156,23 @@ You can create a file `_data/navigation.yml` to configure links to some pages. F
|
|
154
156
|
url: /tags/
|
155
157
|
```
|
156
158
|
|
159
|
+
The navigation bar also supports dropdown submenus:
|
160
|
+
|
161
|
+
```yml
|
162
|
+
- title: About
|
163
|
+
url: /about/
|
164
|
+
- title: Categories
|
165
|
+
url: /categories/
|
166
|
+
- title: Tags
|
167
|
+
url: /tags/
|
168
|
+
- title: More
|
169
|
+
sublinks:
|
170
|
+
- title: FAQ
|
171
|
+
url: /faq/
|
172
|
+
- title: Docs
|
173
|
+
url: /docs/
|
174
|
+
```
|
175
|
+
|
157
176
|
### Social Media
|
158
177
|
|
159
178
|
You can create a file `_data/social.yml` to configure links to your social media. For example,
|
data/_includes/footer.html
CHANGED
@@ -1,10 +1,45 @@
|
|
1
1
|
<footer id="footer" class="site-footer">
|
2
2
|
<div class="wrapper">
|
3
|
-
<
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
3
|
+
<div class="footer-col-wrapper">
|
4
|
+
|
5
|
+
<div class="footer-col">
|
6
|
+
<p class="feed-subscribe">
|
7
|
+
<a href="{{ 'feed.xml' | relative_url }}">
|
8
|
+
<i class="feed-icon fas fa-rss"></i><span>Subscribe</span>
|
9
|
+
</a>
|
10
|
+
</p>
|
11
|
+
<ul class="contact-list">
|
12
|
+
{%- if site.author -%}
|
13
|
+
<li class="p-name">{{ site.author | escape }}</li>
|
14
|
+
{%- endif -%}
|
15
|
+
{%- if site.email -%}
|
16
|
+
<li><a class="u-email" href="mailto:{{ site.email }}">{{ site.email }}</a></li>
|
17
|
+
{%- endif -%}
|
18
|
+
</ul>
|
19
|
+
</div>
|
20
|
+
|
21
|
+
<div class="footer-col">
|
22
|
+
<p>{{ site.description | escape }}</p>
|
23
|
+
</div>
|
24
|
+
|
25
|
+
<div class="footer-col">
|
26
|
+
<div class="copyright">
|
27
|
+
{% assign year_from = site.posts[-1].date | date: '%Y' %}
|
28
|
+
{% assign year_to = site.time | date: '%Y' %}
|
29
|
+
{% if year_from == nil or year_from == year_to %}
|
30
|
+
{% assign year_string = year_from %}
|
31
|
+
{% else %}
|
32
|
+
{% assign year_string = year_from | append: ' ' | append: '-' | append: ' ' | append: year_to %}
|
33
|
+
{% endif %}
|
34
|
+
{% if site.author %}
|
35
|
+
<p>Copyright © {{ year_string }} {{ site.author }}; All rights reserved.</p>
|
36
|
+
{% endif %}
|
37
|
+
</div>
|
38
|
+
<p>
|
39
|
+
Powered by <a href="https://jekyllrb.com/">Jekyll</a> & <a href="https://github.com/ngzhio/jekyll-theme-hamilton">Hamilton</a>
|
40
|
+
</p>
|
41
|
+
</div>
|
42
|
+
</div>
|
8
43
|
|
9
44
|
{% if site.data.social %}
|
10
45
|
<div class="social-icons">
|
@@ -13,29 +48,6 @@
|
|
13
48
|
{% endfor %}
|
14
49
|
</div>
|
15
50
|
{% endif %}
|
16
|
-
|
17
|
-
<div class="copyright">
|
18
|
-
{% assign year_from = site.posts[-1].date | date: '%Y' %}
|
19
|
-
{% assign year_to = site.time | date: '%Y' %}
|
20
|
-
{% if year_from == nil or year_from == year_to %}
|
21
|
-
{% assign year_string = year_from %}
|
22
|
-
{% else %}
|
23
|
-
{% assign year_string = year_from | append: ' ' | append: '-' | append: ' ' | append: year_to %}
|
24
|
-
{% endif %}
|
25
|
-
|
26
|
-
{% if site.author %}
|
27
|
-
{% if site.email %}
|
28
|
-
<p>© {{ year_string }} <a class="u-email" href="mailto:{{ site.email }}">{{ site.author }}</a>; All rights reserved.</p>
|
29
|
-
{% else %}
|
30
|
-
<p>© {{ year_string }} {{ site.author }}; All rights reserved.</p>
|
31
|
-
{% endif %}
|
32
|
-
{% endif %}
|
33
|
-
|
34
|
-
<p>
|
35
|
-
Powered by <a href="https://jekyllrb.com/">Jekyll</a> & <a href="https://github.com/ngzhio/jekyll-theme-hamilton">Hamilton</a>
|
36
|
-
</p>
|
37
|
-
|
38
|
-
</div>
|
39
51
|
</div>
|
40
52
|
</footer>
|
41
53
|
|
data/_includes/head.html
CHANGED
@@ -14,6 +14,14 @@
|
|
14
14
|
{% include mathjax.html %}
|
15
15
|
{% endif %}
|
16
16
|
|
17
|
+
<!-- Google Fonts -->
|
18
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Roboto">
|
19
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Open%20Sans">
|
20
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Inconsolata">
|
21
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Dancing%20Script">
|
22
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto%20Sans%20SC">
|
23
|
+
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Noto%20Serif%20SC">
|
24
|
+
|
17
25
|
<link rel="stylesheet" href="{{ '/assets/css/main.css' | relative_url }}">
|
18
26
|
<link rel="stylesheet" href="{{ '/assets/css/skin.css' | relative_url }}">
|
19
27
|
|
data/_includes/header.html
CHANGED
@@ -14,13 +14,24 @@
|
|
14
14
|
</span>
|
15
15
|
</label>
|
16
16
|
|
17
|
-
<
|
18
|
-
{
|
19
|
-
{
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
17
|
+
<ul class="trigger">
|
18
|
+
{%- for nav in site.data.navigation -%}
|
19
|
+
{%- if nav.title -%}
|
20
|
+
{% if nav.sublinks %}
|
21
|
+
<li class="dropdown" href="#">
|
22
|
+
<a href="javascript:void(0)" class="dropbtn">{{ nav.title | escape }}</a>
|
23
|
+
<div class="dropdown-content">
|
24
|
+
{%- for link in nav.sublinks %}
|
25
|
+
<a class="{% if page.url == link.url %}current-page{% endif %}" href="{{ link.url | relative_url }}">{{ link.title | escape }}</a>
|
26
|
+
{%- endfor %}
|
27
|
+
</div>
|
28
|
+
</li>
|
29
|
+
{% else %}
|
30
|
+
<li><a class="{% if page.url == nav.url %}current-page{% endif %}" href="{{ nav.url | relative_url }}">{{ nav.title | escape }}</a></li>
|
31
|
+
{% endif %}
|
32
|
+
{%- endif -%}
|
33
|
+
{%- endfor -%}
|
34
|
+
</ul>
|
24
35
|
</nav>
|
25
36
|
{% endif %}
|
26
37
|
</div>
|
data/_layouts/home.html
CHANGED
@@ -13,21 +13,18 @@ layout: default
|
|
13
13
|
{% endif %}
|
14
14
|
|
15
15
|
{%- if posts.size > 0 -%}
|
16
|
-
{%- if page.list_title -%}
|
17
|
-
<h2 class="post-list-heading">{{ page.list_title }}</h2>
|
18
|
-
{%- endif -%}
|
19
16
|
<ul class="post-list">
|
20
17
|
{%- assign date_format = site.date_format | default: "%b %-d, %Y" -%}
|
21
18
|
{%- for post in posts -%}
|
22
19
|
<li>
|
23
|
-
<
|
20
|
+
<h2>
|
24
21
|
<a class="post-link" href="{{ post.url | relative_url }}">
|
25
22
|
{{ post.title | escape }}
|
26
23
|
</a>
|
27
|
-
</
|
24
|
+
</h2>
|
28
25
|
<span class="post-meta">{{ post.date | date: date_format }}</span>
|
29
|
-
{%- if
|
30
|
-
<
|
26
|
+
{%- if post.show_excerpts != false -%}
|
27
|
+
<div class="post-excerpt">{{ post.excerpt }}</div>
|
31
28
|
{%- endif -%}
|
32
29
|
</li>
|
33
30
|
{%- endfor -%}
|
data/_layouts/post.html
CHANGED
data/_sass/hamilton/base.scss
CHANGED
@@ -17,9 +17,9 @@ dl, dd, ol, ul, figure {
|
|
17
17
|
*/
|
18
18
|
h1, h2, h3, h4, h5, h6,
|
19
19
|
p, blockquote, pre,
|
20
|
-
ul, ol, dl, figure,
|
20
|
+
ul, ol, dl, figure, iframe,
|
21
21
|
%vertical-rhythm {
|
22
|
-
margin-bottom: $spacing-unit
|
22
|
+
margin-bottom: $spacing-unit;
|
23
23
|
}
|
24
24
|
|
25
25
|
/**
|
@@ -100,8 +100,8 @@ a {
|
|
100
100
|
* Blockquotes
|
101
101
|
*/
|
102
102
|
blockquote {
|
103
|
-
border-left: 0.
|
104
|
-
padding: $spacing-unit;
|
103
|
+
border-left: 0.1em solid;
|
104
|
+
padding-left: $spacing-unit;
|
105
105
|
font-style: italic;
|
106
106
|
|
107
107
|
> :last-child {
|
@@ -123,17 +123,14 @@ code {
|
|
123
123
|
}
|
124
124
|
|
125
125
|
code {
|
126
|
-
@include relative-font-size(0.9);
|
127
126
|
padding: 1px 5px;
|
128
127
|
}
|
129
128
|
|
130
129
|
pre {
|
131
|
-
border: 1px solid;
|
132
130
|
padding: 8px 12px;
|
133
131
|
overflow-x: auto;
|
134
132
|
|
135
133
|
> code {
|
136
|
-
@include relative-font-size(0.7);
|
137
134
|
line-height: $base-line-height * $base-font-size * 0.7;
|
138
135
|
border: 0;
|
139
136
|
padding-right: 0;
|
data/_sass/hamilton/layout.scss
CHANGED
@@ -68,16 +68,36 @@
|
|
68
68
|
padding-bottom: 5px;
|
69
69
|
}
|
70
70
|
|
71
|
-
.
|
72
|
-
|
73
|
-
|
74
|
-
padding:
|
71
|
+
ul.trigger {
|
72
|
+
list-style-type: none;
|
73
|
+
margin: 0;
|
74
|
+
padding: 0;
|
75
|
+
overflow: hidden;
|
76
|
+
|
77
|
+
li a {
|
78
|
+
line-height: $base-line-height * $base-font-size * 1.15;
|
79
|
+
display: inline;
|
80
|
+
padding: 5px 10px;
|
81
|
+
margin-left: auto;
|
82
|
+
}
|
75
83
|
|
76
|
-
|
77
|
-
|
78
|
-
|
84
|
+
.dropdown-content {
|
85
|
+
display: none;
|
86
|
+
position: absolute;
|
87
|
+
box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
|
88
|
+
z-index: 1;
|
89
|
+
}
|
90
|
+
|
91
|
+
.dropdown-content a {
|
92
|
+
padding: 5px 10px;
|
93
|
+
display: inline-block;
|
94
|
+
text-align: right;
|
95
|
+
margin-left: auto;
|
96
|
+
}
|
97
|
+
|
98
|
+
.dropdown:hover .dropdown-content {
|
99
|
+
display: block;
|
79
100
|
}
|
80
|
-
margin-left: 10px;
|
81
101
|
}
|
82
102
|
|
83
103
|
.current-page {
|
@@ -102,14 +122,29 @@
|
|
102
122
|
display: block;
|
103
123
|
}
|
104
124
|
|
105
|
-
.
|
106
|
-
|
107
|
-
|
125
|
+
ul.trigger {
|
126
|
+
li {
|
127
|
+
float: left;
|
128
|
+
}
|
129
|
+
|
130
|
+
li a {
|
131
|
+
display: inline-block;
|
132
|
+
text-align: center;
|
133
|
+
padding: 5px 5px;
|
134
|
+
|
135
|
+
// Gaps between nav items, but not on the last one
|
136
|
+
&:not(:last-child) {
|
137
|
+
margin-right: 0;
|
138
|
+
}
|
139
|
+
margin-left: 10px;
|
140
|
+
}
|
108
141
|
|
109
|
-
|
110
|
-
|
142
|
+
.dropdown-content a {
|
143
|
+
display: block;
|
144
|
+
text-align: left;
|
145
|
+
padding: 5px 15px 5px 5px;
|
146
|
+
margin-left: 10px;
|
111
147
|
}
|
112
|
-
margin-left: auto;
|
113
148
|
}
|
114
149
|
}
|
115
150
|
}
|
@@ -121,29 +156,36 @@
|
|
121
156
|
margin-top: $spacing-unit;
|
122
157
|
}
|
123
158
|
|
124
|
-
.post-list-heading {
|
125
|
-
@include relative-font-size(1.75);
|
126
|
-
}
|
127
|
-
|
128
159
|
.post-list {
|
129
160
|
margin-left: 0;
|
130
161
|
padding-left: 0;
|
131
162
|
list-style: none;
|
132
163
|
|
133
164
|
li {
|
165
|
+
padding-top: $spacing-unit / 2;
|
134
166
|
padding-bottom: $spacing-unit / 2;
|
135
167
|
border-bottom: 1px solid;
|
136
|
-
margin-bottom:
|
168
|
+
margin-bottom: $spacing-unit;
|
169
|
+
|
170
|
+
h2 {
|
171
|
+
margin-bottom: 0;
|
172
|
+
}
|
173
|
+
|
174
|
+
.post-excerpt {
|
175
|
+
margin-top: $spacing-unit / 2;
|
176
|
+
|
177
|
+
p {
|
178
|
+
margin-bottom: 0;
|
179
|
+
}
|
180
|
+
}
|
137
181
|
}
|
138
182
|
}
|
139
183
|
|
140
184
|
.post-link {
|
141
|
-
|
142
|
-
line-height: $base-line-height * $base-font-size * 2;
|
143
|
-
@include relative-font-size(2);
|
185
|
+
@include relative-font-size(1.5);
|
144
186
|
|
145
187
|
@media screen and (min-width: $on-large) {
|
146
|
-
@include relative-font-size(
|
188
|
+
@include relative-font-size(1.55);
|
147
189
|
}
|
148
190
|
}
|
149
191
|
|
@@ -187,6 +229,7 @@
|
|
187
229
|
padding-top: $spacing-unit * 2.5;
|
188
230
|
padding-bottom: $spacing-unit * 2.5;
|
189
231
|
margin-bottom: $spacing-unit * 2;
|
232
|
+
text-align: center;
|
190
233
|
}
|
191
234
|
|
192
235
|
.post-meta {
|
@@ -194,12 +237,18 @@
|
|
194
237
|
margin-bottom: $spacing-unit / 2;
|
195
238
|
}
|
196
239
|
|
197
|
-
.post-
|
198
|
-
|
240
|
+
.post-tags {
|
241
|
+
.post-tag {
|
242
|
+
margin-right: $spacing-unit / 2;
|
243
|
+
}
|
244
|
+
|
245
|
+
> :last-child {
|
246
|
+
margin-right: 0;
|
247
|
+
}
|
199
248
|
}
|
200
249
|
|
201
|
-
// Formula of calculating the relative font size of hn: 1 + 2 * 0.618^n
|
202
250
|
|
251
|
+
// About font sizes for h1-h6, refer to https://stackoverflow.com/a/6140504/13261366
|
203
252
|
.post-title,
|
204
253
|
.post-content h1 {
|
205
254
|
@include relative-font-size(2);
|
@@ -208,7 +257,7 @@
|
|
208
257
|
line-height: $base-line-height * $base-font-size * 2;
|
209
258
|
|
210
259
|
@media screen and (min-width: $on-large) {
|
211
|
-
@include relative-font-size(2.
|
260
|
+
@include relative-font-size(2.5);
|
212
261
|
}
|
213
262
|
}
|
214
263
|
|
@@ -221,31 +270,31 @@
|
|
221
270
|
h5, h6 { margin-top: $spacing-unit }
|
222
271
|
|
223
272
|
h2 {
|
224
|
-
@include relative-font-size(1.
|
273
|
+
@include relative-font-size(1.5);
|
225
274
|
|
226
275
|
@media screen and (min-width: $on-large) {
|
227
|
-
@include relative-font-size(1.
|
276
|
+
@include relative-font-size(1.55);
|
228
277
|
}
|
229
278
|
}
|
230
279
|
|
231
280
|
h3 {
|
232
|
-
@include relative-font-size(1.
|
281
|
+
@include relative-font-size(1.17);
|
233
282
|
|
234
283
|
@media screen and (min-width: $on-large) {
|
235
|
-
@include relative-font-size(1.
|
284
|
+
@include relative-font-size(1.175);
|
236
285
|
}
|
237
286
|
}
|
238
287
|
|
239
288
|
h4 {
|
240
|
-
@include relative-font-size(1.
|
289
|
+
@include relative-font-size(1.12);
|
241
290
|
}
|
242
291
|
|
243
292
|
h5 {
|
244
|
-
@include relative-font-size(
|
293
|
+
@include relative-font-size(0.83);
|
245
294
|
}
|
246
295
|
|
247
296
|
h6 {
|
248
|
-
@include relative-font-size(
|
297
|
+
@include relative-font-size(0.75);
|
249
298
|
}
|
250
299
|
}
|
251
300
|
|
@@ -279,7 +328,6 @@
|
|
279
328
|
.post-list-by-taxonomy {
|
280
329
|
time {
|
281
330
|
font-family: $code-font-family;
|
282
|
-
@include relative-font-size(0.9);
|
283
331
|
}
|
284
332
|
}
|
285
333
|
|
@@ -330,23 +378,52 @@ figcaption.align-center {
|
|
330
378
|
.site-footer {
|
331
379
|
border-top: 1px solid;
|
332
380
|
padding: $spacing-unit 0;
|
333
|
-
text-align: center;
|
334
381
|
@include relative-font-size(0.8);
|
335
382
|
|
336
|
-
|
337
|
-
|
338
|
-
text-align: left;
|
339
|
-
.feed-icon {
|
340
|
-
margin-right: 0.3em;
|
341
|
-
}
|
383
|
+
p, ul {
|
384
|
+
margin-bottom: $spacing-unit / 4;
|
342
385
|
}
|
386
|
+
}
|
343
387
|
|
388
|
+
@media screen and (min-width: $on-medium) {
|
389
|
+
.footer-col-wrapper {
|
390
|
+
display: flex
|
391
|
+
}
|
344
392
|
|
345
|
-
.
|
346
|
-
|
393
|
+
.footer-col {
|
394
|
+
width: calc(100% - (#{$spacing-unit} / 2));
|
395
|
+
padding: 0 ($spacing-unit / 2);
|
396
|
+
|
397
|
+
&:first-child {
|
398
|
+
padding-right: $spacing-unit / 2;
|
399
|
+
padding-left: 0;
|
400
|
+
}
|
347
401
|
|
348
|
-
|
349
|
-
|
402
|
+
&:last-child {
|
403
|
+
padding-right: 0;
|
404
|
+
padding-left: $spacing-unit / 2;
|
350
405
|
}
|
351
406
|
}
|
352
407
|
}
|
408
|
+
|
409
|
+
.feed-subscribe {
|
410
|
+
font-weight: bold;
|
411
|
+
text-align: left;
|
412
|
+
.feed-icon {
|
413
|
+
margin-right: 0.3em;
|
414
|
+
}
|
415
|
+
}
|
416
|
+
|
417
|
+
.contact-list {
|
418
|
+
list-style: none;
|
419
|
+
margin-left: 0;
|
420
|
+
}
|
421
|
+
|
422
|
+
.social-icons {
|
423
|
+
text-align: center;
|
424
|
+
margin-top: $spacing-unit / 2;
|
425
|
+
|
426
|
+
.social-icon {
|
427
|
+
margin: 0.3em;
|
428
|
+
}
|
429
|
+
}
|
data/_sass/hamilton/skin.scss
CHANGED
@@ -18,9 +18,8 @@ a {
|
|
18
18
|
}
|
19
19
|
|
20
20
|
blockquote {
|
21
|
-
background-color: $border-color-light;
|
22
21
|
color: $text-color-light;
|
23
|
-
border-left-color: $border-color;
|
22
|
+
border-left-color: $border-color-light;
|
24
23
|
}
|
25
24
|
|
26
25
|
pre,
|
@@ -29,7 +28,7 @@ code {
|
|
29
28
|
}
|
30
29
|
|
31
30
|
pre {
|
32
|
-
|
31
|
+
box-shadow: $box-shadow;
|
33
32
|
}
|
34
33
|
|
35
34
|
.highlight {
|
@@ -86,9 +85,13 @@ table {
|
|
86
85
|
}
|
87
86
|
}
|
88
87
|
|
89
|
-
|
88
|
+
li a {
|
90
89
|
color: $text-color;
|
91
90
|
}
|
91
|
+
|
92
|
+
.dropdown-content {
|
93
|
+
background-color: $border-color-light;
|
94
|
+
}
|
92
95
|
}
|
93
96
|
|
94
97
|
.post-list {
|
@@ -16,7 +16,7 @@ $table-header-bg-color: mix($background-color, $border-color, 80%) !default;
|
|
16
16
|
$table-header-border: $border-color !default;
|
17
17
|
$table-border-color: lighten($border-color, 20%) !default;
|
18
18
|
|
19
|
-
$box-shadow: 0
|
19
|
+
$box-shadow: 0 0 4px rgba(17,17,17,0.4) inset !default;
|
20
20
|
|
21
21
|
$subscribe-color: #b21000 !default;
|
22
22
|
|
@@ -1,13 +1,13 @@
|
|
1
|
-
$text-color:
|
2
|
-
$text-color-light:
|
3
|
-
$background-color: #
|
1
|
+
$text-color: lightgrey !default;
|
2
|
+
$text-color-light: silver !default;
|
3
|
+
$background-color: #121212 !default;
|
4
4
|
$code-background-color: #49483e !default;
|
5
5
|
|
6
|
-
$border-color: mix(
|
6
|
+
$border-color: mix($text-color, $background-color, 22%) !default;
|
7
7
|
$border-color-light: darken($border-color, 10%) !default;
|
8
8
|
$border-color-dark: lighten($border-color, 10%) !default;
|
9
9
|
|
10
|
-
$link-base-color: #
|
10
|
+
$link-base-color: #00b1c9 !default;
|
11
11
|
$link-visited-color: darken($link-base-color, 5%) !default;
|
12
12
|
|
13
13
|
$table-text-color: lighten($text-color, 18%) !default;
|
@@ -16,7 +16,7 @@ $table-header-bg-color: mix($background-color, $border-color-light, 5%) !default
|
|
16
16
|
$table-header-border: lighten($border-color, 30%) !default;
|
17
17
|
$table-border-color: lighten($border-color, 20%) !default;
|
18
18
|
|
19
|
-
$box-shadow: 0
|
19
|
+
$box-shadow: 0 0 4px rgba(255,255,255,0.4) inset !default;
|
20
20
|
|
21
21
|
$subscribe-color: tomato !default;
|
22
22
|
|
@@ -16,7 +16,7 @@ $table-header-bg-color: mix($background-color, $border-color, 70%) !default;
|
|
16
16
|
$table-header-border: $border-color !default;
|
17
17
|
$table-border-color: $border-color-light !default;
|
18
18
|
|
19
|
-
$box-shadow: 0
|
19
|
+
$box-shadow: 0 0 4px rgba(34,34,34,0.4) inset !default;
|
20
20
|
|
21
21
|
$subscribe-color: #004e00 !default;
|
22
22
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
// Fonts
|
2
|
-
$base-font-family: "
|
3
|
-
$title-font-family: "
|
4
|
-
$reading-font-family: "
|
5
|
-
$code-font-family:
|
2
|
+
$base-font-family: "Open Sans", "Noto Serif SC" !default;
|
3
|
+
$title-font-family: "Dancing Script" !default;
|
4
|
+
$reading-font-family: Roboto, "Noto Sans SC" !default;
|
5
|
+
$code-font-family: Inconsolata !default;
|
6
6
|
$base-font-size: 18px !default;
|
7
7
|
$base-line-height: 1.4 !default;
|
8
8
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: jekyll-theme-hamilton
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.3.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Shangzhi Huang
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-06-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: jekyll
|
@@ -96,7 +96,7 @@ dependencies:
|
|
96
96
|
version: '12.0'
|
97
97
|
description:
|
98
98
|
email:
|
99
|
-
- ngzhio@
|
99
|
+
- ngzhio@gmail.com
|
100
100
|
executables: []
|
101
101
|
extensions: []
|
102
102
|
extra_rdoc_files: []
|
@@ -155,7 +155,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
155
155
|
- !ruby/object:Gem::Version
|
156
156
|
version: '0'
|
157
157
|
requirements: []
|
158
|
-
rubygems_version: 3.0.
|
158
|
+
rubygems_version: 3.0.3
|
159
159
|
signing_key:
|
160
160
|
specification_version: 4
|
161
161
|
summary: Another minimal style of Jekyll theme for writers
|