Skip to content

Commit 3cc0a5e

Browse files
committed
修改风格。
1 parent d16d6bb commit 3cc0a5e

40 files changed

+2523
-225
lines changed

.gitignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
/stylesheets/screen.css
2-
*-MarkdownPadPreview
3-
*-MarkdownPadPreview.*
4-
_site
1+
_config.yml
2+
_site/*
3+
*Thumbs.db

404.html

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
---
2+
layout: page
3+
---
4+
<!----------------------------------------------------------------
5+
_ _ _ _
6+
__| | |__ _ _| | | Ascii arts included in this page:
7+
/ _` | '_ \| | | | | | - R2D2, provided by: http://www.chris.com/
8+
| (_| | |_) | |_| | | | - Texts, generated from: http://www.network-science.de/ascii/
9+
\__,_|_.__/ \__, |_|_| http://github.com/conansketch
10+
-------------|___/------------------------------------------------>
11+
12+
<style>
13+
pre {
14+
background: none;
15+
border: none;
16+
}
17+
</style>
18+
19+
<pre>
20+
21+
444444444 000000000 444444444
22+
4::::::::4 00:::::::::00 4::::::::4
23+
4:::::::::4 00:::::::::::::00 4:::::::::4
24+
4::::44::::4 0:::::::000:::::::0 4::::44::::4
25+
4::::4 4::::4 0::::::0 0::::::0 4::::4 4::::4
26+
4::::4 4::::4 0:::::0 0:::::0 4::::4 4::::4
27+
4::::4 4::::4 0:::::0 0:::::0 4::::4 4::::4
28+
4::::444444::::4440:::::0 000 0:::::04::::444444::::444
29+
4::::::::::::::::40:::::0 000 0:::::04::::::::::::::::4
30+
4444444444:::::4440:::::0 0:::::04444444444:::::444
31+
4::::4 0:::::0 0:::::0 4::::4
32+
4::::4 0::::::0 0::::::0 4::::4
33+
4::::4 0:::::::000:::::::0 4::::4
34+
44::::::44 00:::::::::::::00 44::::::44
35+
4::::::::4 00:::::::::00 4::::::::4
36+
4444444444 000000000 4444444444
37+
38+
,-----. _ _ _ _ _ _ _
39+
,'_/_|_\_`. | |_| |__ (_)___ ___| |__ ___ _ _| | __| | _ __ ___ | |_
40+
/<<::8[O]::>\ | __| '_ \| / __| / __| '_ \ / _ \| | | | |/ _` | | '_ \ / _ \| __|
41+
_|-----------|_ | |_| | | | \__ \ \__ \ | | | (_) | |_| | | (_| | | | | | (_) | |_
42+
:::| | ====-=- | |::: \__|_| |_|_|___/ |___/_| |_|\___/ \__,_|_|\__,_| |_| |_|\___/ \__|
43+
:::| | -=-==== | |:::
44+
:::\ | ::::|()|| /::: _
45+
::::| | ....|()|| |:::: | |__ __ _ _ __ _ __ ___ _ __ _____ _____ _ __
46+
| |_________| | | '_ \ / _` | '_ \| '_ \ / _ \ '_ \ / _ \ \ / / _ \ '__|
47+
| |\_______/| | | | | | (_| | |_) | |_) | __/ | | |_ | __/\ V / __/ |
48+
/ \ / \ / \ |_| |_|\__,_| .__/| .__/ \___|_| |_( ) \___| \_/ \___|_|
49+
`---' `---' `---' |_| |_| |/
50+
51+
52+
</pre>

TODO.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
参考网站。
2+
Looks fine
3+
https://github.com/stylehatch/bryant
4+
5+
http://websunday.net/conan/
6+
https://github.com/camporez/Thinny
7+
http://dbtek.github.io/dbyll/
8+
http://wolfr.github.io/cactus-jekyll-theme/index.html
9+
https://github.com/redwallhp/solar-theme-ghost
10+
11+
https://github.com/napoleonu/napoleonu.github.com
12+
13+
14+
柯南狂圣地工作室
15+
http://e.t.qq.com/Vaevvv
16+

_config.yml

Lines changed: 41 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,43 @@
1-
name: Your New Jekyll Site
1+
# visit https://github.com/mojombo/jekyll/wiki/Configuration for more settings
2+
name: 柯蓝手绘工作室
23
markdown: redcarpet
4+
paginate: 10 # pagination based on number of posts
5+
paginate_path: "page:num"
6+
exclude: ["README.md"] # files to exclude
37
pygments: true
8+
9+
title: conansketch
10+
description: Stylish Jekyll Theme
11+
author:
12+
name: conansketch
13+
email: luoyonggang@gmail.com
14+
github: lygstate
15+
twitter: asd123
16+
pinterest: asd123
17+
linkedin: asd123
18+
bio: Yonggang Luo's 研究积累
19+
20+
rss_path: feed.xml
21+
categories_path: categories.html
22+
tags_path: tags.html
23+
24+
25+
encoding: UTF-8
26+
27+
# All links will be namespaced by BASE_PATH if defined.
28+
# Links in your website should always be prefixed with {{ site.BASE_PATH }}
29+
# Do not put a "/" at the end of the url.
30+
#
31+
# CNAME (http://yourcustomdomain.com)
32+
# DO NOT SET BASE_PATH JUST LEAVE IT BLANK
33+
# (urls will be prefixed with "/" and work relatively)
34+
#
35+
# GitHub Pages (http://username.github.io)
36+
# DO NOT SET BASE_PATH JUST LEAVE IT BLANK
37+
# (urls will be prefixed with "/" and work relatively)
38+
#
39+
# GitHub Project Pages (http://username.github.io/project-name)
40+
# A GitHub Project site exists in the `gh-pages` branch of one of your repositories.
41+
# REQUIRED! Set BASE_PATH to "http://username.github.io/project-name"
42+
redcarpet:
43+
extensions: ["no_intra_emphasis", "fenced_code_blocks", "autolink", "strikethrough", "superscript"]

_includes/default.html

Lines changed: 79 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,79 @@
1+
<!DOCTYPE html>
2+
<html lang="tr">
3+
4+
{% include header.html %}
5+
6+
<body>
7+
<nav class="navbar navbar-default visible-xs" role="navigation">
8+
<!-- Brand and toggle get grouped for better mobile display -->
9+
<div class="navbar-header">
10+
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1">
11+
<span class="sr-only">Toggle navigation</span>
12+
<span class="icon-bar"></span>
13+
<span class="icon-bar"></span>
14+
<span class="icon-bar"></span>
15+
</button>
16+
{% if site.author.github %}
17+
<a type="button" class="navbar-toggle nav-link" href="http://github.com/{{ site.author.github }}">
18+
<i class="fa fa-github"></i>
19+
</a>
20+
{% endif %}
21+
{% if site.author.twitter %}
22+
<a type="button" class="navbar-toggle nav-link" href="http://twitter.com/{{ site.author.twitter }}">
23+
<i class="fa fa-twitter"></i>
24+
</a>
25+
{% endif %}
26+
{% if site.author.email %}
27+
<a type="button" class="navbar-toggle nav-link" href="mailto:{{ site.author.email }}">
28+
<i class="fa fa-envelope"></i>
29+
</a>
30+
{% endif %}
31+
<a class="navbar-brand" href="{{ site.BASE_PATH }}/">
32+
<img src="http://www.gravatar.com/avatar/{{site.author.email_md5}}?s=35" class="img-circle" />
33+
{{ site.title }}
34+
</a>
35+
</div>
36+
37+
<!-- Collect the nav links, forms, and other content for toggling -->
38+
<div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1">
39+
<ul class="nav navbar-nav">
40+
<li class="active"><a href="{{ site.BASE_PATH }}/">Home</a></li>
41+
<li><a href="{{ site.BASE_PATH}}/{{ site.categories_path }}">Categories</a></li>
42+
<li><a href="{{ site.BASE_PATH}}/{{ site.tags_path }}">Tags</a></li>
43+
</ul>
44+
</div><!-- /.navbar-collapse -->
45+
</nav>
46+
47+
<!-- nav-menu-dropdown -->
48+
<div class="btn-group hidden-xs" id="nav-menu">
49+
<button type="button" class="btn btn-default dropdown-toggle" data-toggle="dropdown">
50+
<i class="fa fa-bars"></i>
51+
</button>
52+
<ul class="dropdown-menu" role="menu">
53+
<li><a href="{{ site.BASE_PATH}}/"><i class="fa fa-home"></i> Home</a></li>
54+
<li><a href="{{ site.BASE_PATH}}/{{ site.categories_path }}"><i class="fa fa-folder"></i> Categories</a></li>
55+
<li><a href="{{ site.BASE_PATH}}/{{ site.tags_path }}"><i class="fa fa-tags"></i> Tags</a></li>
56+
<li class="divider"></li>
57+
<li><a href="#"><i class="fa fa-arrow-up"></i> Top of Page</a></li>
58+
</ul>
59+
</div>
60+
61+
<div class="col-sm-3 sidebar hidden-xs">
62+
{% include sidebar.html %}
63+
</div>
64+
65+
<div class="col-sm-9 col-sm-offset-3">
66+
{{ content }}
67+
68+
{% include footer.html %}
69+
70+
</div>
71+
72+
73+
<script type="text/javascript" src="{{ site.BASE_PATH }}/assets/resources/jquery/jquery.min.js"></script>
74+
<script type="text/javascript" src="{{ site.BASE_PATH }}/assets/resources/bootstrap/js/bootstrap.min.js"></script>
75+
<script type="text/javascript" src="{{ site.BASE_PATH }}/assets/js/app.js"></script>
76+
</body>
77+
78+
</html>
79+

_includes/footer.html

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
<!-- footer.html -->
2+
<footer>
3+
<hr/>
4+
<a href="/about.html" name="about_conansketch">关于柯南手绘工作室</a>&nbsp;
5+
<hr/>
6+
<p>
7+
&copy; 2013-{{ site.time | date: '%Y' }} Conansketch. All Rights Reserved.
8+
</p>
9+
</footer>
10+
11+
<!-- footer.html end -->

_includes/header.html

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
<! -- header.html -->
2+
<meta charset="utf-8">
3+
<title>{{ page.title }}</title>
4+
{% if page.description %}<meta name="description" content="{{ page.description }}">{% endif %}
5+
<meta name="author" content="{{ site.author.name }}">
6+
7+
<!-- Enable responsive viewport -->
8+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
9+
10+
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
11+
<!--[if lt IE 9]>
12+
<script src="http://html5shim.googlecode.com/svn/trunk/html5.js"></script>
13+
<![endif]-->
14+
15+
<!-- Le styles -->
16+
<link href="{{ site.BASE_PATH }}/assets/resources/bootstrap/css/bootstrap.min.css" rel="stylesheet">
17+
<link href="{{ site.BASE_PATH }}/assets/resources/font-awesome/css/font-awesome.min.css" rel="stylesheet">
18+
<link href="{{ site.BASE_PATH }}/assets/resources/syntax/syntax.css" rel="stylesheet">
19+
<link href="{{ site.BASE_PATH }}/assets/css/style.css" rel="stylesheet">
20+
21+
<!-- Le fav and touch icons -->
22+
<!-- Update these with your own images
23+
<link rel="shortcut icon" href="images/favicon.ico">
24+
<link rel="apple-touch-icon" href="images/apple-touch-icon.png">
25+
<link rel="apple-touch-icon" sizes="72x72" href="images/apple-touch-icon-72x72.png">
26+
<link rel="apple-touch-icon" sizes="114x114" href="images/apple-touch-icon-114x114.png">
27+
-->
28+
29+
<link rel="alternate" type="application/rss+xml" title="{{ site.name }}" href="{{ site.BASE_PATH }}/feed.xml">
30+
31+
<! -- header.html end -->

_includes/page.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
<div class="page-header">
2+
<h1>{{ page.title }} {% if page.tagline %} <small>{{ page.tagline }}</small>{% endif %}</h1>
3+
</div>
4+
5+
{{ content }}

_includes/post.html

Lines changed: 93 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,93 @@
1+
<article>
2+
<div class="page-header">
3+
<h1>{{ page.title }} {% if page.tagline %}<small>{{page.tagline}}</small>{% endif %}</h1>
4+
</div>
5+
6+
<div class="col-sm-10">
7+
<span class="post-date">
8+
{% assign d = page.date | date: "%d" | plus:'0' %}
9+
{{ page.date | date: "%B" }}
10+
{% case d %}
11+
{% when 1 or 21 or 31 %}{{ d }}st,
12+
{% when 2 or 22 %}{{ d }}nd,
13+
{% when 3 or 23 %}{{ d }}rd,
14+
{% else %}{{ d }}th,
15+
{% endcase %}
16+
{{ page.date | date: "%Y" }}
17+
</span>
18+
<div class="article_body">
19+
{{ content }}
20+
</div>
21+
22+
{% unless page.categories == empty %}
23+
<ul class="tag_box list-unstyled list-inline">
24+
<li><i class="fa fa-folder-open"></i></li>
25+
{% assign categories_list = page.categories %}
26+
{% if categories_list.first[0] == null %}
27+
{% for category in categories_list %}
28+
<li><a href="{{ site.BASE_PATH }}/{{ site.categories_path }}#{{ category }}-ref">
29+
{{ category | join: "/" }} <span>({{ site.categories[category].size }})</span>
30+
{% unless forloop.last %},{% endunless %}
31+
</a></li>
32+
{% endfor %}
33+
{% else %}
34+
{% for category in categories_list %}
35+
<li><a href="{{ site.BASE_PATH }}/{{ site.categories_path }}#{{ category[0] }}-ref">
36+
{{ category[0] | join: "/" }} <span>/{{ category[1].size }})</span>
37+
</a></li>
38+
{% endfor %}
39+
{% endif %}
40+
</ul>
41+
{% endunless %}
42+
43+
{% unless page.tags == empty %}
44+
<ul class="list-inline">
45+
<li><i class="fa fa-tags"></i></li>
46+
{% assign tags_list = page.tags %}
47+
{% if tags_list.first[0] == null %}
48+
{% for tag in tags_list %}
49+
<li>
50+
<a href="{{ site.BASE_PATH }}/{{ site.tags_path }}#{{ tag }}-ref">
51+
{{ tag }} <span>({{ site.tags[tag].size }})</span>
52+
{% unless forloop.last %},{% endunless %}
53+
</a>
54+
</li>
55+
{% endfor %}
56+
{% else %}
57+
{% for tag in tags_list %}
58+
<li>
59+
<a href="{{ site.BASE_PATH }}/{{ site.tags_path }}#{{ tag[0] }}-ref">
60+
{{ tag[0] }} <span>({{ tag[1].size }})</span>
61+
{% unless forloop.last %},{% endunless %}
62+
</a>
63+
</li>
64+
65+
{% endfor %}
66+
{% endif %}
67+
{% assign tags_list = nil %}
68+
</ul>
69+
{% endunless %}
70+
71+
<hr>
72+
73+
<ul class="pager">
74+
{% if page.previous %}
75+
<li class="previous"><a href="{{ site.BASE_PATH }}{{ page.previous.url }}" title="{{ page.previous.title }}">&larr; Previous</a></li>
76+
{% else %}
77+
<li class="previous disabled"><a>&larr; Previous</a></li>
78+
{% endif %}
79+
{% if page.next %}
80+
<li class="next"><a href="{{ site.BASE_PATH }}{{ page.next.url }}" title="{{ page.next.title }}">Next &rarr;</a></li>
81+
{% else %}
82+
<li class="next disabled"><a>Next &rarr;</a>
83+
{% endif %}
84+
</ul>
85+
86+
<hr>
87+
</div>
88+
89+
<div class="col-sm-2 sidebar-2">
90+
91+
</div>
92+
</article>
93+
<div class="clearfix"></div>

0 commit comments

Comments
 (0)