Skip to content

Commit 1414e23

Browse files
committed
第一次提交
1
0 parents  commit 1414e23

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

89 files changed

+3552
-0
lines changed

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
_site/
2+
.sass-cache
3+
.ruby-version

404.html

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
<html>
2+
<head>
3+
<meta content='Scribble' property='og:title' />
4+
<title>Scribble</title>
5+
<link href='{{ site.url }}/images/fav.png' rel='shortcut icon'>
6+
<link href='{{ site.url }}/stylesheets/style.css' rel='stylesheet' type='text/css' />
7+
<link href='{{ site.url }}/stylesheets/responsive.css' rel='stylesheet' type='text/css' />
8+
<!-- - -->
9+
<script src='{{ site.url }}/javascripts/jquery.js' type='text/javascript'></script>
10+
<!-- - -->
11+
<meta content='width=device-width, initial-scale=1.0, user-scalable=no' name='viewport'>
12+
<meta content='text/html; charset=utf-8' http-equiv='content-type' />
13+
<meta content='{{ site.url }}' property='og:url' />
14+
<meta content="A jekyll theme. Because I scribble." property='og:description' />
15+
<meta content="blog" property="og:type" />
16+
</head>
17+
<body>
18+
<div class="a-c">
19+
<img src="{{ site.url }}/images/404.png" alt="not found" width="160" />
20+
<p>
21+
<a href="{{ site.url }}" class="main" target="_top">Back</a>
22+
</p>
23+
</div>
24+
</body>
25+
</html>

Gemfile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
source 'http://rubygems.org'
2+
3+
gem 'github-pages'

Gemfile.lock

Lines changed: 132 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,132 @@
1+
GEM
2+
remote: http://rubygems.org/
3+
specs:
4+
RedCloth (4.2.9)
5+
activesupport (4.2.4)
6+
i18n (~> 0.7)
7+
json (~> 1.7, >= 1.7.7)
8+
minitest (~> 5.1)
9+
thread_safe (~> 0.3, >= 0.3.4)
10+
tzinfo (~> 1.1)
11+
addressable (2.3.8)
12+
blankslate (2.1.2.4)
13+
classifier-reborn (2.0.3)
14+
fast-stemmer (~> 1.0)
15+
coffee-script (2.4.1)
16+
coffee-script-source
17+
execjs
18+
coffee-script-source (1.9.1.1)
19+
colorator (0.1)
20+
ethon (0.8.0)
21+
ffi (>= 1.3.0)
22+
execjs (2.6.0)
23+
fast-stemmer (1.0.2)
24+
ffi (1.9.10)
25+
gemoji (2.1.0)
26+
github-pages (39)
27+
RedCloth (= 4.2.9)
28+
github-pages-health-check (~> 0.2)
29+
jekyll (= 2.4.0)
30+
jekyll-coffeescript (= 1.0.1)
31+
jekyll-feed (= 0.3.1)
32+
jekyll-mentions (= 0.2.1)
33+
jekyll-redirect-from (= 0.8.0)
34+
jekyll-sass-converter (= 1.3.0)
35+
jekyll-sitemap (= 0.8.1)
36+
jemoji (= 0.5.0)
37+
kramdown (= 1.5.0)
38+
liquid (= 2.6.2)
39+
maruku (= 0.7.0)
40+
mercenary (~> 0.3)
41+
pygments.rb (= 0.6.3)
42+
rdiscount (= 2.1.7)
43+
redcarpet (= 3.3.2)
44+
terminal-table (~> 1.4)
45+
github-pages-health-check (0.5.3)
46+
addressable (~> 2.3)
47+
net-dns (~> 0.8)
48+
public_suffix (~> 1.4)
49+
typhoeus (~> 0.7)
50+
html-pipeline (1.9.0)
51+
activesupport (>= 2)
52+
nokogiri (~> 1.4)
53+
i18n (0.7.0)
54+
jekyll (2.4.0)
55+
classifier-reborn (~> 2.0)
56+
colorator (~> 0.1)
57+
jekyll-coffeescript (~> 1.0)
58+
jekyll-gist (~> 1.0)
59+
jekyll-paginate (~> 1.0)
60+
jekyll-sass-converter (~> 1.0)
61+
jekyll-watch (~> 1.1)
62+
kramdown (~> 1.3)
63+
liquid (~> 2.6.1)
64+
mercenary (~> 0.3.3)
65+
pygments.rb (~> 0.6.0)
66+
redcarpet (~> 3.1)
67+
safe_yaml (~> 1.0)
68+
toml (~> 0.1.0)
69+
jekyll-coffeescript (1.0.1)
70+
coffee-script (~> 2.2)
71+
jekyll-feed (0.3.1)
72+
jekyll-gist (1.3.5)
73+
jekyll-mentions (0.2.1)
74+
html-pipeline (~> 1.9.0)
75+
jekyll (~> 2.0)
76+
jekyll-paginate (1.1.0)
77+
jekyll-redirect-from (0.8.0)
78+
jekyll (>= 2.0)
79+
jekyll-sass-converter (1.3.0)
80+
sass (~> 3.2)
81+
jekyll-sitemap (0.8.1)
82+
jekyll-watch (1.3.0)
83+
listen (~> 3.0)
84+
jemoji (0.5.0)
85+
gemoji (~> 2.0)
86+
html-pipeline (~> 1.9)
87+
jekyll (>= 2.0)
88+
json (1.8.3)
89+
kramdown (1.5.0)
90+
liquid (2.6.2)
91+
listen (3.0.3)
92+
rb-fsevent (>= 0.9.3)
93+
rb-inotify (>= 0.9)
94+
maruku (0.7.0)
95+
mercenary (0.3.5)
96+
mini_portile (0.6.2)
97+
minitest (5.8.1)
98+
net-dns (0.8.0)
99+
nokogiri (1.6.6.2)
100+
mini_portile (~> 0.6.0)
101+
parslet (1.5.0)
102+
blankslate (~> 2.0)
103+
posix-spawn (0.3.11)
104+
public_suffix (1.5.1)
105+
pygments.rb (0.6.3)
106+
posix-spawn (~> 0.3.6)
107+
yajl-ruby (~> 1.2.0)
108+
rb-fsevent (0.9.6)
109+
rb-inotify (0.9.5)
110+
ffi (>= 0.5.0)
111+
rdiscount (2.1.7)
112+
redcarpet (3.3.2)
113+
safe_yaml (1.0.4)
114+
sass (3.4.19)
115+
terminal-table (1.5.2)
116+
thread_safe (0.3.5)
117+
toml (0.1.2)
118+
parslet (~> 1.5.0)
119+
typhoeus (0.8.0)
120+
ethon (>= 0.8.0)
121+
tzinfo (1.2.2)
122+
thread_safe (~> 0.1)
123+
yajl-ruby (1.2.1)
124+
125+
PLATFORMS
126+
ruby
127+
128+
DEPENDENCIES
129+
github-pages
130+
131+
BUNDLED WITH
132+
1.10.6

LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
The MIT License (MIT)
2+
3+
Copyright (c) 2013 Mu-An Chiou
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.

README.md

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
Scribble
2+
========
3+
4+
A Jekyll theme. [Want a demo? click and read instruction. :point_left:](http://scribble.muan.co/2013/05/06/scribble-the-jekyll-theme/)
5+
<br />
6+
[More themes](https://github.com/muan/muan.github.com/releases).
7+
8+
![screenshot](https://cloud.githubusercontent.com/assets/1153134/11014801/12c7940a-853e-11e5-9f7b-87325c9bc695.png)
9+
10+
There is no clever design philosophy to talk about, I tried to find something to work with, and 'scribble' came to my mind.
11+
12+
This theme uses Open Sans powered by Google Web Fonts, and was written in plain HTML, SCSS & CoffeeScript, though .scss & .coffee files wouldn't be included in the theme.
13+
14+
The theme is mobile optimized but I did not check browser compatibility. It looks great in Chrome, Safari and Firefox though.
15+
16+
---
17+
18+
### Get started
19+
20+
1. [Fork the repository](https://github.com/muan/scribble/fork).
21+
2. Clone the repository to your computer.<br /> `git clone https://github.com/username/scribble`
22+
3. `bundle install`
23+
4. **Using older versions of Jekyll**<br />
24+
Build and run Jekyll using `jekyll --server --auto`.<br />
25+
**Using [Jekyll 1.0](http://blog.parkermoore.de/2013/05/06/jekyll-1-dot-0-released/)**<br />
26+
Build Jekyll using `jekyll build`.<br />
27+
Then run Jekyll using `jekyll serve --watch`, go to http://localhost:4000 for your site.
28+
29+
---
30+
31+
### Make it yours
32+
33+
1. I have extracted most user specific information to `_config.yml`, you should be able to set up almost everything from it.
34+
2. Change about.md for blog intro.
35+
3. For domain settings, see [the guide from GitHub](https://help.github.com/articles/setting-up-a-custom-domain-with-pages).
36+
37+
---
38+
39+
### Options
40+
41+
When writing a post, there are 3 options you can add to the header.
42+
43+
1. **disqus: y**<br />
44+
If disqus is set to 'y', at the end of the post there will be a disqus thread, just like this one. To use disqus, you MUST [set up your own disqus account](http://disqus.com/).
45+
46+
2. **share: y**<br />
47+
An option for showing tweet and like button under a post.
48+
49+
3. **date**: 2013-05-06 18:07:17<br />
50+
Date is not a required header since Jekyll reads the file name for date, this was added in only for the **signoff time**. (as shown at the end of this post) If you don't want the signoff time, go into `/includes/signoff.html` remove the `<span>`, and remove `{% include signoff.html %}` from `/layouts/post.html`.
51+
52+
---
53+
54+
### The end
55+
56+
Like it? [Tell me](http://twitter.com/muanchiou).<br/>
57+
Question? [Use GitHub Issues](https://github.com/muan/scribble/issues).

Rakefile

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
desc "compile and run the site"
2+
task :default do
3+
pids = [
4+
spawn("bundle exec jekyll server -w"),
5+
spawn("scss --watch _assets:stylesheets"),
6+
spawn("coffee -b -w -o javascripts -c _assets/*.coffee")
7+
]
8+
9+
trap "INT" do
10+
Process.kill "INT", *pids
11+
exit 1
12+
end
13+
14+
loop do
15+
sleep 1
16+
end
17+
end

_assets/basics.coffee

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
jQuery ->
2+
3+
$.each $("[data-time]"), ( index, ele ) ->
4+
$(ele).html( prettyDate( new Date( $(this).data("time") ) ) )
Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
//************************************************************************//
2+
// These mixins/functions are deprecated
3+
// They will be removed in the next MAJOR version release
4+
//************************************************************************//
5+
@mixin box-shadow ($shadows...) {
6+
@include prefixer(box-shadow, $shadows, spec);
7+
@warn "box-shadow is deprecated and will be removed in the next major version release";
8+
}

_assets/bourbon/_bourbon.scss

Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
// Custom Functions
2+
@import "functions/compact";
3+
@import "functions/deprecated-webkit-gradient";
4+
@import "functions/flex-grid";
5+
@import "functions/grid-width";
6+
@import "functions/linear-gradient";
7+
@import "functions/modular-scale";
8+
@import "functions/px-to-em";
9+
@import "functions/radial-gradient";
10+
@import "functions/render-gradients";
11+
@import "functions/tint-shade";
12+
@import "functions/transition-property-name";
13+
14+
// CSS3 Mixins
15+
@import "css3/animation";
16+
@import "css3/appearance";
17+
@import "css3/background";
18+
@import "css3/background-image";
19+
@import "css3/background-size";
20+
@import "css3/border-image";
21+
@import "css3/border-radius";
22+
@import "css3/box-sizing";
23+
@import "css3/columns";
24+
@import "css3/flex-box";
25+
@import "css3/font-face";
26+
@import "css3/hidpi-media-query";
27+
@import "css3/image-rendering";
28+
@import "css3/inline-block";
29+
@import "css3/keyframes";
30+
@import "css3/linear-gradient";
31+
@import "css3/perspective";
32+
@import "css3/radial-gradient";
33+
@import "css3/transform";
34+
@import "css3/transition";
35+
@import "css3/user-select";
36+
@import "css3/placeholder";
37+
38+
// Addons & other mixins
39+
@import "addons/button";
40+
@import "addons/clearfix";
41+
@import "addons/font-family";
42+
@import "addons/hide-text";
43+
@import "addons/html5-input-types";
44+
@import "addons/position";
45+
@import "addons/prefixer";
46+
@import "addons/retina-image";
47+
@import "addons/size";
48+
@import "addons/timing-functions";
49+
@import "addons/triangle";
50+
51+
// Soon to be deprecated Mixins
52+
@import "bourbon-deprecated-upcoming";

0 commit comments

Comments
 (0)