jekyll-theme-nan 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 23de85c7429b7d1bd7c3f59e3b0334adb67c9574
4
- data.tar.gz: 49278bcb4435f6b88d80a179c33a38d67d91e744
2
+ SHA256:
3
+ metadata.gz: a19e7a8c663046bae481c20c307a8e847980d02a156132b59298f964238b71aa
4
+ data.tar.gz: 6a8a394641ee817a97301e54a9ba1543614f633d6cf6e3a288a83a1b23907f9f
5
5
  SHA512:
6
- metadata.gz: 41c050d0ae7b85698504770a03fdccb747a653551307e1b5296ab96966b4bbd7e005bc07aa9e350817b523ab981091ccf7f931fce7dea831707a7d6740dffa64
7
- data.tar.gz: 461ced6d31351877eaf39e87da0dbcbc636ff16f8fd16f01bcc59a967badea2c10458f91fa51be0ec94cc1d45c39c39048aa23b09aae14fb5641ff937a40e127
6
+ metadata.gz: 789fab3e52deb6fbfb1bd98578ed936784a9248c291dab077c1101ae036e5c9d532d34b14962bc2e863fee038694b41eda1569bf8f58ca4b962b23ba783d222d
7
+ data.tar.gz: 687d2910aaad1a954556690b9696c23c55b51a2a028b20319b098d7681a1c855b0ed5072efa4176782e847b3739f9e4981e3065adb00bbf81893b9645dc75d44
@@ -0,0 +1,21 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2016 Nan Zhong
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in
13
+ all copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
21
+ THE SOFTWARE.
@@ -0,0 +1,48 @@
1
+ # nan-theme
2
+
3
+ Welcome to your new Jekyll theme! In this directory, you'll find the files you need to be able to package up your theme into a gem. Put your layouts in `_layouts`, your includes in `_includes` and your sass in `_sass`. To experiment with this code, add some sample content and run `bundle exec jekyll serve` – this directory is setup just like a Jekyll site!
4
+
5
+ TODO: Delete this and the text above, and describe your gem
6
+
7
+ ## Installation
8
+
9
+ Add this line to your Jekyll site's Gemfile:
10
+
11
+ ```ruby
12
+ gem "jekyll-nan-theme"
13
+ ```
14
+
15
+ And add this line to your Jekyll site:
16
+
17
+ ```yaml
18
+ theme: jekyll-nan-theme
19
+ ```
20
+
21
+ And then execute:
22
+
23
+ $ bundle
24
+
25
+ Or install it yourself as:
26
+
27
+ $ gem install jekyll-nan-theme
28
+
29
+ ## Usage
30
+
31
+ TODO: Write usage instructions here. Describe your available layouts, includes, and/or sass.
32
+
33
+ ## Contributing
34
+
35
+ Bug reports and pull requests are welcome on GitHub at https://github.com/[USERNAME]/hello. This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the [Contributor Covenant](http://contributor-covenant.org) code of conduct.
36
+
37
+ ## Development
38
+
39
+ To set up your environment to develop this theme, run `bundle install`.
40
+
41
+ You theme is setup just like a normal Jelyll site! To test your theme, run `bundle exec jekyll serve` and open your browser at `http://localhost:4000`. This starts a Jekyll server using your theme. Add pages, documents, data, etc. like normal to test your theme's contents. As you make modifications to your theme and to your content, your site will regenerate and you should see the changes in the browser after a refresh, just like normal.
42
+
43
+ When your theme is released, only the files in `_layouts`, `_includes`, and `_sass` tracked with Git will be released.
44
+
45
+ ## License
46
+
47
+ The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
48
+
@@ -0,0 +1,4 @@
1
+ {% if site.add-this %}
2
+ <!-- Go to www.addthis.com/dashboard to customize your tools -->
3
+ <script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid={{ site.add-this.id }}"></script>
4
+ {% endif %}
@@ -0,0 +1,20 @@
1
+ <div id="disqus_thread"></div>
2
+ <script>
3
+
4
+ /**
5
+ * RECOMMENDED CONFIGURATION VARIABLES: EDIT AND UNCOMMENT THE SECTION BELOW TO INSERT DYNAMIC VALUES FROM YOUR PLATFORM OR CMS.
6
+ * LEARN WHY DEFINING THESE VARIABLES IS IMPORTANT: https://disqus.com/admin/universalcode/#configuration-variables*/
7
+
8
+ var disqus_config = function () {
9
+ this.page.url = "{{ page.url | absolute_url }}";
10
+ this.page.identifier = "{{ page.url }}";
11
+ };
12
+
13
+ (function() { // DON'T EDIT BELOW THIS LINE
14
+ var d = document, s = d.createElement('script');
15
+ s.src = 'https://not-a-number.disqus.com/embed.js';
16
+ s.setAttribute('data-timestamp', +new Date());
17
+ (d.head || d.body).appendChild(s);
18
+ })();
19
+ </script>
20
+ <noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript">comments powered by Disqus.</a></noscript>
@@ -0,0 +1,4 @@
1
+ <footer class="footer">
2
+ {% include social-links.html %}
3
+ <small><a href="{{ '/' | relative_url }}">NaN</a> built with <a href="https://jekyllrb.com">Jekyll</a> hosted on <a href="https://github.com">Github</a>. © 2017 {{ site.author.name }}. All rights reserved.</small>
4
+ </footer>
@@ -0,0 +1,11 @@
1
+ {% if site.google-analytics %}
2
+ <!-- Global site tag (gtag.js) - Google Analytics -->
3
+ <script async src="https://www.googletagmanager.com/gtag/js?id=UA-88257352-1"></script>
4
+ <script>
5
+ window.dataLayer = window.dataLayer || [];
6
+ function gtag(){dataLayer.push(arguments);}
7
+ gtag('js', new Date());
8
+
9
+ gtag('config', '{{ site.google-analytics.id }}');
10
+ </script>
11
+ {% endif %}
@@ -0,0 +1,49 @@
1
+ <head>
2
+ <meta charset="utf-8">
3
+ <meta name="viewport" content="width=device-width, initial-scale=1">
4
+ <title>{{ site.title }} - {% if page.title != "" %}{{ page.title }}{% else %}{{ site.description }}{% endif %}</title>
5
+
6
+ <link rel="stylesheet" href="//fonts.googleapis.com/css?family=Roboto:300,300italic,700,700italic">
7
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/7.0.0/normalize.min.css" integrity="sha256-HxaKz5E/eBbvhGMNwhWRPrAR9i/lG1JeT4mD6hCQ7s4=" crossorigin="anonymous">
8
+ <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/milligram/1.3.0/milligram.min.css" integrity="sha256-Ro/wP8uUi8LR71kwIdilf78atpu8bTEwrK5ZotZo+Zc=" crossorigin="anonymous">
9
+ <script src="https://use.fontawesome.com/741de133af.js"></script>
10
+
11
+ <link rel="stylesheet" href="{{ site.baseurl | absolute_url }}/assets/css/main.css" type="text/css">
12
+ <link rel="alternate" type="application/rss+xml" title="RSS Feed for {{ site.title }}" href="{{ site.baseurl }}/feed.xml">
13
+
14
+ <link rel="icon" type="image/png" href="{{ site.baseurl | absolute_url }}/assets/favicon-16.png" sizes="16x16">
15
+ <link rel="icon" type="image/png" href="{{ site.baseurl | absolute_url }}/assets/favicon-32.png" sizes="32x32">
16
+ <link rel="icon" type="image/png" href="{{ site.baseurl | absolute_url }}/assets/favicon-96.png" sizes="96x96">
17
+
18
+ {% if site.author.twitter %}
19
+ {% if page.twitter.card %}
20
+ <meta name="twitter:card" content="{{ page.twitter.card }}">
21
+ {% else %}
22
+ <meta name="twitter:card" content="summary">
23
+ {% endif %}
24
+
25
+ <meta name="twitter:site" content="@{{site.author.twitter}}">
26
+ <meta name="twitter:creator" content="@{{site.author.twitter}}">
27
+
28
+ {% if page.title %}
29
+ <meta name="twitter:title" content="{{ page.title }}">
30
+ {% else %}
31
+ <meta name="twitter:title" content="{{ site.title }}">
32
+ {% endif %}
33
+
34
+ {% if page.url %}
35
+ <meta name="twitter:url" content="{{ page.url | absolute_url }}">
36
+ {% endif %}
37
+
38
+ {% if page.twitter.image %}
39
+ <meta name="twitter:image" content="{{ page.twitter.image }}">
40
+ {% else %}
41
+ <meta name="twitter:image" content="{{ /assets/favicon-96.png | absolute_url }}">
42
+ {% endif %}
43
+ {% endif %}
44
+
45
+ {% seo %}
46
+
47
+ {% include google-analytics.html %}
48
+ {% include add-this.html %}
49
+ </head>
@@ -0,0 +1,18 @@
1
+ <header class="header small">
2
+ <span class="title">
3
+ <a href="{{ '/' | relative_url }}">{{ site.title }} <small class=subtitle></small></a>
4
+ </span>
5
+ <nav class="header-nav">
6
+ <ul>
7
+ {% for nav in site.nav %}
8
+ <li>
9
+ {% if nav.url contains 'http://' or nav.url contains 'https://' %}
10
+ <a href="{{ nav.url }}">{{ nav.name }}</a>
11
+ {% else %}
12
+ <a href="{{ nav.url | relative_url }}">{{ nav.name }}</a>
13
+ {% endif %}
14
+ </li>
15
+ {% endfor %}
16
+ </ul>
17
+ </nav>
18
+ </header>
@@ -0,0 +1,21 @@
1
+ <header class="header">
2
+ {% include social-links.html %}
3
+ <span class="title">
4
+ <a href="{{ '/' | relative_url }}">{{ site.title }} <small class=subtitle></small></a>
5
+ </span>
6
+ <span class="description">{{ site.description }}</span>
7
+
8
+ <nav class="header-nav">
9
+ <ul>
10
+ {% for nav in site.nav %}
11
+ <li>
12
+ {% if nav.url contains 'http://' or nav.url contains 'https://' %}
13
+ <a href="{{ nav.url }}">{{ nav.name }}</a>
14
+ {% else %}
15
+ <a href="{{ nav.url | relative_url }}">{{ nav.name }}</a>
16
+ {% endif %}
17
+ </li>
18
+ {% endfor %}
19
+ </ul>
20
+ </nav>
21
+ </header>
@@ -0,0 +1,2 @@
1
+ <!-- Go to www.addthis.com/dashboard to customize your tools -->
2
+ <div class="addthis_inline_share_toolbox"></div>
@@ -0,0 +1,14 @@
1
+ <ul class="social-links">
2
+ {% if site.author.github %}
3
+ <li><a href="https://github.com/{{ site.author.github }}"><i class="fa fa-github fa-lg" aria-hidden="true"></i></a></li>
4
+ {% endif %}
5
+ {% if site.author.500px %}
6
+ <li><a href="https://500px.com/{{ site.author.500px }}"><i class="fa fa-500px fa-lg" aria-hidden="true"></i></a></li>
7
+ {% endif %}
8
+ {% if site.author.twitter %}
9
+ <li><a href="https://twitter.com/{{ site.author.twitter }}"><i class="fa fa-twitter fa-lg" aria-hidden="true"></i></a></li>
10
+ {% endif %}
11
+ {% if site.author.linkedin %}
12
+ <li><a href="https://www.linkedin.com/in/{{ site.author.linkedin }}"><i class="fa fa-linkedin fa-lg" aria-hidden="true"></i></a></li>
13
+ {% endif %}
14
+ </ul>
@@ -0,0 +1,5 @@
1
+ <ul class="tag-list">
2
+ {% for tag in include.tags %}
3
+ <li class="tag-list-item"><a class="tag" href="{{ 'tags/' | relative_url }}#{{ tag }}">{{ tag }}</a></li>
4
+ {% endfor %}
5
+ </ul>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ {% include head.html %}
4
+ <body>
5
+ <main class="container">
6
+ {% include header-small.html %}
7
+
8
+ <section class="content">
9
+ {{ content }}
10
+ </section>
11
+
12
+ {% include footer.html %}
13
+ </main>
14
+ </body>
15
+ </html>
@@ -0,0 +1,15 @@
1
+ <!DOCTYPE html>
2
+ <html lang="en">
3
+ {% include head.html %}
4
+ <body>
5
+ <main class="container">
6
+ {% include header.html %}
7
+
8
+ <section class="content">
9
+ {{ content }}
10
+ </section>
11
+
12
+ {% include footer.html %}
13
+ </main>
14
+ </body>
15
+ </html>
@@ -0,0 +1,7 @@
1
+ ---
2
+ layout: default-small
3
+ ---
4
+ <div class="page">
5
+ <h1 class="page-title">{{ page.title }}</h1>
6
+ {{ content }}
7
+ </div>
@@ -0,0 +1,28 @@
1
+ ---
2
+ layout: default-small
3
+ ---
4
+ <div class="post">
5
+ <h1 class="post-title">{{ page.title }}</h1>
6
+ <span class="post-date">
7
+ {{ page.date | date: "%B %-d, %Y" }}
8
+ </span>
9
+ <div class="post-tags">
10
+ {% include tag-list.html tags=page.tags %}
11
+ </div>
12
+
13
+ {{ content }}
14
+
15
+ <!-- Share -->
16
+ {% if page.share != false %}
17
+ <div class="post-share">
18
+ <hr>
19
+ {% include share.html %}
20
+ <hr>
21
+ </div>
22
+ {% endif %}
23
+
24
+ <!-- Disqus -->
25
+ {% if page.comments != false and site.disqus.id %}
26
+ {% include disqus.html %}
27
+ {% endif %}
28
+ </div>
@@ -0,0 +1,9 @@
1
+ @import
2
+ "jekyll-theme-nan/variables",
3
+ "jekyll-theme-nan/base",
4
+ "jekyll-theme-nan/highlight",
5
+ "jekyll-theme-nan/header",
6
+ "jekyll-theme-nan/footer",
7
+ "jekyll-theme-nan/posts",
8
+ "jekyll-theme-nan/pages"
9
+ ;
@@ -0,0 +1,36 @@
1
+ .container {
2
+ max-width: 80.0rem;
3
+ }
4
+
5
+ body {
6
+ color: $colour-black-light;
7
+ }
8
+
9
+ a {
10
+ color: $colour-black;
11
+
12
+ &:hover {
13
+ color: $colour-grey-dark;
14
+ }
15
+ }
16
+
17
+ small {
18
+ font-size: 90%;
19
+ }
20
+
21
+ figure.highlight {
22
+ border-left: 5px solid $colour-orange;
23
+
24
+ pre {
25
+ margin: 0;
26
+ border: 0;
27
+ }
28
+
29
+ table {
30
+ margin: 0;
31
+
32
+ td {
33
+ border: 0;
34
+ }
35
+ }
36
+ }
@@ -0,0 +1,20 @@
1
+ .footer {
2
+ text-align: center;
3
+ margin: 20px auto 50px auto;
4
+
5
+ small {
6
+ font-size: 70%;
7
+ }
8
+
9
+ .social-links {
10
+ list-style: none;
11
+ margin: 50px auto 30px auto;
12
+ padding: 0;
13
+
14
+ li {
15
+ display: inline;
16
+ margin-left: 20px;
17
+ margin-right: 20px;
18
+ }
19
+ }
20
+ }
@@ -0,0 +1,93 @@
1
+ header {
2
+ margin-top: 100px;
3
+ margin-bottom: 20px;
4
+
5
+ .title {
6
+ display: block;
7
+ font-weight: 300;
8
+ font-size: 6.0rem;
9
+ letter-spacing: -.1rem;
10
+ line-height: 1.2;
11
+ margin-bottom: 0;
12
+
13
+ .subtitle {
14
+ font-size: 50%;
15
+ }
16
+ }
17
+
18
+ .description {
19
+ display: block;
20
+ font-size: 22px;
21
+ font-weight: 300;
22
+ letter-spacing: -0.8px;
23
+ line-height: 29.7px;
24
+ margin-bottom: 10px;
25
+ }
26
+
27
+ .social-links {
28
+ display: block;
29
+ text-align: center;
30
+
31
+ li {
32
+ display: inline;
33
+ margin-left: 20px;
34
+ margin-right: 20px;
35
+ }
36
+
37
+ @media (min-width: 40.0rem) {
38
+ display: inline-block;
39
+ list-style: none;
40
+ margin: 0;
41
+ padding: 0;
42
+ float: right;
43
+ }
44
+ }
45
+
46
+ .header-nav {
47
+ ul {
48
+ list-style: none;
49
+ margin: 0;
50
+ padding: 0;
51
+
52
+ li {
53
+ display: inline;
54
+ text-transform: lowercase;
55
+ font-size: 2.2rem;
56
+ margin-right: 20px;
57
+ }
58
+ }
59
+ }
60
+
61
+ &.small {
62
+ position: static;
63
+
64
+ @media (min-width: 40.0rem) {
65
+ position: relative;
66
+ }
67
+
68
+ .title {
69
+ display: inline-block;
70
+ font-weight: 300;
71
+ font-size: 3.4rem;
72
+ letter-spacing: -.1rem;
73
+ line-height: 1.2;
74
+ margin-bottom: 0;
75
+
76
+ .subtitle {
77
+ font-size: 50%;
78
+ }
79
+ }
80
+
81
+ .header-nav {
82
+ font-size: 2.0rem;
83
+
84
+ @media (min-width: 40.0rem) {
85
+ position: absolute;
86
+ display: inline-block;
87
+ bottom: 0;
88
+ right: 0;
89
+ text-align: right;
90
+ }
91
+ }
92
+ }
93
+ }
@@ -0,0 +1,61 @@
1
+ .highlight .hll { background-color: #ffffcc }
2
+ .highlight .c { color: #999988; font-style: italic } /* Comment */
3
+ .highlight .err { color: #a61717; background-color: #e3d2d2 } /* Error */
4
+ .highlight .k { color: #000000; font-weight: bold } /* Keyword */
5
+ .highlight .o { color: #000000; font-weight: bold } /* Operator */
6
+ .highlight .cm { color: #999988; font-style: italic } /* Comment.Multiline */
7
+ .highlight .cp { color: #999999; font-weight: bold; font-style: italic } /* Comment.Preproc */
8
+ .highlight .c1 { color: #999988; font-style: italic } /* Comment.Single */
9
+ .highlight .cs { color: #999999; font-weight: bold; font-style: italic } /* Comment.Special */
10
+ .highlight .gd { color: #000000; background-color: #ffdddd } /* Generic.Deleted */
11
+ .highlight .ge { color: #000000; font-style: italic } /* Generic.Emph */
12
+ .highlight .gr { color: #aa0000 } /* Generic.Error */
13
+ .highlight .gh { color: #999999 } /* Generic.Heading */
14
+ .highlight .gi { color: #000000; background-color: #ddffdd } /* Generic.Inserted */
15
+ .highlight .go { color: #888888 } /* Generic.Output */
16
+ .highlight .gp { color: #555555 } /* Generic.Prompt */
17
+ .highlight .gs { font-weight: bold } /* Generic.Strong */
18
+ .highlight .gu { color: #aaaaaa } /* Generic.Subheading */
19
+ .highlight .gt { color: #aa0000 } /* Generic.Traceback */
20
+ .highlight .kc { color: #000000; font-weight: bold } /* Keyword.Constant */
21
+ .highlight .kd { color: #000000; font-weight: bold } /* Keyword.Declaration */
22
+ .highlight .kn { color: #000000; font-weight: bold } /* Keyword.Namespace */
23
+ .highlight .kp { color: #000000; font-weight: bold } /* Keyword.Pseudo */
24
+ .highlight .kr { color: #000000; font-weight: bold } /* Keyword.Reserved */
25
+ .highlight .kt { color: #445588; font-weight: bold } /* Keyword.Type */
26
+ .highlight .m { color: #009999 } /* Literal.Number */
27
+ .highlight .s { color: #d01040 } /* Literal.String */
28
+ .highlight .na { color: #008080 } /* Name.Attribute */
29
+ .highlight .nb { color: #0086B3 } /* Name.Builtin */
30
+ .highlight .nc { color: #445588; font-weight: bold } /* Name.Class */
31
+ .highlight .no { color: #008080 } /* Name.Constant */
32
+ .highlight .nd { color: #3c5d5d; font-weight: bold } /* Name.Decorator */
33
+ .highlight .ni { color: #800080 } /* Name.Entity */
34
+ .highlight .ne { color: #990000; font-weight: bold } /* Name.Exception */
35
+ .highlight .nf { color: #990000; font-weight: bold } /* Name.Function */
36
+ .highlight .nl { color: #990000; font-weight: bold } /* Name.Label */
37
+ .highlight .nn { color: #555555 } /* Name.Namespace */
38
+ .highlight .nt { color: #000080 } /* Name.Tag */
39
+ .highlight .nv { color: #008080 } /* Name.Variable */
40
+ .highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
41
+ .highlight .w { color: #bbbbbb } /* Text.Whitespace */
42
+ .highlight .mf { color: #009999 } /* Literal.Number.Float */
43
+ .highlight .mh { color: #009999 } /* Literal.Number.Hex */
44
+ .highlight .mi { color: #009999 } /* Literal.Number.Integer */
45
+ .highlight .mo { color: #009999 } /* Literal.Number.Oct */
46
+ .highlight .sb { color: #d01040 } /* Literal.String.Backtick */
47
+ .highlight .sc { color: #d01040 } /* Literal.String.Char */
48
+ .highlight .sd { color: #d01040 } /* Literal.String.Doc */
49
+ .highlight .s2 { color: #d01040 } /* Literal.String.Double */
50
+ .highlight .se { color: #d01040 } /* Literal.String.Escape */
51
+ .highlight .sh { color: #d01040 } /* Literal.String.Heredoc */
52
+ .highlight .si { color: #d01040 } /* Literal.String.Interpol */
53
+ .highlight .sx { color: #d01040 } /* Literal.String.Other */
54
+ .highlight .sr { color: #009926 } /* Literal.String.Regex */
55
+ .highlight .s1 { color: #d01040 } /* Literal.String.Single */
56
+ .highlight .ss { color: #990073 } /* Literal.String.Symbol */
57
+ .highlight .bp { color: #999999 } /* Name.Builtin.Pseudo */
58
+ .highlight .vc { color: #008080 } /* Name.Variable.Class */
59
+ .highlight .vg { color: #008080 } /* Name.Variable.Global */
60
+ .highlight .vi { color: #008080 } /* Name.Variable.Instance */
61
+ .highlight .il { color: #009999 } /* Literal.Number.Integer.Long */
File without changes
@@ -0,0 +1,105 @@
1
+ .post {
2
+ .post-title {
3
+ margin-bottom: 10px;
4
+ }
5
+
6
+ .post-tags {
7
+ .tag-list {
8
+ list-style: none;
9
+ margin: 10px 0 20px 0;
10
+ padding: 0;
11
+
12
+ .tag-list-item {
13
+ display: inline-block;
14
+ }
15
+ }
16
+ }
17
+ }
18
+
19
+ .post-list {
20
+ list-style: none;
21
+ margin: 0;
22
+ padding: 0;
23
+
24
+ .post-list-item {
25
+ margin-top: 15px;
26
+ margin-bottom: 15px;
27
+ padding-top: 30px;
28
+ padding-bottom: 30px;
29
+ border-bottom: 1px solid $colour-grey-light;
30
+
31
+ @media (min-width: 40.0rem) {
32
+ margin-top: 30px;
33
+ margin-bottom: 30px;
34
+ padding-top: 60px;
35
+ padding-bottom: 60px;
36
+ }
37
+
38
+ .post-list-item-header {
39
+ h1 {
40
+ margin-bottom: 5px;
41
+ font-size: 3.8rem;
42
+
43
+ @media (min-width: 40.0rem) {
44
+ display: inline-block;
45
+ }
46
+ }
47
+
48
+ .date {
49
+ @media (min-width: 40.0rem) {
50
+ float: right;
51
+ margin-left: 50px;
52
+ }
53
+ }
54
+ }
55
+
56
+ .post-list-item-body {
57
+ margin-top: 15px;
58
+ clear: both;
59
+ }
60
+
61
+ .post-list-item-footer {
62
+ text-align: right;
63
+
64
+ .read-time {
65
+ margin-right: 30px;
66
+ }
67
+
68
+ .tag-list {
69
+ list-style: none;
70
+ margin: 20px 0 0 0;
71
+ padding: 0;
72
+
73
+ .tag-list-item {
74
+ display: inline;
75
+ }
76
+ }
77
+ }
78
+ }
79
+ }
80
+
81
+ .post-pagination {
82
+ text-align: center;
83
+
84
+ .post-pagination-previous {
85
+ margin-right: 10px;
86
+
87
+ i {
88
+ margin-right: 10px;
89
+ }
90
+ }
91
+
92
+ .post-pagination-next {
93
+ margin-left: 10px;
94
+
95
+ i {
96
+ margin-left: 10px;
97
+ }
98
+ }
99
+ }
100
+
101
+ .tag {
102
+ background-color: $colour-white-dark;
103
+ padding: 5px;
104
+ border-radius: 3px;
105
+ }
@@ -0,0 +1,18 @@
1
+ /*--------------
2
+ colour
3
+ -------------- */
4
+ $colour-white-light: #FFFFFF;
5
+ $colour-white: #F8F8F9;
6
+ $colour-white-dark: #F1F2F3;
7
+
8
+ $colour-grey-light: #EDEEEF;
9
+ $colour-grey: #C0C3C5;
10
+ $colour-grey-dark: #9DA1A4;
11
+
12
+ $colour-black-light: #7D8186;
13
+ $colour-black: #6D7277;
14
+ $colour-black-dark: #4D5359;
15
+
16
+ $colour-green: #C3F73A;
17
+
18
+ $colour-orange: #FA7921;
metadata CHANGED
@@ -1,29 +1,43 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-theme-nan
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nan Zhong
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2018-03-22 00:00:00.000000000 Z
11
+ date: 2018-03-24 00:00:00.000000000 Z
12
12
  dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: rake
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '10.0'
20
+ type: :development
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '10.0'
13
27
  - !ruby/object:Gem::Dependency
14
28
  name: jekyll
15
29
  requirement: !ruby/object:Gem::Requirement
16
30
  requirements:
17
31
  - - "~>"
18
32
  - !ruby/object:Gem::Version
19
- version: 3.7.2
33
+ version: 3.7.3
20
34
  type: :development
21
35
  prerelease: false
22
36
  version_requirements: !ruby/object:Gem::Requirement
23
37
  requirements:
24
38
  - - "~>"
25
39
  - !ruby/object:Gem::Version
26
- version: 3.7.2
40
+ version: 3.7.3
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: jekyll-seo-tag
29
43
  requirement: !ruby/object:Gem::Requirement
@@ -58,7 +72,31 @@ email:
58
72
  executables: []
59
73
  extensions: []
60
74
  extra_rdoc_files: []
61
- files: []
75
+ files:
76
+ - LICENSE.txt
77
+ - README.md
78
+ - _includes/add-this.html
79
+ - _includes/disqus.html
80
+ - _includes/footer.html
81
+ - _includes/google-analytics.html
82
+ - _includes/head.html
83
+ - _includes/header-small.html
84
+ - _includes/header.html
85
+ - _includes/share.html
86
+ - _includes/social-links.html
87
+ - _includes/tag-list.html
88
+ - _layouts/default-small.html
89
+ - _layouts/default.html
90
+ - _layouts/page.html
91
+ - _layouts/post.html
92
+ - _sass/jekyll-theme-nan.scss
93
+ - _sass/jekyll-theme-nan/_base.scss
94
+ - _sass/jekyll-theme-nan/_footer.scss
95
+ - _sass/jekyll-theme-nan/_header.scss
96
+ - _sass/jekyll-theme-nan/_highlight.scss
97
+ - _sass/jekyll-theme-nan/_pages.scss
98
+ - _sass/jekyll-theme-nan/_posts.scss
99
+ - _sass/jekyll-theme-nan/_variables.scss
62
100
  homepage: https://github.com/nanzhong/jekyll-theme-nan
63
101
  licenses:
64
102
  - MIT
@@ -79,7 +117,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
79
117
  version: '0'
80
118
  requirements: []
81
119
  rubyforge_project:
82
- rubygems_version: 2.6.13
120
+ rubygems_version: 2.7.3
83
121
  signing_key:
84
122
  specification_version: 4
85
123
  summary: Jekyll theme that is used by https://notanumber.io.