jekyll-theme-hydure 1.0.0 → 2.0.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 +1 -4
- data/_includes/head.html +3 -3
- data/_layouts/default.html +7 -4
- data/_sass/hydure/_content.scss +4 -0
- data/_sass/hydure/_page.scss +10 -6
- data/_sass/hydure/_sidebar.scss +9 -1
- data/_sass/hydure/_variables.scss +3 -7
- 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: 2f9c53ae8d9e7c425b0972e2d8212db8b5df7ad7b451d7ae9fc35f78438f83c2
|
|
4
|
+
data.tar.gz: a8263efff01d367c50613431b4f85477fafc9dc6c68bce15de8927d5a0fc9b2a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f95f3a6e780ebe21c351ed836ef6ad0be536a775167ff2c991f1ca5ab474a77a827cc1015aa871f20fbfd07310a341e6a4f1a6ba7eba67a516f79bd7796a4ebd
|
|
7
|
+
data.tar.gz: 5b90e1fad9a4d4b1a0a94ed10ed916687e7ab6453c0eb885d4249eb16e5e66964321dd06314ba9b9be43d6e12518ffda720a87af223e35453d9e7ffcbe63702d
|
data/README.md
CHANGED
|
@@ -4,10 +4,7 @@ Hydure is a concise two-column blog theme for Jekyll. It is built on the [Pure.c
|
|
|
4
4
|
|
|
5
5
|
Check out the [demo](https://zivong.blog/jekyll-theme-hydure/).
|
|
6
6
|
|
|
7
|
-
|
|
8
|
-
| ----- | ------ | ------- |
|
|
9
|
-
| Light |  |  |
|
|
10
|
-
| Dark |  |  |
|
|
7
|
+

|
|
11
8
|
|
|
12
9
|
## Highlight Features <!-- omit in toc -->
|
|
13
10
|
|
data/_includes/head.html
CHANGED
|
@@ -4,12 +4,12 @@
|
|
|
4
4
|
{% feed_meta %}
|
|
5
5
|
{% seo %}
|
|
6
6
|
|
|
7
|
-
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.
|
|
8
|
-
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.
|
|
7
|
+
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.6/build/pure-min.css" crossorigin="anonymous">
|
|
8
|
+
<link rel="stylesheet" href="https://unpkg.com/purecss@2.0.6/build/grids-responsive-min.css">
|
|
9
9
|
<link rel="stylesheet" href="{{ 'assets/css/open-color.css' | relative_url }}">
|
|
10
10
|
<link rel="stylesheet" href="{{ 'assets/css/hydure.css' | relative_url }}">
|
|
11
11
|
|
|
12
|
-
<script async src="https://use.fontawesome.com/releases/v5.0
|
|
12
|
+
<script async src="https://use.fontawesome.com/releases/v5.12.0/js/all.js"></script>
|
|
13
13
|
|
|
14
14
|
{% include custom-head.html %}
|
|
15
15
|
</head>
|
data/_layouts/default.html
CHANGED
|
@@ -4,16 +4,19 @@
|
|
|
4
4
|
|
|
5
5
|
<body>
|
|
6
6
|
<div id="layout" class="pure-g">
|
|
7
|
-
{% assign cover = site.cover | default: "https://cdn.jsdelivr.net/gh/zivong/jekyll-theme-hydure@
|
|
7
|
+
{% assign cover = site.cover | default: "https://cdn.jsdelivr.net/gh/zivong/jekyll-theme-hydure@v2.0.0/cover.jpg" %}
|
|
8
8
|
{% if page.cover %}
|
|
9
9
|
{% assign cover = page.cover %}
|
|
10
10
|
{% endif %}
|
|
11
11
|
<div class="sidebar pure-u-1 pure-u-md-1-4" {% if cover %}style="background-image: url({{ cover | relative_url }});"{% endif %}>
|
|
12
|
-
|
|
12
|
+
<div class="sidebar-shield">
|
|
13
|
+
{% include header.html %}
|
|
14
|
+
</div>
|
|
13
15
|
</div>
|
|
14
16
|
<div class="content pure-u-1 pure-u-md-3-4">
|
|
15
|
-
|
|
16
|
-
|
|
17
|
+
<div class="main">
|
|
18
|
+
{{ content }}
|
|
19
|
+
</div>
|
|
17
20
|
{% include footer.html %}
|
|
18
21
|
</div>
|
|
19
22
|
</div>
|
data/_sass/hydure/_content.scss
CHANGED
data/_sass/hydure/_page.scss
CHANGED
|
@@ -1,10 +1,8 @@
|
|
|
1
1
|
.page,
|
|
2
2
|
.post {
|
|
3
|
-
font-family: var(--page-font);
|
|
4
|
-
|
|
5
3
|
h1, h2, h3, h4, h5, h6 {
|
|
6
4
|
color: var(--heading-color);
|
|
7
|
-
font-family: var(--
|
|
5
|
+
font-family: var(--heading-font);
|
|
8
6
|
}
|
|
9
7
|
}
|
|
10
8
|
|
|
@@ -17,7 +15,6 @@
|
|
|
17
15
|
.post-meta {
|
|
18
16
|
color: var(--body-color-light);
|
|
19
17
|
font-size: 80%;
|
|
20
|
-
font-family: var(--body-font);
|
|
21
18
|
margin-top: 0;
|
|
22
19
|
}
|
|
23
20
|
|
|
@@ -69,7 +66,6 @@ a.post-tag {
|
|
|
69
66
|
margin-bottom: 1em;
|
|
70
67
|
border: 1px solid var(--border-color);
|
|
71
68
|
border-radius: var(--border-radius);
|
|
72
|
-
box-shadow: var(--box-shadow);
|
|
73
69
|
}
|
|
74
70
|
|
|
75
71
|
.post-title {
|
|
@@ -109,7 +105,6 @@ a.post-tag {
|
|
|
109
105
|
}
|
|
110
106
|
|
|
111
107
|
#markdown-toc {
|
|
112
|
-
font-family: var(--body-font);
|
|
113
108
|
font-size: 80%;
|
|
114
109
|
padding: 2em 3em;
|
|
115
110
|
margin: 2em 0;
|
|
@@ -122,3 +117,12 @@ a.post-tag {
|
|
|
122
117
|
content: "TOC";
|
|
123
118
|
}
|
|
124
119
|
}
|
|
120
|
+
|
|
121
|
+
.task-list-item {
|
|
122
|
+
list-style-type: none;
|
|
123
|
+
|
|
124
|
+
.task-list-item-checkbox {
|
|
125
|
+
margin: 0 .2em .25em -1.6em;
|
|
126
|
+
vertical-align: middle;
|
|
127
|
+
}
|
|
128
|
+
}
|
data/_sass/hydure/_sidebar.scss
CHANGED
|
@@ -3,10 +3,16 @@
|
|
|
3
3
|
background: center / cover;
|
|
4
4
|
}
|
|
5
5
|
|
|
6
|
+
.sidebar-shield {
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
9
|
+
background-color: rgba(0,0,0,0.1);
|
|
10
|
+
}
|
|
11
|
+
|
|
6
12
|
.header {
|
|
7
13
|
width: 100%;
|
|
8
|
-
font-family: var(--body-font);
|
|
9
14
|
text-align: center;
|
|
15
|
+
text-shadow: 1px 1px 3px var(--oc-black);
|
|
10
16
|
padding: 2em;
|
|
11
17
|
|
|
12
18
|
a {
|
|
@@ -20,6 +26,7 @@
|
|
|
20
26
|
font-weight: bold;
|
|
21
27
|
line-height: 1.2;
|
|
22
28
|
letter-spacing: -1px;
|
|
29
|
+
word-wrap: break-word;
|
|
23
30
|
}
|
|
24
31
|
|
|
25
32
|
.brand-tagline {
|
|
@@ -54,6 +61,7 @@
|
|
|
54
61
|
&:hover {
|
|
55
62
|
color: var(--link-color);
|
|
56
63
|
background-color: transparent;
|
|
64
|
+
background-image: none;
|
|
57
65
|
}
|
|
58
66
|
}
|
|
59
67
|
}
|
|
@@ -9,12 +9,12 @@ $xl-screen: 80rem;
|
|
|
9
9
|
--body-color: var(--oc-gray-9);
|
|
10
10
|
--body-color-light: var(--oc-gray-6);
|
|
11
11
|
--body-bg: var(--oc-white);
|
|
12
|
-
--link-color: var(--oc-blue-
|
|
12
|
+
--link-color: var(--oc-blue-9);
|
|
13
13
|
--heading-color: var(--oc-black);
|
|
14
14
|
|
|
15
15
|
--body-font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
|
|
16
16
|
--brand-title-font: "Abril Fatface", serif;
|
|
17
|
-
--
|
|
17
|
+
--heading-font: Cambria, Cochin, Georgia, Times, 'Times New Roman', serif;
|
|
18
18
|
--code-font: 'Courier New', Courier, monospace;
|
|
19
19
|
|
|
20
20
|
--sidebar-color: var(--oc-gray-4);
|
|
@@ -26,8 +26,6 @@ $xl-screen: 80rem;
|
|
|
26
26
|
--border-color: var(--oc-gray-3);
|
|
27
27
|
|
|
28
28
|
--code-bg: var(--oc-gray-1);
|
|
29
|
-
|
|
30
|
-
--box-shadow: 3px 3px 3px var(--oc-gray-3);
|
|
31
29
|
}
|
|
32
30
|
|
|
33
31
|
@media (prefers-color-scheme: dark) {
|
|
@@ -35,7 +33,7 @@ $xl-screen: 80rem;
|
|
|
35
33
|
--body-color: var(--oc-gray-4);
|
|
36
34
|
--body-color-light: var(--oc-gray-6);
|
|
37
35
|
--body-bg: var(--oc-gray-9);
|
|
38
|
-
--link-color: var(--oc-blue-
|
|
36
|
+
--link-color: var(--oc-blue-4);
|
|
39
37
|
--heading-color: var(--oc-white);
|
|
40
38
|
|
|
41
39
|
--message-color: var(--oc-gray-9);
|
|
@@ -44,7 +42,5 @@ $xl-screen: 80rem;
|
|
|
44
42
|
--border-color: var(--oc-gray-7);
|
|
45
43
|
|
|
46
44
|
--code-bg: var(--oc-gray-8);
|
|
47
|
-
|
|
48
|
-
--box-shadow: 3px 3px 3px var(--oc-gray-7);
|
|
49
45
|
}
|
|
50
46
|
}
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-theme-hydure
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.0.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Song-Zi Vong
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2021-
|
|
11
|
+
date: 2021-08-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: jekyll
|
|
@@ -58,14 +58,14 @@ dependencies:
|
|
|
58
58
|
requirements:
|
|
59
59
|
- - "~>"
|
|
60
60
|
- !ruby/object:Gem::Version
|
|
61
|
-
version: '2.
|
|
61
|
+
version: '2.7'
|
|
62
62
|
type: :runtime
|
|
63
63
|
prerelease: false
|
|
64
64
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
65
|
requirements:
|
|
66
66
|
- - "~>"
|
|
67
67
|
- !ruby/object:Gem::Version
|
|
68
|
-
version: '2.
|
|
68
|
+
version: '2.7'
|
|
69
69
|
description:
|
|
70
70
|
email:
|
|
71
71
|
- zivong@protonmail.com
|