yab 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +76 -0
- data/_includes/disqus_comments.html +18 -0
- data/_includes/footer.html +8 -0
- data/_includes/google-analytics.html +8 -0
- data/_includes/head.html +16 -0
- data/_includes/nav.html +18 -0
- data/_includes/pages/archives.html +31 -0
- data/_includes/pages/categories.html +16 -0
- data/_includes/pages/tags.html +16 -0
- data/_includes/sidebar.html +45 -0
- data/_layouts/default.html +13 -0
- data/_layouts/page.html +19 -0
- data/_layouts/post.html +56 -0
- data/_sass/_bootstrap.scss +56 -0
- data/_sass/yab.scss +50 -0
- metadata +116 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 44e3b791983b0c14154dbbee245c21c2479475ea
|
4
|
+
data.tar.gz: 97f426ba0d410ccf2004d24db7f5c26f3b89101e
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: a5d9777d15bb6dc5a698a49ba042f0fb276103265fec2b01e11a5a4f30ca9600673f58ada95f91e85071883be2149162dde76f4fcdfe313fe11e195cf3f55563
|
7
|
+
data.tar.gz: 19e85a4d84b1c0cff5ed628516671902e31d20c1ed69a4963514a397bcc87db9170dc5a414d207eb76ccb086683a81f84fde546e8765c85295fddfeb4e9aaa18
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2016 Ian Li
|
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 all
|
13
|
+
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 THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,76 @@
|
|
1
|
+
# yab
|
2
|
+
|
3
|
+
YAB is Yet Another (Jekyll) Bootstrap theme. Its style is similar to Jekyll Bootstrap.
|
4
|
+
In fact, Jekyll Bootstrap isn't compatible with latest Jekyll, so I make this gem theme.
|
5
|
+
|
6
|
+
## Installation
|
7
|
+
|
8
|
+
Add this line to your Jekyll site's Gemfile:
|
9
|
+
|
10
|
+
```ruby
|
11
|
+
gem "yab"
|
12
|
+
gem "jekyll-bootstrap-sass", "~> 0.1.0"
|
13
|
+
gem "bootstrap-sass", "~> 3.3.7"
|
14
|
+
```
|
15
|
+
|
16
|
+
And add this line to your Jekyll site's `_config.yml`:
|
17
|
+
|
18
|
+
```yaml
|
19
|
+
theme: yab
|
20
|
+
|
21
|
+
gems:
|
22
|
+
- jekyll-bootstrap-sass
|
23
|
+
|
24
|
+
bootstrap:
|
25
|
+
assets: true
|
26
|
+
```
|
27
|
+
|
28
|
+
And then execute:
|
29
|
+
|
30
|
+
$ bundle
|
31
|
+
|
32
|
+
At last, create (or update if already exists) the CSS entrypoint at site source .
|
33
|
+
- Create a new file `main.scss` at `<your-site>/assets/`
|
34
|
+
- Add the frontmatter dashes, and
|
35
|
+
- Add `$icon-font-path: "{{ site.github.url }}/assets/fonts/bootstrap/"; @import "yab";`, to `<your-site>/assets/main.scss`
|
36
|
+
- Then add your custom CSS.
|
37
|
+
|
38
|
+
## Usage
|
39
|
+
|
40
|
+
### Enabling comments (via Disqus)
|
41
|
+
|
42
|
+
Optionally, if you have a Disqus account, you can tell Jekyll to use it to show a comments section below each post.
|
43
|
+
|
44
|
+
To enable it, add the following lines to your Jekyll site:
|
45
|
+
|
46
|
+
```yaml
|
47
|
+
disqus:
|
48
|
+
shortname: my_disqus_shortname
|
49
|
+
```
|
50
|
+
|
51
|
+
You can find out more about Disqus' shortnames [here](https://help.disqus.com/customer/portal/articles/466208).
|
52
|
+
|
53
|
+
Comments are enabled by default and will only appear in production, i.e., `JEKYLL_ENV=production`
|
54
|
+
|
55
|
+
If you don't want to display comments for a particular post you can disable them by adding `comments: false` to that post's YAML Front Matter.
|
56
|
+
|
57
|
+
--
|
58
|
+
|
59
|
+
### Enabling Google Analytics
|
60
|
+
|
61
|
+
To enable Google Anaytics, add the following lines to your Jekyll site:
|
62
|
+
|
63
|
+
```yaml
|
64
|
+
google_analytics: UA-NNNNNNNN-N
|
65
|
+
```
|
66
|
+
|
67
|
+
Google Analytics will only appear in production, i.e., `JEKYLL_ENV=production`
|
68
|
+
|
69
|
+
## Contributing
|
70
|
+
|
71
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/techotaku/yab.
|
72
|
+
|
73
|
+
## License
|
74
|
+
|
75
|
+
The theme is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
76
|
+
|
@@ -0,0 +1,18 @@
|
|
1
|
+
{% if page.comments != false and jekyll.environment == "production" %}
|
2
|
+
{% assign disqus_url = page.url | prepend: site.baseurl | prepend: site.url %}
|
3
|
+
|
4
|
+
<div id="disqus_thread"></div>
|
5
|
+
<script>
|
6
|
+
var disqus_config = function () {
|
7
|
+
this.page.url = '{{ disqus_url }}';
|
8
|
+
this.page.identifier = '{{ disqus_url }}';
|
9
|
+
};
|
10
|
+
(function() {
|
11
|
+
var d = document, s = d.createElement('script');
|
12
|
+
s.src = 'https://{{ site.disqus.shortname }}.disqus.com/embed.js';
|
13
|
+
s.setAttribute('data-timestamp', +new Date());
|
14
|
+
(d.head || d.body).appendChild(s);
|
15
|
+
})();
|
16
|
+
</script>
|
17
|
+
<noscript>Please enable JavaScript to view the <a href="https://disqus.com/?ref_noscript" rel="nofollow">comments powered by Disqus.</a></noscript>
|
18
|
+
{% endif %}
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<hr>
|
2
|
+
<footer>
|
3
|
+
<p>© {{ site.time | date: '%Y' }} {{ site.author }},
|
4
|
+
with help from <a href="https://jekyllrb.com" target="_blank" title="Jekyll • Simple, blog-aware, static sites - Transform your plain text into static websites and blogs.">Jekyll</a>
|
5
|
+
and <a href="http://getbootstrap.com" target="_blank" title="Bootstrap • The world's most popular mobile-first and responsive front-end framework." >Bootstrap</a>,
|
6
|
+
using <a href="https://github.com/techotaku/yab" target="_blank" title="Yet Another (Jekyll) Bootstrap theme." >Yab</a> theme by Ian Li.
|
7
|
+
</p>
|
8
|
+
</footer>
|
@@ -0,0 +1,8 @@
|
|
1
|
+
<script>
|
2
|
+
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
|
3
|
+
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
|
4
|
+
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
|
5
|
+
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
|
6
|
+
ga('create', '{{ site.google_analytics }}', 'auto');
|
7
|
+
ga('send', 'pageview');
|
8
|
+
</script>
|
data/_includes/head.html
ADDED
@@ -0,0 +1,16 @@
|
|
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">
|
5
|
+
|
6
|
+
<title>{% if page.title %}{{ page.title | escape }}{% else %}{{ site.title | escape }}{% endif %}</title>
|
7
|
+
<meta name="description" content="{{ page.excerpt | default: site.description | strip_html | normalize_whitespace | truncate: 160 | escape }}">
|
8
|
+
|
9
|
+
<link rel="stylesheet" href="{{ "/assets/main.css" | prepend: site.baseurl }}">
|
10
|
+
<link rel="canonical" href="{{ page.url | replace:'index.html','' | prepend: site.baseurl | prepend: site.url }}">
|
11
|
+
<link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | prepend: site.baseurl | prepend: site.url }}">
|
12
|
+
|
13
|
+
{% if jekyll.environment == 'production' and site.google_analytics %}
|
14
|
+
{% include google-analytics.html %}
|
15
|
+
{% endif %}
|
16
|
+
</head>
|
data/_includes/nav.html
ADDED
@@ -0,0 +1,18 @@
|
|
1
|
+
<nav class="navbar navbar-default">
|
2
|
+
<div class="container-fluid">
|
3
|
+
<div class="navbar-header">
|
4
|
+
<a class="navbar-brand" style="font-size:175%;" href="{{ site.baseurl | prepend: site.url }}">{{ site.title }}</a>
|
5
|
+
</div>
|
6
|
+
<ul class="nav navbar-nav navbar-right">
|
7
|
+
{% for node in site.pages %}
|
8
|
+
{% if node.title != null and "navigation" == node.group %}
|
9
|
+
{% if page.url == node.url %}
|
10
|
+
<li class="active"><a href="{{node.url | prepend: site.baseurl }}">{{node.title}}</a></li>
|
11
|
+
{% else %}
|
12
|
+
<li><a href="{{node.url | prepend: site.baseurl }}">{{node.title}}</a></li>
|
13
|
+
{% endif %}
|
14
|
+
{% endif %}
|
15
|
+
{% endfor %}
|
16
|
+
</ul>
|
17
|
+
</div>
|
18
|
+
</nav>
|
@@ -0,0 +1,31 @@
|
|
1
|
+
{% for post in site.posts %}
|
2
|
+
{% capture this_year %}{{ post.date | date: "%Y" }}{% endcapture %}
|
3
|
+
{% capture this_month %}{{ post.date | date: "%B" }}{% endcapture %}
|
4
|
+
{% capture next_year %}{{ post.previous.date | date: "%Y" }}{% endcapture %}
|
5
|
+
{% capture next_month %}{{ post.previous.date | date: "%B" }}{% endcapture %}
|
6
|
+
|
7
|
+
{% if forloop.first %}
|
8
|
+
<h2>{{this_year}}</h2>
|
9
|
+
<h3>{{this_month}}</h3>
|
10
|
+
<ul>
|
11
|
+
{% endif %}
|
12
|
+
|
13
|
+
<li><span>{{ post.date | date: "%B %e, %Y" }}</span> » <a href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a></li>
|
14
|
+
|
15
|
+
{% if forloop.last %}
|
16
|
+
</ul>
|
17
|
+
{% else %}
|
18
|
+
{% if this_year != next_year %}
|
19
|
+
</ul>
|
20
|
+
<h2>{{next_year}}</h2>
|
21
|
+
<h3>{{next_month}}</h3>
|
22
|
+
<ul>
|
23
|
+
{% else %}
|
24
|
+
{% if this_month != next_month %}
|
25
|
+
</ul>
|
26
|
+
<h3>{{next_month}}</h3>
|
27
|
+
<ul>
|
28
|
+
{% endif %}
|
29
|
+
{% endif %}
|
30
|
+
{% endif %}
|
31
|
+
{% endfor %}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<ul class="tag_box inline" style="padding-left: 0px;">
|
2
|
+
{% for category in site.categories %}
|
3
|
+
<li><a href="#{{ category[0] }}-ref">{{ category[0] | join: "/" }} <span>{{ category[1].size }}</span> </a></li>
|
4
|
+
{% endfor %}
|
5
|
+
</ul>
|
6
|
+
|
7
|
+
{% for category in site.categories %}
|
8
|
+
<h2 id="{{ category[0] }}-ref">{{ category[0] | join: "/" }}</h2>
|
9
|
+
<ul>
|
10
|
+
{% for node in category[1] %}
|
11
|
+
{% if node.title != null %}
|
12
|
+
<li><a href="{{ node.url | prepend: site.baseurl }}">{{node.title}}</a></li>
|
13
|
+
{% endif %}
|
14
|
+
{% endfor %}
|
15
|
+
</ul>
|
16
|
+
{% endfor %}
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<ul class="tag_box inline" style="padding-left: 0px;">
|
2
|
+
{% for tag in site.tags %}
|
3
|
+
<li><a href="#{{ tag[0] }}-ref">{{ tag[0] | join: "/" }} <span>{{ tag[1].size }}</span> </a></li>
|
4
|
+
{% endfor %}
|
5
|
+
</ul>
|
6
|
+
|
7
|
+
{% for tag in site.tags %}
|
8
|
+
<h2 id="{{ tag[0] }}-ref">{{ tag[0] | join: "/" }}</h2>
|
9
|
+
<ul>
|
10
|
+
{% for node in tag[1] %}
|
11
|
+
{% if node.title != null %}
|
12
|
+
<li><a href="{{ node.url | prepend: site.baseurl }}">{{node.title}}</a></li>
|
13
|
+
{% endif %}
|
14
|
+
{% endfor %}
|
15
|
+
</ul>
|
16
|
+
{% endfor %}
|
@@ -0,0 +1,45 @@
|
|
1
|
+
{% if page.date %}
|
2
|
+
<br />
|
3
|
+
<h4 class="tag_box title">
|
4
|
+
<i class="glyphicon glyphicon glyphicon-calendar"></i><span><time datetime="{{ page.date | date_to_xmlschema }}" itemprop="datePublished">{{ page.date | date: "%b %-d, %Y" }}</time></span>
|
5
|
+
</h4>
|
6
|
+
{% endif %}
|
7
|
+
{% if page.author %}
|
8
|
+
<br />
|
9
|
+
<h4 class="tag_box title">
|
10
|
+
<i class="glyphicon glyphicon-folder-open"></i><span itemprop="author" itemscope itemtype="http://schema.org/Person"><span itemprop="name">{{ page.author }}</span></span>
|
11
|
+
</h4>
|
12
|
+
{% endif %}
|
13
|
+
{% unless categories_list == empty %}
|
14
|
+
<br />
|
15
|
+
<h4 class="tag_box title"><i class="glyphicon glyphicon-folder-open"></i><span>Categories</span></h4>
|
16
|
+
<ul class="tag_box tag_outer inline">
|
17
|
+
{% if categories_list.first[0] == nil %}
|
18
|
+
{% for category in categories_list %}
|
19
|
+
<li><a href="/{{ site.baseurl }}categories.html#{{ category }}-ref">{{ category | join: "/" }} <span>{{ site.categories[category].size }}</span> </a></li>
|
20
|
+
{% endfor %}
|
21
|
+
{% else %}
|
22
|
+
{% for category in categories_list %}
|
23
|
+
<li><a href="/{{ site.baseurl }}categories.html#{{ category[0] }}-ref">{{ category[0] | join: "/" }} <span>{{ category[1].size }}</span> </a></li>
|
24
|
+
{% endfor %}
|
25
|
+
{% endif %}
|
26
|
+
</ul>
|
27
|
+
{% endunless %}
|
28
|
+
{% assign categories_list = nil %}
|
29
|
+
{% unless tags_list == empty %}
|
30
|
+
<br />
|
31
|
+
<h4 class="tag_box title"><i class="glyphicon glyphicon-tags"></i><span>Tags</span></h4>
|
32
|
+
<ul class="tag_box tag_outer inline">
|
33
|
+
{% if tags_list.first[0] == nil %}
|
34
|
+
{% for tag in tags_list %}
|
35
|
+
<li><a href="/{{ site.baseurl }}tags.html#{{ tag }}-ref">{{ tag }} <span>{{ site.tags[tag].size }}</span></a></li>
|
36
|
+
{% endfor %}
|
37
|
+
{% else %}
|
38
|
+
{% for tag in tags_list %}
|
39
|
+
<li><a href="/{{ site.baseurl }}tags.html#{{ tag[0] }}-ref">{{ tag[0] }} <span>{{ tag[1].size }}</span></a></li>
|
40
|
+
{% endfor %}
|
41
|
+
{% endif %}
|
42
|
+
|
43
|
+
</ul>
|
44
|
+
{% endunless %}
|
45
|
+
{% assign tags_list = nil %}
|
@@ -0,0 +1,13 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html lang="{{ page.lang | default: site.lang | default: "en" }}">
|
3
|
+
{% include head.html %}
|
4
|
+
<body>
|
5
|
+
<div class="container">
|
6
|
+
{% include nav.html %}
|
7
|
+
<div class="content">
|
8
|
+
{{ content }}
|
9
|
+
</div>
|
10
|
+
{% include footer.html %}
|
11
|
+
</div>
|
12
|
+
</body>
|
13
|
+
</html>
|
data/_layouts/page.html
ADDED
@@ -0,0 +1,19 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article>
|
6
|
+
<div class="page-header">
|
7
|
+
<h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
|
8
|
+
</div>
|
9
|
+
<div class="row">
|
10
|
+
<div class="col-md-9">
|
11
|
+
{{ content }}
|
12
|
+
</div>
|
13
|
+
<div class="col-md-3">
|
14
|
+
{% assign categories_list = site.categories %}
|
15
|
+
{% assign tags_list = site.tags %}
|
16
|
+
{% include sidebar.html %}
|
17
|
+
</div>
|
18
|
+
</div>
|
19
|
+
</article>
|
data/_layouts/post.html
ADDED
@@ -0,0 +1,56 @@
|
|
1
|
+
---
|
2
|
+
layout: default
|
3
|
+
---
|
4
|
+
|
5
|
+
<article itemscope itemtype="http://schema.org/BlogPosting">
|
6
|
+
<header class="post-header">
|
7
|
+
<h1 class="post-title" itemprop="name headline">{{ page.title | escape }} {% if page.tagline %} <br /><small>{{ page.tagline | escape }}</small>{% endif %}</h1>
|
8
|
+
</header>
|
9
|
+
|
10
|
+
|
11
|
+
<div class="row">
|
12
|
+
<div class="col-md-9">
|
13
|
+
<div class="post-content" itemprop="articleBody">
|
14
|
+
{{ content }}
|
15
|
+
</div>
|
16
|
+
|
17
|
+
<nav aria-label="">
|
18
|
+
<ul class="pagination">
|
19
|
+
{% if page.previous %}
|
20
|
+
<li>
|
21
|
+
<a href="{{ page.previous.url | prepend: site.baseurl }}" aria-label="" title="{{ page.previous.title | escape }}">
|
22
|
+
<span aria-hidden="true">← 上一篇</span>
|
23
|
+
</a>
|
24
|
+
</li>
|
25
|
+
{% else %}
|
26
|
+
<li class="disabled">
|
27
|
+
<span aria-hidden="true">← 上一篇</span>
|
28
|
+
</li>
|
29
|
+
{% endif %}
|
30
|
+
{% if page.next %}
|
31
|
+
<li>
|
32
|
+
<a href="{{ page.next.url | prepend: site.baseurl }}" aria-label="" title="{{ page.next.title | escape }}">
|
33
|
+
<span aria-hidden="true">下一篇 →</span>
|
34
|
+
</a>
|
35
|
+
</li>
|
36
|
+
{% else %}
|
37
|
+
<li class="disabled">
|
38
|
+
<span aria-hidden="true">下一篇 →</span>
|
39
|
+
</li>
|
40
|
+
{% endif %}
|
41
|
+
</ul>
|
42
|
+
</nav>
|
43
|
+
|
44
|
+
<hr>
|
45
|
+
|
46
|
+
{% if site.disqus.shortname %}
|
47
|
+
{% include disqus_comments.html %}
|
48
|
+
{% endif %}
|
49
|
+
</div>
|
50
|
+
<div class="col-md-3">
|
51
|
+
{% assign categories_list = page.categories %}
|
52
|
+
{% assign tags_list = page.tags %}
|
53
|
+
{% include sidebar.html %}
|
54
|
+
</div>
|
55
|
+
</div>
|
56
|
+
</article>
|
@@ -0,0 +1,56 @@
|
|
1
|
+
/*!
|
2
|
+
* Bootstrap v3.3.7 (http://getbootstrap.com)
|
3
|
+
* Copyright 2011-2016 Twitter, Inc.
|
4
|
+
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
|
5
|
+
*/
|
6
|
+
|
7
|
+
// Core variables and mixins
|
8
|
+
@import "bootstrap/variables";
|
9
|
+
@import "bootstrap/mixins";
|
10
|
+
|
11
|
+
// Reset and dependencies
|
12
|
+
@import "bootstrap/normalize";
|
13
|
+
//@import "bootstrap/print";
|
14
|
+
@import "bootstrap/glyphicons";
|
15
|
+
|
16
|
+
// Core CSS
|
17
|
+
@import "bootstrap/scaffolding";
|
18
|
+
@import "bootstrap/type";
|
19
|
+
@import "bootstrap/code";
|
20
|
+
@import "bootstrap/grid";
|
21
|
+
//@import "bootstrap/tables";
|
22
|
+
@import "bootstrap/forms";
|
23
|
+
//@import "bootstrap/buttons";
|
24
|
+
|
25
|
+
// Components
|
26
|
+
//@import "bootstrap/component-animations";
|
27
|
+
//@import "bootstrap/dropdowns";
|
28
|
+
//@import "bootstrap/button-groups";
|
29
|
+
//@import "bootstrap/input-groups";
|
30
|
+
@import "bootstrap/navs";
|
31
|
+
@import "bootstrap/navbar";
|
32
|
+
//@import "bootstrap/breadcrumbs";
|
33
|
+
@import "bootstrap/pagination";
|
34
|
+
//@import "bootstrap/pager";
|
35
|
+
//@import "bootstrap/labels";
|
36
|
+
//@import "bootstrap/badges";
|
37
|
+
//@import "bootstrap/jumbotron";
|
38
|
+
//@import "bootstrap/thumbnails";
|
39
|
+
//@import "bootstrap/alerts";
|
40
|
+
//@import "bootstrap/progress-bars";
|
41
|
+
//@import "bootstrap/media";
|
42
|
+
//@import "bootstrap/list-group";
|
43
|
+
//@import "bootstrap/panels";
|
44
|
+
//@import "bootstrap/responsive-embed";
|
45
|
+
//@import "bootstrap/wells";
|
46
|
+
//@import "bootstrap/close";
|
47
|
+
|
48
|
+
// Components w/ JavaScript
|
49
|
+
// @import "bootstrap/modals";
|
50
|
+
// @import "bootstrap/tooltip";
|
51
|
+
// @import "bootstrap/popovers";
|
52
|
+
// @import "bootstrap/carousel";
|
53
|
+
|
54
|
+
// Utility classes
|
55
|
+
// @import "bootstrap/utilities";
|
56
|
+
// @import "bootstrap/responsive-utilities";
|
data/_sass/yab.scss
ADDED
@@ -0,0 +1,50 @@
|
|
1
|
+
@import "_bootstrap";
|
2
|
+
|
3
|
+
body {
|
4
|
+
font-family: Arial,"Microsoft YaHei",SimSun,sans-serif;
|
5
|
+
}
|
6
|
+
|
7
|
+
.content {
|
8
|
+
padding-left: 16px;
|
9
|
+
}
|
10
|
+
|
11
|
+
.tag_box.title span {
|
12
|
+
padding-left: 8px; }
|
13
|
+
|
14
|
+
.tag_box {
|
15
|
+
list-style: none;
|
16
|
+
margin: 0;
|
17
|
+
overflow: hidden; }
|
18
|
+
|
19
|
+
.tag_box.tag_outer {
|
20
|
+
padding-left: 24px; }
|
21
|
+
|
22
|
+
.tag_box li {
|
23
|
+
line-height: 28px; }
|
24
|
+
|
25
|
+
.tag_box li i {
|
26
|
+
opacity: 0.9; }
|
27
|
+
|
28
|
+
.tag_box.inline li {
|
29
|
+
float: left; }
|
30
|
+
|
31
|
+
.tag_box a {
|
32
|
+
padding: 3px 6px;
|
33
|
+
margin: 2px;
|
34
|
+
background: #eee;
|
35
|
+
color: #555;
|
36
|
+
border-radius: 3px;
|
37
|
+
text-decoration: none;
|
38
|
+
border: 1px dashed #cccccc; }
|
39
|
+
|
40
|
+
.tag_box a span {
|
41
|
+
vertical-align: super;
|
42
|
+
font-size: 0.8em; }
|
43
|
+
|
44
|
+
.tag_box a:hover {
|
45
|
+
background-color: #e5e5e5; }
|
46
|
+
|
47
|
+
.tag_box a.active {
|
48
|
+
background: #57A957;
|
49
|
+
border: 1px solid #4c964d;
|
50
|
+
color: #FFF; }
|
metadata
ADDED
@@ -0,0 +1,116 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: yab
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.1.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Ian Li
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-10-23 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.3'
|
20
|
+
type: :development
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '3.3'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: jekyll-bootstrap-sass
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 0.1.0
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: 0.1.0
|
41
|
+
- !ruby/object:Gem::Dependency
|
42
|
+
name: bootstrap-sass
|
43
|
+
requirement: !ruby/object:Gem::Requirement
|
44
|
+
requirements:
|
45
|
+
- - "~>"
|
46
|
+
- !ruby/object:Gem::Version
|
47
|
+
version: 3.3.7
|
48
|
+
type: :development
|
49
|
+
prerelease: false
|
50
|
+
version_requirements: !ruby/object:Gem::Requirement
|
51
|
+
requirements:
|
52
|
+
- - "~>"
|
53
|
+
- !ruby/object:Gem::Version
|
54
|
+
version: 3.3.7
|
55
|
+
- !ruby/object:Gem::Dependency
|
56
|
+
name: bundler
|
57
|
+
requirement: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - "~>"
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '1.12'
|
62
|
+
type: :development
|
63
|
+
prerelease: false
|
64
|
+
version_requirements: !ruby/object:Gem::Requirement
|
65
|
+
requirements:
|
66
|
+
- - "~>"
|
67
|
+
- !ruby/object:Gem::Version
|
68
|
+
version: '1.12'
|
69
|
+
description:
|
70
|
+
email:
|
71
|
+
- OpenSource@ianli.xyz
|
72
|
+
executables: []
|
73
|
+
extensions: []
|
74
|
+
extra_rdoc_files: []
|
75
|
+
files:
|
76
|
+
- LICENSE
|
77
|
+
- README.md
|
78
|
+
- _includes/disqus_comments.html
|
79
|
+
- _includes/footer.html
|
80
|
+
- _includes/google-analytics.html
|
81
|
+
- _includes/head.html
|
82
|
+
- _includes/nav.html
|
83
|
+
- _includes/pages/archives.html
|
84
|
+
- _includes/pages/categories.html
|
85
|
+
- _includes/pages/tags.html
|
86
|
+
- _includes/sidebar.html
|
87
|
+
- _layouts/default.html
|
88
|
+
- _layouts/page.html
|
89
|
+
- _layouts/post.html
|
90
|
+
- _sass/_bootstrap.scss
|
91
|
+
- _sass/yab.scss
|
92
|
+
homepage: https://github.com/techotaku/yab
|
93
|
+
licenses:
|
94
|
+
- MIT
|
95
|
+
metadata: {}
|
96
|
+
post_install_message:
|
97
|
+
rdoc_options: []
|
98
|
+
require_paths:
|
99
|
+
- lib
|
100
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
101
|
+
requirements:
|
102
|
+
- - ">="
|
103
|
+
- !ruby/object:Gem::Version
|
104
|
+
version: '0'
|
105
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
106
|
+
requirements:
|
107
|
+
- - ">="
|
108
|
+
- !ruby/object:Gem::Version
|
109
|
+
version: '0'
|
110
|
+
requirements: []
|
111
|
+
rubyforge_project:
|
112
|
+
rubygems_version: 2.6.7
|
113
|
+
signing_key:
|
114
|
+
specification_version: 4
|
115
|
+
summary: Yet Another (Jekyll) Bootstrap theme.
|
116
|
+
test_files: []
|