jekyll-theme-gingko 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 +4 -4
- data/_layouts/default.html +28 -24
- data/_layouts/post.html +30 -26
- data/_sass/screen.scss +16 -13
- data/assets/css/style.scss +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 53c93314e497136b7b8e174eb508d834e482e99bdf7edbfc0e3b312d61fb797e
|
|
4
|
+
data.tar.gz: a71fa2e109f2cb4ead84f0f747c00da195ad03286b4231ce644091dce55d8077
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 0ff5ad16d7338d6193d23fe6a004c384def35e2a095c024d694c9b42618f44c717bee17f13b978986c227e6698572a5971174f38238910a87da58fb5c43d53ac
|
|
7
|
+
data.tar.gz: f6ea6e35c37448813e55028ae504a0f9b7007cd09f3d4d4ef8aa0faf08f33ca7a3a732ef93dd8c2b76b3350e72c00cc08783cbbaa228343eae527c53e756fcec
|
data/_layouts/default.html
CHANGED
|
@@ -1,31 +1,35 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="{{ site.lang | default: "zh-cn" }}">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset='utf-8'>
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=640">
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}" media="screen">
|
|
9
|
+
<link rel="stylesheet" href="{{ '/assets/css/mobile.css' | relative_url }}" media="handheld, only screen and (max-device-width:640px)">
|
|
10
|
+
<link rel="stylesheet" href="{{ '/assets/css/non-screen.css' | relative_url }}" media="handheld, only screen and (max-device-width:640px)">
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</script>
|
|
12
|
+
<script src="{{ '/assets/js/modernizr.js' | relative_url }}"></script>
|
|
13
|
+
<script src="{{ '/assets/js/headsmart.min.js' | relative_url }}"></script>
|
|
14
|
+
<script>
|
|
15
|
+
$(document).ready(function () {
|
|
16
|
+
$('#main_content').headsmart()
|
|
17
|
+
})
|
|
18
|
+
</script>
|
|
20
19
|
|
|
21
|
-
|
|
20
|
+
</head>
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
22
|
+
<body>
|
|
23
|
+
{% include header.html %}
|
|
24
|
+
<div class="layout">
|
|
25
|
+
<div class="main">
|
|
26
|
+
<section id="main_content">
|
|
27
|
+
{{ content }}
|
|
28
|
+
</section>
|
|
29
|
+
</div>
|
|
30
|
+
</div>
|
|
31
|
+
<div class="footer">
|
|
32
|
+
{% include footer.html %}
|
|
33
|
+
</div>
|
|
34
|
+
</body>
|
|
31
35
|
</html>
|
data/_layouts/post.html
CHANGED
|
@@ -1,33 +1,37 @@
|
|
|
1
1
|
<!DOCTYPE html>
|
|
2
2
|
<html lang="{{ site.lang | default: "zh-cn" }}">
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
3
|
+
<head>
|
|
4
|
+
<meta charset='utf-8'>
|
|
5
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
|
6
|
+
<meta name="viewport" content="width=640">
|
|
7
7
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
<link rel="stylesheet" href="{{ '/assets/css/style.css?v=' | append: site.github.build_revision | relative_url }}" media="screen">
|
|
9
|
+
<link rel="stylesheet" href="{{ '/assets/css/mobile.css' | relative_url }}" media="handheld, only screen and (max-device-width:640px)">
|
|
10
|
+
<link rel="stylesheet" href="{{ '/assets/css/non-screen.css' | relative_url }}" media="handheld, only screen and (max-device-width:640px)">
|
|
11
11
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
</script>
|
|
12
|
+
<script src="{{ '/assets/js/modernizr.js' | relative_url }}"></script>
|
|
13
|
+
<script src="{{ '/assets/js/headsmart.min.js' | relative_url }}"></script>
|
|
14
|
+
<script>
|
|
15
|
+
$(document).ready(function () {
|
|
16
|
+
$('#main_content').headsmart()
|
|
17
|
+
})
|
|
18
|
+
</script>
|
|
20
19
|
|
|
21
|
-
|
|
20
|
+
</head>
|
|
22
21
|
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
22
|
+
<body>
|
|
23
|
+
{% include header.html %}
|
|
24
|
+
<div class="layout">
|
|
25
|
+
<div class="main">
|
|
26
|
+
<section id="main_content">
|
|
27
|
+
<span><h1 id="title">{{ page.title }}</h1></span>
|
|
28
|
+
<span>{{ page.date | date: "%Y-%m-%d" }} by {{ site.author }}</span>
|
|
29
|
+
{{ content }}
|
|
30
|
+
</section>
|
|
31
|
+
</div>
|
|
32
|
+
</div>
|
|
33
|
+
<div class="footer">
|
|
34
|
+
{% include footer.html %}
|
|
35
|
+
</div>
|
|
36
|
+
</body>
|
|
33
37
|
</html>
|
data/_sass/screen.scss
CHANGED
|
@@ -112,10 +112,22 @@ header, footer, section {
|
|
|
112
112
|
|
|
113
113
|
/* STYLES */
|
|
114
114
|
|
|
115
|
-
div.
|
|
116
|
-
|
|
117
|
-
|
|
115
|
+
div.layout {
|
|
116
|
+
width: 1000px;
|
|
117
|
+
margin: 0 auto;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
div.main {
|
|
121
|
+
width: 750px;
|
|
122
|
+
// display: inline-block;
|
|
118
123
|
margin: 0 auto;
|
|
124
|
+
// margin-right: 45px;
|
|
125
|
+
}
|
|
126
|
+
|
|
127
|
+
div.sidebar {
|
|
128
|
+
display: inline-block;
|
|
129
|
+
width: 200px;
|
|
130
|
+
vertical-align: top;
|
|
119
131
|
}
|
|
120
132
|
|
|
121
133
|
a#forkme_banner {
|
|
@@ -267,19 +279,10 @@ span.banner-fix {
|
|
|
267
279
|
top: 19px;
|
|
268
280
|
}
|
|
269
281
|
|
|
270
|
-
section#main_content {
|
|
271
|
-
z-index: 2;
|
|
272
|
-
padding: 20px 82px 0;
|
|
273
|
-
min-height:185px;
|
|
274
|
-
}
|
|
275
|
-
|
|
276
282
|
/* footer */
|
|
277
283
|
|
|
278
284
|
footer {
|
|
279
|
-
|
|
280
|
-
padding-top: 104px;
|
|
281
|
-
//margin: -94px auto 40px;
|
|
282
|
-
max-width: 800px;
|
|
285
|
+
padding-top: 50px;
|
|
283
286
|
text-align: center;
|
|
284
287
|
}
|
|
285
288
|
|
data/assets/css/style.scss
CHANGED