-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b54d24c
commit c464c6b
Showing
136 changed files
with
7,108 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
<html> | ||
<head> | ||
<meta content='Scribble' property='og:title' /> | ||
<title>Scribble</title> | ||
<link href='/images/fav.png' rel='shortcut icon'> | ||
<link href='/stylesheets/style.css' rel='stylesheet' type='text/css' /> | ||
<link href='/stylesheets/responsive.css' rel='stylesheet' type='text/css' /> | ||
<!-- - --> | ||
<script src='/javascripts/jquery.js' type='text/javascript'></script> | ||
<!-- - --> | ||
<meta content='width=device-width, initial-scale=1.0, user-scalable=no' name='viewport'> | ||
<meta content='text/html; charset=utf-8' http-equiv='content-type' /> | ||
<meta content='http://muan.co/scribble' property='og:url' /> | ||
<meta content="A jekyll theme. Because I scribble." property='og:description' /> | ||
<meta content="blog" property="og:type" /> | ||
</head> | ||
<body> | ||
<div class="a-c"> | ||
<img src="/images/404.png" alt="not found" width="160" /> | ||
<p> | ||
<a href="/" class="main" target="_top">Back</a> | ||
</p> | ||
</div> | ||
</body> | ||
</html> |
Binary file not shown.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
source 'http://rubygems.org' | ||
|
||
gem 'github-pages' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,62 @@ | ||
GEM | ||
remote: http://rubygems.org/ | ||
specs: | ||
RedCloth (4.2.9) | ||
blankslate (2.1.2.4) | ||
classifier (1.3.4) | ||
fast-stemmer (>= 1.0.0) | ||
colorator (0.1) | ||
commander (4.1.5) | ||
highline (~> 1.6.11) | ||
fast-stemmer (1.0.2) | ||
ffi (1.9.3) | ||
github-pages (14) | ||
RedCloth (= 4.2.9) | ||
jekyll (= 1.4.3) | ||
kramdown (= 1.3.1) | ||
liquid (= 2.5.5) | ||
maruku (= 0.7.0) | ||
rdiscount (= 2.1.7) | ||
redcarpet (= 2.3.0) | ||
highline (1.6.20) | ||
jekyll (1.4.3) | ||
classifier (~> 1.3) | ||
colorator (~> 0.1) | ||
commander (~> 4.1.3) | ||
liquid (~> 2.5.5) | ||
listen (~> 1.3) | ||
maruku (~> 0.7.0) | ||
pygments.rb (~> 0.5.0) | ||
redcarpet (~> 2.3.0) | ||
safe_yaml (~> 0.9.7) | ||
toml (~> 0.1.0) | ||
kramdown (1.3.1) | ||
liquid (2.5.5) | ||
listen (1.3.1) | ||
rb-fsevent (>= 0.9.3) | ||
rb-inotify (>= 0.9) | ||
rb-kqueue (>= 0.2) | ||
maruku (0.7.0) | ||
parslet (1.5.0) | ||
blankslate (~> 2.0) | ||
posix-spawn (0.3.8) | ||
pygments.rb (0.5.4) | ||
posix-spawn (~> 0.3.6) | ||
yajl-ruby (~> 1.1.0) | ||
rb-fsevent (0.9.4) | ||
rb-inotify (0.9.3) | ||
ffi (>= 0.5.0) | ||
rb-kqueue (0.2.0) | ||
ffi (>= 0.5.0) | ||
rdiscount (2.1.7) | ||
redcarpet (2.3.0) | ||
safe_yaml (0.9.7) | ||
toml (0.1.0) | ||
parslet (~> 1.5.0) | ||
yajl-ruby (1.1.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
github-pages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
The MIT License (MIT) | ||
|
||
Copyright (c) 2013 Mu-An Chiou | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy | ||
of this software and associated documentation files (the "Software"), to deal | ||
in the Software without restriction, including without limitation the rights | ||
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell | ||
copies of the Software, and to permit persons to whom the Software is | ||
furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in | ||
all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR | ||
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, | ||
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE | ||
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER | ||
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, | ||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN | ||
THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
Scribble | ||
======== | ||
|
||
A jekyll theme. [Want a demo? click and read instruction. :point_left:](http://scribble.muan.co/2013/05/06/scribble-the-jekyll-theme/) | ||
<br /> | ||
[More themes](https://github.com/muan/muan.github.com/releases). | ||
|
||
 | ||
|
||
There is no clever design philosophy to talk about, I tried to find something to work with, and 'scribble' came to my mind. | ||
|
||
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. | ||
|
||
The theme is mobile optimised but I did not check browser compatibility. It looks great in Chrome, Safari and Firefox though. | ||
|
||
--- | ||
|
||
### Get started | ||
|
||
1. [Fork the repository](https://github.com/muan/scribble/fork). | ||
2. Clone the repository to your computer.<br /> `git clone https://github.com/username/scribble` | ||
3. `bundle install` | ||
4. **Using older versions of Jekyll**<br /> | ||
Build and run jekyll using `jekyll --server --auto`.<br /> | ||
**Using [Jekyll 1.0](http://blog.parkermoore.de/2013/05/06/jekyll-1-dot-0-released/)**<br /> | ||
Build Jekyll using `jekyll build`.<br /> | ||
Then run Jekyll using `jekyll serve --watch`, go to http://localhost:4000 for your site. | ||
|
||
--- | ||
|
||
### Make it yours | ||
|
||
1. I have extract most user specific information to `_config.yml`, you should be able to set up almost everything from it. | ||
2. Change about.md for blog intro. | ||
3. For domain settings, see [the guide from GitHub](https://help.github.com/articles/setting-up-a-custom-domain-with-pages). | ||
|
||
--- | ||
|
||
### GitHub Pages stuff | ||
|
||
The `gh-pages` branch of this repository is [the project page](http://scribble.muan.co), which **should not** be used as your blog, so use `master` branch for your blog. This is assuming your blog repository will be called [your-username].github.io, if tis is not the case, you will need to delete the `gh-pages` repository and create a branch off the `master` branch. Hope that's clear. | ||
|
||
--- | ||
|
||
### Options | ||
|
||
When writing a post, there are 3 options you can add to the header. | ||
|
||
1. **disqus: y**<br /> | ||
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/). | ||
|
||
2. **share: y**<br /> | ||
An option for showing tweet and like button under a post. | ||
|
||
3. **date**: 2013-05-06 18:07:17<br /> | ||
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`. | ||
|
||
--- | ||
|
||
### The end | ||
|
||
Like it? [Tell me](http://twitter.com/muanchiou).<br/> | ||
Question? [Use GitHub Issues](https://github.com/muan/scribble/issues). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
desc "compile and run the site" | ||
task :default do | ||
pids = [ | ||
spawn("bundle exec jekyll server -w"), | ||
spawn("scss --watch _assets:stylesheets"), | ||
spawn("coffee -b -w -o javascripts -c _assets/*.coffee") | ||
] | ||
|
||
trap "INT" do | ||
Process.kill "INT", *pids | ||
exit 1 | ||
end | ||
|
||
loop do | ||
sleep 1 | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
jQuery -> | ||
|
||
$.each $("[data-time]"), ( index, ele ) -> | ||
$(ele).html( prettyDate( new Date( $(this).data("time") ) ) ) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
//************************************************************************// | ||
// These mixins/functions are deprecated | ||
// They will be removed in the next MAJOR version release | ||
//************************************************************************// | ||
@mixin box-shadow ($shadows...) { | ||
@include prefixer(box-shadow, $shadows, spec); | ||
@warn "box-shadow is deprecated and will be removed in the next major version release"; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
// Custom Functions | ||
@import "functions/compact"; | ||
@import "functions/deprecated-webkit-gradient"; | ||
@import "functions/flex-grid"; | ||
@import "functions/grid-width"; | ||
@import "functions/linear-gradient"; | ||
@import "functions/modular-scale"; | ||
@import "functions/px-to-em"; | ||
@import "functions/radial-gradient"; | ||
@import "functions/render-gradients"; | ||
@import "functions/tint-shade"; | ||
@import "functions/transition-property-name"; | ||
|
||
// CSS3 Mixins | ||
@import "css3/animation"; | ||
@import "css3/appearance"; | ||
@import "css3/background"; | ||
@import "css3/background-image"; | ||
@import "css3/background-size"; | ||
@import "css3/border-image"; | ||
@import "css3/border-radius"; | ||
@import "css3/box-sizing"; | ||
@import "css3/columns"; | ||
@import "css3/flex-box"; | ||
@import "css3/font-face"; | ||
@import "css3/hidpi-media-query"; | ||
@import "css3/image-rendering"; | ||
@import "css3/inline-block"; | ||
@import "css3/keyframes"; | ||
@import "css3/linear-gradient"; | ||
@import "css3/perspective"; | ||
@import "css3/radial-gradient"; | ||
@import "css3/transform"; | ||
@import "css3/transition"; | ||
@import "css3/user-select"; | ||
@import "css3/placeholder"; | ||
|
||
// Addons & other mixins | ||
@import "addons/button"; | ||
@import "addons/clearfix"; | ||
@import "addons/font-family"; | ||
@import "addons/hide-text"; | ||
@import "addons/html5-input-types"; | ||
@import "addons/position"; | ||
@import "addons/prefixer"; | ||
@import "addons/retina-image"; | ||
@import "addons/size"; | ||
@import "addons/timing-functions"; | ||
@import "addons/triangle"; | ||
|
||
// Soon to be deprecated Mixins | ||
@import "bourbon-deprecated-upcoming"; |
Oops, something went wrong.