kindee 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 +7 -0
- data/LICENSE.txt +21 -0
- data/README.md +48 -0
- data/_includes/footer.html +20 -0
- data/_includes/head.html +27 -0
- data/_includes/header.html +22 -0
- data/_layouts/default.html +22 -0
- data/_layouts/home.html +21 -0
- data/_layouts/page.html +14 -0
- data/_layouts/post.html +21 -0
- data/_sass/kindee.scss +52 -0
- data/_sass/kindee/_base.scss +171 -0
- data/_sass/kindee/_highlight.scss +65 -0
- data/_sass/kindee/_layout.scss +217 -0
- data/assets/css/main.scss +45 -0
- metadata +100 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 0a1cef3d5a39507c28a206073af3f384a26e7a93
|
4
|
+
data.tar.gz: b6b4d4a9412652e0af54fbcf771a421b865301bd
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 5763bcd2b140f8a36b1c2faccc09f261d6b83400c016de9b711080ce4c78afd0658f29d32366272a69ff3f8e9b4b8cf3206730a8fb7c57df93b3b528e1d22c32
|
7
|
+
data.tar.gz: 9328895591348f35a38d32ccc4fbcc52b769ab708602e3590385da004b019b2c3a2ee1a4519cb1b7aad1cd19658269757cbe80ce194932f0dcd51b207c00b170
|
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2017 qinchuan
|
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.
|
data/README.md
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
# kindee
|
2
|
+
|
3
|
+
Kindee is a flexiable theme for jekyll.
|
4
|
+
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your Jekyll site's `Gemfile`:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem "kindee"
|
12
|
+
```
|
13
|
+
|
14
|
+
And add this line to your Jekyll site's `_config.yml`:
|
15
|
+
|
16
|
+
```yaml
|
17
|
+
theme: kindee
|
18
|
+
```
|
19
|
+
|
20
|
+
And then execute:
|
21
|
+
|
22
|
+
$ bundle
|
23
|
+
|
24
|
+
Or install it yourself as:
|
25
|
+
|
26
|
+
$ gem install kindee
|
27
|
+
|
28
|
+
## Usage
|
29
|
+
|
30
|
+
TODO: Write usage instructions here. Describe your available layouts, includes, sass and/or assets.
|
31
|
+
|
32
|
+
## Contributing
|
33
|
+
|
34
|
+
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.
|
35
|
+
|
36
|
+
## Development
|
37
|
+
|
38
|
+
To set up your environment to develop this theme, run `bundle install`.
|
39
|
+
|
40
|
+
Your theme is setup just like a normal Jekyll 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.
|
41
|
+
|
42
|
+
When your theme is released, only the files in `_layouts`, `_includes`, `_sass` and `assets` tracked with Git will be bundled.
|
43
|
+
To add a custom directory to your theme-gem, please edit the regexp in `kindee.gemspec` accordingly.
|
44
|
+
|
45
|
+
## License
|
46
|
+
|
47
|
+
The theme is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).
|
48
|
+
|
@@ -0,0 +1,20 @@
|
|
1
|
+
<footer class="site-footer">
|
2
|
+
<div class="wrapper">
|
3
|
+
<div class="copyright">
|
4
|
+
©{{ site.time | date: "%Y"}} {{ site.author }}
|
5
|
+
</div>
|
6
|
+
</div>
|
7
|
+
</footer>
|
8
|
+
|
9
|
+
{% if site.GA.tracking_id %}
|
10
|
+
<script>
|
11
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
12
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
13
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
14
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
15
|
+
|
16
|
+
ga('create', '{{site.GA.tracking_id}}', 'auto');
|
17
|
+
ga('send', 'pageview');
|
18
|
+
|
19
|
+
</script>
|
20
|
+
{% endif %}
|
data/_includes/head.html
ADDED
@@ -0,0 +1,27 @@
|
|
1
|
+
<head>
|
2
|
+
<meta charset="utf-8">
|
3
|
+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
4
|
+
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
|
5
|
+
|
6
|
+
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
7
|
+
<meta name="description"
|
8
|
+
content="{% if page.excerpt %}{{ page.excerpt | strip_html | strip_newlines | truncate: 160 }}{% else %}{{ site.description }}{% endif %}">
|
9
|
+
|
10
|
+
<!-- Set render engine for 360 browser -->
|
11
|
+
<meta name="renderer" content="webkit">
|
12
|
+
|
13
|
+
<!-- No Baidu Siteapp-->
|
14
|
+
<meta http-equiv="Cache-Control" content="no-siteapp"/>
|
15
|
+
|
16
|
+
<!-- 标题栏icon -->
|
17
|
+
<link rel="icon" type="image/png" href="{{ '/favicon.ico' }}">
|
18
|
+
<!-- 收藏夹icon -->
|
19
|
+
<link rel="shortcut icon" type="image/x-icon" href="{{ '/favicon.ico' }}">
|
20
|
+
<link rel="bookmark" type="image/x-icon" href="{{ '/favicon.ico' }}">
|
21
|
+
|
22
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
|
23
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title }}"
|
24
|
+
href="{{ '/feed.xml' | prepend: site.baseurl | prepend: site.url }}">
|
25
|
+
|
26
|
+
<link rel="stylesheet" href="{{ '/assets/css/main.css' | prepend: site.baseurl }}">
|
27
|
+
</head>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<header class="site-header">
|
2
|
+
|
3
|
+
<div class="wrapper">
|
4
|
+
|
5
|
+
<div>
|
6
|
+
<a class="site-title" href="{{ site.baseurl }}/">{{ site.title }}</a>
|
7
|
+
</div>
|
8
|
+
|
9
|
+
|
10
|
+
<nav class="nav">
|
11
|
+
|
12
|
+
<div class="trigger">
|
13
|
+
<ul class="nav-list">
|
14
|
+
<li class="nav-item"><a href="{{ '/about.html' | prepend: site.baseurl }}">About</a></li>
|
15
|
+
<li class="nav-item"><a href="{{ '/feed.xml' | prepend: site.baseurl }}">RSS</a></li>
|
16
|
+
</ul>
|
17
|
+
</div>
|
18
|
+
</nav>
|
19
|
+
|
20
|
+
</div>
|
21
|
+
|
22
|
+
</header>
|
@@ -0,0 +1,22 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
|
4
|
+
{% include head.html %}
|
5
|
+
|
6
|
+
<body>
|
7
|
+
|
8
|
+
{% include header.html %}
|
9
|
+
|
10
|
+
<!-- Main content-->
|
11
|
+
<div class="site-body">
|
12
|
+
<div class="wrapper">
|
13
|
+
{{ content }}
|
14
|
+
|
15
|
+
</div>
|
16
|
+
</div>
|
17
|
+
|
18
|
+
{% include footer.html %}
|
19
|
+
|
20
|
+
</body>
|
21
|
+
|
22
|
+
</html>
|
data/_layouts/home.html
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="home page">
|
5
|
+
|
6
|
+
<div class="page-header">
|
7
|
+
<!--<h1 class="page-title">POSTS</h1>-->
|
8
|
+
</div>
|
9
|
+
|
10
|
+
<div class="page-content text-center">
|
11
|
+
<ul class="post-list">
|
12
|
+
{% for post in site.posts %}
|
13
|
+
<li>
|
14
|
+
{{ post.date | date: "%Y-%m-%d" }} » <a class="post-link"
|
15
|
+
href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a>
|
16
|
+
</li>
|
17
|
+
{% endfor %}
|
18
|
+
</ul>
|
19
|
+
</div>
|
20
|
+
|
21
|
+
</article>
|
data/_layouts/page.html
ADDED
data/_layouts/post.html
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
<article class="post" itemscope itemtype="http://schema.org/BlogPosting">
|
5
|
+
|
6
|
+
|
7
|
+
<header class="post-header">
|
8
|
+
<h1 class="post-title" itemprop="name headline">{{ page.title }}</h1>
|
9
|
+
|
10
|
+
<div class="post-meta">
|
11
|
+
<time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">
|
12
|
+
{{ page.date | date: "%b %-d, %Y" }}
|
13
|
+
</time>
|
14
|
+
</div>
|
15
|
+
</header>
|
16
|
+
|
17
|
+
<div class="post-content" itemprop="articleBody">
|
18
|
+
{{ content }}
|
19
|
+
</div>
|
20
|
+
|
21
|
+
</article>
|
data/_sass/kindee.scss
ADDED
@@ -0,0 +1,52 @@
|
|
1
|
+
@charset "utf-8";
|
2
|
+
|
3
|
+
/* Material Design Styles*/
|
4
|
+
html, body {
|
5
|
+
font-family: 'Roboto', 'Helvetica', sans-serif;
|
6
|
+
margin: 0;
|
7
|
+
padding: 0;
|
8
|
+
}
|
9
|
+
|
10
|
+
.mds {
|
11
|
+
#site-post-list, #site-post.mdl-card {
|
12
|
+
height: 100%;
|
13
|
+
padding-top: 20px;
|
14
|
+
}
|
15
|
+
|
16
|
+
#site-post-list {
|
17
|
+
a.site-post-title {
|
18
|
+
text-decoration: none;
|
19
|
+
&:hover {
|
20
|
+
text-decoration: underline;
|
21
|
+
}
|
22
|
+
}
|
23
|
+
}
|
24
|
+
}
|
25
|
+
|
26
|
+
pre, code {
|
27
|
+
font-size: 12px;
|
28
|
+
font-family: "Monaco", "monospace", "Consolas", "Courier New";
|
29
|
+
border: 1px solid $grey-color-light;
|
30
|
+
border-radius: 3px;
|
31
|
+
}
|
32
|
+
|
33
|
+
code {
|
34
|
+
padding: 1px 5px;
|
35
|
+
&.highlighter-rouge {
|
36
|
+
color: #dd0055;
|
37
|
+
}
|
38
|
+
}
|
39
|
+
|
40
|
+
pre {
|
41
|
+
padding: 8px 12px;
|
42
|
+
overflow-x: auto;
|
43
|
+
> code {
|
44
|
+
border: 0;
|
45
|
+
padding-right: 0;
|
46
|
+
padding-left: 0;
|
47
|
+
}
|
48
|
+
}
|
49
|
+
|
50
|
+
@import "kindee/base";
|
51
|
+
@import "kindee/layout";
|
52
|
+
@import "kindee/highlight";
|
@@ -0,0 +1,171 @@
|
|
1
|
+
/**
|
2
|
+
* Reset some basic elements
|
3
|
+
*/
|
4
|
+
body, h1, h2, h3, h4, h5, h6,
|
5
|
+
p, blockquote, pre, hr,
|
6
|
+
dl, dd, ol, ul, figure {
|
7
|
+
margin: 0;
|
8
|
+
padding: 0;
|
9
|
+
}
|
10
|
+
|
11
|
+
/**
|
12
|
+
* Basic styling
|
13
|
+
*/
|
14
|
+
body {
|
15
|
+
font: $base-font-weight #{$base-font-size}/#{$base-line-height} $base-font-family;
|
16
|
+
color: $text-color;
|
17
|
+
background-color: $background-color;
|
18
|
+
-webkit-text-size-adjust: 100%;
|
19
|
+
-webkit-font-feature-settings: "kern" 1;
|
20
|
+
-moz-font-feature-settings: "kern" 1;
|
21
|
+
-o-font-feature-settings: "kern" 1;
|
22
|
+
font-feature-settings: "kern" 1;
|
23
|
+
font-kerning: normal;
|
24
|
+
}
|
25
|
+
|
26
|
+
/**
|
27
|
+
* Set `margin-bottom` to maintain vertical rhythm
|
28
|
+
*/
|
29
|
+
h1, h2, h3, h4, h5, h6,
|
30
|
+
p, blockquote, pre,
|
31
|
+
ul, ol, dl, figure,
|
32
|
+
%vertical-rhythm {
|
33
|
+
margin-bottom: $spacing-unit / 2;
|
34
|
+
}
|
35
|
+
|
36
|
+
/**
|
37
|
+
* Images
|
38
|
+
*/
|
39
|
+
img {
|
40
|
+
max-width: 100%;
|
41
|
+
vertical-align: middle;
|
42
|
+
}
|
43
|
+
|
44
|
+
/**
|
45
|
+
* Figures
|
46
|
+
*/
|
47
|
+
figure > img {
|
48
|
+
display: block;
|
49
|
+
}
|
50
|
+
|
51
|
+
figcaption {
|
52
|
+
font-size: $small-font-size;
|
53
|
+
}
|
54
|
+
|
55
|
+
/**
|
56
|
+
* Headings
|
57
|
+
*/
|
58
|
+
h1, h2, h3, h4, h5, h6 {
|
59
|
+
font-weight: $base-font-weight;
|
60
|
+
}
|
61
|
+
|
62
|
+
/**
|
63
|
+
* Links
|
64
|
+
*/
|
65
|
+
a {
|
66
|
+
color: $brand-color;
|
67
|
+
text-decoration: none;
|
68
|
+
|
69
|
+
&:visited {
|
70
|
+
color: darken($brand-color, 15%);
|
71
|
+
}
|
72
|
+
|
73
|
+
&:hover {
|
74
|
+
color: $text-color;
|
75
|
+
text-decoration: none;
|
76
|
+
}
|
77
|
+
}
|
78
|
+
|
79
|
+
/**
|
80
|
+
* Blockquotes
|
81
|
+
*/
|
82
|
+
blockquote {
|
83
|
+
color: $grey-color;
|
84
|
+
border-left: 4px solid $grey-color-light;
|
85
|
+
padding-left: $spacing-unit / 2;
|
86
|
+
font-size: 18px;
|
87
|
+
letter-spacing: -1px;
|
88
|
+
font-style: italic;
|
89
|
+
|
90
|
+
> :last-child {
|
91
|
+
margin-bottom: 0;
|
92
|
+
}
|
93
|
+
}
|
94
|
+
|
95
|
+
/**
|
96
|
+
* Code formatting
|
97
|
+
*/
|
98
|
+
pre,
|
99
|
+
code {
|
100
|
+
font-size: 12px;
|
101
|
+
font-family: "Monaco", "monospace", "Consolas", "Courier New";
|
102
|
+
border: 1px solid $grey-color-light;
|
103
|
+
border-radius: 3px;
|
104
|
+
}
|
105
|
+
|
106
|
+
code {
|
107
|
+
padding: 1px 5px;
|
108
|
+
&.highlighter-rouge {
|
109
|
+
color: #dd0055;
|
110
|
+
}
|
111
|
+
}
|
112
|
+
|
113
|
+
pre {
|
114
|
+
padding: 8px 12px;
|
115
|
+
overflow-x: auto;
|
116
|
+
> code {
|
117
|
+
border: 0;
|
118
|
+
padding-right: 0;
|
119
|
+
padding-left: 0;
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
/**
|
124
|
+
* Wrapper
|
125
|
+
*/
|
126
|
+
.wrapper {
|
127
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit} * 2));
|
128
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit} * 2));
|
129
|
+
margin-right: auto;
|
130
|
+
margin-left: auto;
|
131
|
+
padding-right: $spacing-unit;
|
132
|
+
padding-left: $spacing-unit;
|
133
|
+
@extend %clearfix;
|
134
|
+
|
135
|
+
@include media-query($on-laptop) {
|
136
|
+
max-width: -webkit-calc(#{$content-width} - (#{$spacing-unit}));
|
137
|
+
max-width: calc(#{$content-width} - (#{$spacing-unit}));
|
138
|
+
padding-right: $spacing-unit / 2;
|
139
|
+
padding-left: $spacing-unit / 2;
|
140
|
+
}
|
141
|
+
}
|
142
|
+
|
143
|
+
/**
|
144
|
+
* Clearfix
|
145
|
+
*/
|
146
|
+
%clearfix {
|
147
|
+
|
148
|
+
&:after {
|
149
|
+
content: "";
|
150
|
+
display: table;
|
151
|
+
clear: both;
|
152
|
+
}
|
153
|
+
}
|
154
|
+
|
155
|
+
/**
|
156
|
+
* Icons
|
157
|
+
*/
|
158
|
+
.icon {
|
159
|
+
|
160
|
+
> svg {
|
161
|
+
display: inline-block;
|
162
|
+
width: 16px;
|
163
|
+
height: 16px;
|
164
|
+
vertical-align: middle;
|
165
|
+
|
166
|
+
path {
|
167
|
+
fill: $grey-color;
|
168
|
+
}
|
169
|
+
}
|
170
|
+
}
|
171
|
+
|
@@ -0,0 +1,65 @@
|
|
1
|
+
.highlight .hll { background-color: #ffffcc }
|
2
|
+
.highlight { background: #f0f3f3; }
|
3
|
+
.highlight .c { color: #0099FF; font-style: italic } /* Comment */
|
4
|
+
.highlight .err { color: #AA0000; background-color: #FFAAAA } /* Error */
|
5
|
+
.highlight .k { color: #006699; font-weight: bold } /* Keyword */
|
6
|
+
.highlight .o { color: #555555 } /* Operator */
|
7
|
+
.highlight .ch { color: #0099FF; font-style: italic } /* Comment.Hashbang */
|
8
|
+
.highlight .cm { color: #0099FF; font-style: italic } /* Comment.Multiline */
|
9
|
+
.highlight .cp { color: #009999 } /* Comment.Preproc */
|
10
|
+
.highlight .cpf { color: #0099FF; font-style: italic } /* Comment.PreprocFile */
|
11
|
+
.highlight .c1 { color: #0099FF; font-style: italic } /* Comment.Single */
|
12
|
+
.highlight .cs { color: #0099FF; font-weight: bold; font-style: italic } /* Comment.Special */
|
13
|
+
.highlight .gd { background-color: #FFCCCC; border: 1px solid #CC0000 } /* Generic.Deleted */
|
14
|
+
.highlight .ge { font-style: italic } /* Generic.Emph */
|
15
|
+
.highlight .gr { color: #FF0000 } /* Generic.Error */
|
16
|
+
.highlight .gh { color: #003300; font-weight: bold } /* Generic.Heading */
|
17
|
+
.highlight .gi { background-color: #CCFFCC; border: 1px solid #00CC00 } /* Generic.Inserted */
|
18
|
+
.highlight .go { color: #AAAAAA } /* Generic.Output */
|
19
|
+
.highlight .gp { color: #000099; font-weight: bold } /* Generic.Prompt */
|
20
|
+
.highlight .gs { font-weight: bold } /* Generic.Strong */
|
21
|
+
.highlight .gu { color: #003300; font-weight: bold } /* Generic.Subheading */
|
22
|
+
.highlight .gt { color: #99CC66 } /* Generic.Traceback */
|
23
|
+
.highlight .kc { color: #006699; font-weight: bold } /* Keyword.Constant */
|
24
|
+
.highlight .kd { color: #006699; font-weight: bold } /* Keyword.Declaration */
|
25
|
+
.highlight .kn { color: #006699; font-weight: bold } /* Keyword.Namespace */
|
26
|
+
.highlight .kp { color: #006699 } /* Keyword.Pseudo */
|
27
|
+
.highlight .kr { color: #006699; font-weight: bold } /* Keyword.Reserved */
|
28
|
+
.highlight .kt { color: #007788; font-weight: bold } /* Keyword.Type */
|
29
|
+
.highlight .m { color: #FF6600 } /* Literal.Number */
|
30
|
+
.highlight .s { color: #CC3300 } /* Literal.String */
|
31
|
+
.highlight .na { color: #330099 } /* Name.Attribute */
|
32
|
+
.highlight .nb { color: #336666 } /* Name.Builtin */
|
33
|
+
.highlight .nc { color: #00AA88; font-weight: bold } /* Name.Class */
|
34
|
+
.highlight .no { color: #336600 } /* Name.Constant */
|
35
|
+
.highlight .nd { color: #9999FF } /* Name.Decorator */
|
36
|
+
.highlight .ni { color: #999999; font-weight: bold } /* Name.Entity */
|
37
|
+
.highlight .ne { color: #CC0000; font-weight: bold } /* Name.Exception */
|
38
|
+
.highlight .nf { color: #CC00FF } /* Name.Function */
|
39
|
+
.highlight .nl { color: #9999FF } /* Name.Label */
|
40
|
+
.highlight .nn { color: #00CCFF; font-weight: bold } /* Name.Namespace */
|
41
|
+
.highlight .nt { color: #330099; font-weight: bold } /* Name.Tag */
|
42
|
+
.highlight .nv { color: #003333 } /* Name.Variable */
|
43
|
+
.highlight .ow { color: #000000; font-weight: bold } /* Operator.Word */
|
44
|
+
.highlight .w { color: #bbbbbb } /* Text.Whitespace */
|
45
|
+
.highlight .mb { color: #FF6600 } /* Literal.Number.Bin */
|
46
|
+
.highlight .mf { color: #FF6600 } /* Literal.Number.Float */
|
47
|
+
.highlight .mh { color: #FF6600 } /* Literal.Number.Hex */
|
48
|
+
.highlight .mi { color: #FF6600 } /* Literal.Number.Integer */
|
49
|
+
.highlight .mo { color: #FF6600 } /* Literal.Number.Oct */
|
50
|
+
.highlight .sb { color: #CC3300 } /* Literal.String.Backtick */
|
51
|
+
.highlight .sc { color: #CC3300 } /* Literal.String.Char */
|
52
|
+
.highlight .sd { color: #CC3300; font-style: italic } /* Literal.String.Doc */
|
53
|
+
.highlight .s2 { color: #CC3300 } /* Literal.String.Double */
|
54
|
+
.highlight .se { color: #CC3300; font-weight: bold } /* Literal.String.Escape */
|
55
|
+
.highlight .sh { color: #CC3300 } /* Literal.String.Heredoc */
|
56
|
+
.highlight .si { color: #AA0000 } /* Literal.String.Interpol */
|
57
|
+
.highlight .sx { color: #CC3300 } /* Literal.String.Other */
|
58
|
+
.highlight .sr { color: #33AAAA } /* Literal.String.Regex */
|
59
|
+
.highlight .s1 { color: #CC3300 } /* Literal.String.Single */
|
60
|
+
.highlight .ss { color: #FFCC33 } /* Literal.String.Symbol */
|
61
|
+
.highlight .bp { color: #336666 } /* Name.Builtin.Pseudo */
|
62
|
+
.highlight .vc { color: #003333 } /* Name.Variable.Class */
|
63
|
+
.highlight .vg { color: #003333 } /* Name.Variable.Global */
|
64
|
+
.highlight .vi { color: #003333 } /* Name.Variable.Instance */
|
65
|
+
.highlight .il { color: #FF6600 } /* Literal.Number.Integer.Long */
|
@@ -0,0 +1,217 @@
|
|
1
|
+
/**
|
2
|
+
* Site header
|
3
|
+
*/
|
4
|
+
.site-header {
|
5
|
+
border-top: 5px solid $grey-color-dark;
|
6
|
+
border-bottom: 1px solid $grey-color-light;
|
7
|
+
//min-height: 56px;
|
8
|
+
|
9
|
+
// Positioning context for the mobile navigation icon
|
10
|
+
position: fixed;
|
11
|
+
width: 100%;
|
12
|
+
background-color: #fff;
|
13
|
+
|
14
|
+
.site-title {
|
15
|
+
font-size: 26px;
|
16
|
+
font-weight: 300;
|
17
|
+
line-height: 56px;
|
18
|
+
letter-spacing: -1px;
|
19
|
+
margin-bottom: 0;
|
20
|
+
float: left;
|
21
|
+
|
22
|
+
color: $grey-color-dark;
|
23
|
+
|
24
|
+
&:hover {
|
25
|
+
color: $grey-color;
|
26
|
+
}
|
27
|
+
}
|
28
|
+
|
29
|
+
.nav {
|
30
|
+
float: right;
|
31
|
+
line-height: 56px;
|
32
|
+
font-size: 16px;
|
33
|
+
|
34
|
+
.nav-icon {
|
35
|
+
display: none;
|
36
|
+
}
|
37
|
+
|
38
|
+
ul {
|
39
|
+
margin: 0;
|
40
|
+
padding: 0;
|
41
|
+
list-style: none;
|
42
|
+
li {
|
43
|
+
display: inline;
|
44
|
+
}
|
45
|
+
}
|
46
|
+
|
47
|
+
.nav-list {
|
48
|
+
line-height: inherit;
|
49
|
+
}
|
50
|
+
|
51
|
+
.nav-item {
|
52
|
+
color: $text-color;
|
53
|
+
// Gaps between nav items, but not on the last one
|
54
|
+
&:not(:last-child) {
|
55
|
+
margin-right: 10px;
|
56
|
+
}
|
57
|
+
}
|
58
|
+
|
59
|
+
@include media-query($on-palm) {
|
60
|
+
position: absolute;
|
61
|
+
top: 9px;
|
62
|
+
right: $spacing-unit / 2;
|
63
|
+
background-color: $background-color;
|
64
|
+
border: 1px solid $grey-color-light;
|
65
|
+
border-radius: 5px;
|
66
|
+
text-align: right;
|
67
|
+
|
68
|
+
.nav-icon {
|
69
|
+
display: block;
|
70
|
+
float: right;
|
71
|
+
width: 36px;
|
72
|
+
height: 26px;
|
73
|
+
line-height: 0;
|
74
|
+
padding-top: 10px;
|
75
|
+
text-align: center;
|
76
|
+
|
77
|
+
> svg {
|
78
|
+
width: 18px;
|
79
|
+
height: 15px;
|
80
|
+
|
81
|
+
path {
|
82
|
+
fill: $grey-color-dark;
|
83
|
+
}
|
84
|
+
}
|
85
|
+
}
|
86
|
+
|
87
|
+
.trigger {
|
88
|
+
clear: both;
|
89
|
+
display: none;
|
90
|
+
}
|
91
|
+
|
92
|
+
&:hover .trigger {
|
93
|
+
display: block;
|
94
|
+
padding-bottom: 5px;
|
95
|
+
}
|
96
|
+
|
97
|
+
ul {
|
98
|
+
margin: 0;
|
99
|
+
padding: 0;
|
100
|
+
list-style: none;
|
101
|
+
li {
|
102
|
+
display: block;
|
103
|
+
}
|
104
|
+
}
|
105
|
+
|
106
|
+
.nav-list {
|
107
|
+
line-height: inherit;
|
108
|
+
}
|
109
|
+
|
110
|
+
.nav-item {
|
111
|
+
display: block;
|
112
|
+
padding: 5px 10px;
|
113
|
+
|
114
|
+
&:not(:last-child) {
|
115
|
+
margin-right: 0;
|
116
|
+
}
|
117
|
+
margin-left: 20px;
|
118
|
+
}
|
119
|
+
}
|
120
|
+
}
|
121
|
+
}
|
122
|
+
|
123
|
+
.site-body {
|
124
|
+
min-height: 500px;
|
125
|
+
padding-top: 62px;
|
126
|
+
}
|
127
|
+
|
128
|
+
/**
|
129
|
+
* Site footer
|
130
|
+
*/
|
131
|
+
.site-footer {
|
132
|
+
border-top: 1px solid $grey-color-light;
|
133
|
+
padding: $spacing-unit 0;
|
134
|
+
|
135
|
+
.copyright {
|
136
|
+
text-align: center;
|
137
|
+
}
|
138
|
+
}
|
139
|
+
|
140
|
+
/**
|
141
|
+
* Page
|
142
|
+
*/
|
143
|
+
.page {
|
144
|
+
.page-header {
|
145
|
+
margin: $spacing-unit 0;
|
146
|
+
.page-title {
|
147
|
+
font-size: 32px;
|
148
|
+
}
|
149
|
+
}
|
150
|
+
.page-content {
|
151
|
+
margin-bottom: $spacing-unit;
|
152
|
+
|
153
|
+
.post-list {
|
154
|
+
margin-left: 0;
|
155
|
+
list-style: none;
|
156
|
+
}
|
157
|
+
}
|
158
|
+
}
|
159
|
+
|
160
|
+
/**
|
161
|
+
* Post
|
162
|
+
*/
|
163
|
+
.post {
|
164
|
+
.post-header {
|
165
|
+
margin: $spacing-unit 0;
|
166
|
+
.post-title {
|
167
|
+
font-size: 28px;
|
168
|
+
letter-spacing: -1px;
|
169
|
+
line-height: 1;
|
170
|
+
display: inline-block;
|
171
|
+
|
172
|
+
@include media-query($on-laptop) {
|
173
|
+
font-size: 26px;
|
174
|
+
}
|
175
|
+
}
|
176
|
+
.post-meta {
|
177
|
+
margin-left: 5px;
|
178
|
+
font-size: $small-font-size;
|
179
|
+
color: $grey-color;
|
180
|
+
display: inline-block;
|
181
|
+
}
|
182
|
+
}
|
183
|
+
|
184
|
+
.post-content {
|
185
|
+
margin-bottom: $spacing-unit;
|
186
|
+
|
187
|
+
h2 {
|
188
|
+
font-size: 26px;
|
189
|
+
|
190
|
+
@include media-query($on-laptop) {
|
191
|
+
font-size: 22px;
|
192
|
+
}
|
193
|
+
}
|
194
|
+
|
195
|
+
h3 {
|
196
|
+
font-size: 24px;
|
197
|
+
|
198
|
+
@include media-query($on-laptop) {
|
199
|
+
font-size: 20px;
|
200
|
+
}
|
201
|
+
}
|
202
|
+
|
203
|
+
h4 {
|
204
|
+
font-size: 22px;
|
205
|
+
|
206
|
+
@include media-query($on-laptop) {
|
207
|
+
font-size: 18px;
|
208
|
+
}
|
209
|
+
}
|
210
|
+
|
211
|
+
}
|
212
|
+
}
|
213
|
+
|
214
|
+
.comments {
|
215
|
+
border-top: 1px solid $grey-color-light;
|
216
|
+
padding: $spacing-unit 0;
|
217
|
+
}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
---
|
2
|
+
# "Only the main Sass file needs front matter (the dashes are enough)"
|
3
|
+
---
|
4
|
+
|
5
|
+
@charset "utf-8";
|
6
|
+
|
7
|
+
// Our variables
|
8
|
+
$base-font-family: "Monaco", "Consolas", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
9
|
+
|
10
|
+
$base-font-size: 14px;
|
11
|
+
$base-font-weight: 400;
|
12
|
+
$small-font-size: $base-font-size * 0.875;
|
13
|
+
$base-line-height: 1.5;
|
14
|
+
|
15
|
+
$spacing-unit: 30px;
|
16
|
+
|
17
|
+
$text-color: #111;
|
18
|
+
$background-color: #fdfdfd;
|
19
|
+
$brand-color: #2a7ae2;
|
20
|
+
|
21
|
+
$grey-color: #828282;
|
22
|
+
$grey-color-light: lighten($grey-color, 40%);
|
23
|
+
$grey-color-dark: darken($grey-color, 25%);
|
24
|
+
|
25
|
+
// Width of the content area
|
26
|
+
$content-width: 1000px;
|
27
|
+
|
28
|
+
$on-palm: 800px;
|
29
|
+
$on-laptop: 1000px;
|
30
|
+
|
31
|
+
// Use media queries like this:
|
32
|
+
// @include media-query($on-palm) {
|
33
|
+
// .wrapper {
|
34
|
+
// padding-right: $spacing-unit / 2;
|
35
|
+
// padding-left: $spacing-unit / 2;
|
36
|
+
// }
|
37
|
+
// }
|
38
|
+
@mixin media-query($device) {
|
39
|
+
@media screen and (max-width: $device) {
|
40
|
+
@content;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
|
44
|
+
// Import partials from `sass_dir` (defaults to `_sass`)
|
45
|
+
@import "kindee";
|
metadata
ADDED
@@ -0,0 +1,100 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: kindee
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- qinchuan
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-11-29 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: jekyll
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '3.6'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.6'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: bundler
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.12'
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.12'
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: rake
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: '10.0'
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: '10.0'
|
55
|
+
description:
|
56
|
+
email:
|
57
|
+
- silymer@163.com
|
58
|
+
executables: []
|
59
|
+
extensions: []
|
60
|
+
extra_rdoc_files: []
|
61
|
+
files:
|
62
|
+
- LICENSE.txt
|
63
|
+
- README.md
|
64
|
+
- _includes/footer.html
|
65
|
+
- _includes/head.html
|
66
|
+
- _includes/header.html
|
67
|
+
- _layouts/default.html
|
68
|
+
- _layouts/home.html
|
69
|
+
- _layouts/page.html
|
70
|
+
- _layouts/post.html
|
71
|
+
- _sass/kindee.scss
|
72
|
+
- _sass/kindee/_base.scss
|
73
|
+
- _sass/kindee/_highlight.scss
|
74
|
+
- _sass/kindee/_layout.scss
|
75
|
+
- assets/css/main.scss
|
76
|
+
homepage: https://github.com/hatakawas/kindee.git
|
77
|
+
licenses:
|
78
|
+
- MIT
|
79
|
+
metadata: {}
|
80
|
+
post_install_message:
|
81
|
+
rdoc_options: []
|
82
|
+
require_paths:
|
83
|
+
- lib
|
84
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
85
|
+
requirements:
|
86
|
+
- - ">="
|
87
|
+
- !ruby/object:Gem::Version
|
88
|
+
version: '0'
|
89
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
90
|
+
requirements:
|
91
|
+
- - ">="
|
92
|
+
- !ruby/object:Gem::Version
|
93
|
+
version: '0'
|
94
|
+
requirements: []
|
95
|
+
rubyforge_project:
|
96
|
+
rubygems_version: 2.6.14
|
97
|
+
signing_key:
|
98
|
+
specification_version: 4
|
99
|
+
summary: Kindee is a flexiable theme for jekyll.
|
100
|
+
test_files: []
|