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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e710731cfe86f7296e9680cc1dbf8a8bf1dad24c429bcbea9a064c5dc6cf1311
4
- data.tar.gz: fcf73a3f14c09d13a2529627741621e00213643088582ed09302f120abdf0f00
3
+ metadata.gz: 53c93314e497136b7b8e174eb508d834e482e99bdf7edbfc0e3b312d61fb797e
4
+ data.tar.gz: a71fa2e109f2cb4ead84f0f747c00da195ad03286b4231ce644091dce55d8077
5
5
  SHA512:
6
- metadata.gz: 784849ff26a17a5015766929768d378d37989845b534b22ef9daea4d2aa15fa4aa4fa802d0ca2d5ee604c6dfe36915a85fde2a866c6a791e531d81ee4eca5a75
7
- data.tar.gz: 6dceef242425080b69586c78b7a74a3b000b79dc14e0ae9aadaf1a0957ac6ff751ef102bf2dc80e2a37c3b6af53ef6d77fd64e8ab80d655fa923fb9506f7cd2d
6
+ metadata.gz: 0ff5ad16d7338d6193d23fe6a004c384def35e2a095c024d694c9b42618f44c717bee17f13b978986c227e6698572a5971174f38238910a87da58fb5c43d53ac
7
+ data.tar.gz: f6ea6e35c37448813e55028ae504a0f9b7007cd09f3d4d4ef8aa0faf08f33ca7a3a732ef93dd8c2b76b3350e72c00cc08783cbbaa228343eae527c53e756fcec
@@ -1,31 +1,35 @@
1
1
  <!DOCTYPE html>
2
2
  <html lang="{{ site.lang | default: "zh-cn" }}">
3
- <head>
4
- <meta charset='utf-8'>
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="viewport" content="width=640">
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
- <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)">
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
- <script src="{{ '/assets/js/modernizr.js' | relative_url }}"></script>
13
- <script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
14
- <script src="{{ '/assets/js/headsmart.min.js' | relative_url }}"></script>
15
- <script>
16
- $(document).ready(function () {
17
- $('#main_content').headsmart()
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
- </head>
20
+ </head>
22
21
 
23
- <body>
24
- {% include header.html %}
25
- <div class="shell">
26
- <section id="main_content">
27
- {{ content }}
28
- </section>
29
- </div>
30
- </body>
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
- <head>
4
- <meta charset='utf-8'>
5
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
6
- <meta name="viewport" content="width=640">
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
- <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)">
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
- <script src="{{ '/assets/js/modernizr.js' | relative_url }}"></script>
13
- <script src="https://code.jquery.com/jquery-1.12.4.min.js" integrity="sha256-ZosEbRLbNQzLpnKIkEdrPv7lOy9C27hHQ+Xp8a4MxAQ=" crossorigin="anonymous"></script>
14
- <script src="{{ '/assets/js/headsmart.min.js' | relative_url }}"></script>
15
- <script>
16
- $(document).ready(function () {
17
- $('#main_content').headsmart()
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
- </head>
20
+ </head>
22
21
 
23
- <body>
24
- {% include header.html %}
25
- <div class="shell">
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
- </body>
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.shell {
116
- display: block;
117
- width: 800px;
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
- background: transparent url(../images/footer-ramp.jpg) center -1px no-repeat;
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
 
@@ -1,4 +1,4 @@
1
1
  ---
2
2
  ---
3
3
 
4
- @import 'jekyll-theme-merlot';
4
+ @import 'jekyll-theme-gingko';
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-gingko
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
  - Jiang Zhengdong