Skip to content
This repository has been archived by the owner on May 12, 2019. It is now read-only.

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
Kikobeats committed Jan 5, 2015
0 parents commit 5a128ec
Show file tree
Hide file tree
Showing 147 changed files with 8,498 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# http://editorconfig.org

[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[package.json]
indent_style = space
indent_size = 2

[*.md]
trim_trailing_whitespace = false
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
.DS_Store
node_modules/
.sass-cache/
72 changes: 72 additions & 0 deletions Gruntfile.coffee
Original file line number Diff line number Diff line change
@@ -0,0 +1,72 @@
module.exports = (grunt) ->
require('load-grunt-tasks') grunt
require('time-grunt') grunt
grunt.initConfig

# =============
# SETUP
# =============
pkg : grunt.file.readJSON './package.json'

meta:
banner : '/* <%= pkg.name %> v<%= pkg.version %>\n' +
' <%= pkg.homepage %>' +
' Copyright (c) <%= grunt.template.today("yyyy") %> <%= pkg.author.name %>' +
' - Licensed <%= pkg.license %> */\n'
src:
sass:
main : 'assets/scss/uno.scss'
files : ['assets/scss/**/*.scss']
js :
main : ['assets/js/index.js',
'assets/js/ghostHunter.js',
'assets/vendor/js/jquery.ghostHunter.min.js']
css :
main : 'assets/css/uno.css'
vendor : ['assets/vendor/css/**/*.css']

# =============
# TASKS
# =============
sass:
main : files: '<%=src.css.main%>' : '<%=src.sass.main%>'

concat:
options : stripBanners: true
css : src: ['<%=src.css.main%>', '<%= src.css.vendor %>'], dest: 'assets/css/uno.css'
js : src: ['<%=src.js.main%>'], dest: 'assets/js/uno.js'

autoprefixer:
main : files: '<%=src.css.main%>' : '<%=src.css.main%>'

cssmin:
options : banner: '<%=meta.banner%>', report: 'gzip'
main : files: 'assets/css/uno.min.css': '<%=src.css.main%>'

uglify:
options : compress: false, banner: '<%=meta.banner%>', report: 'gzip', preserveComments: false
main: files : 'assets/js/uno.min.js': '<%=src.js.main%>'

clean:
cache:
['.sass-cache', 'assets/scss/.sass-cache']
npm:
['node_modules']

watch:
sass:
files : ['<%=src.sass.files%>']
tasks : ['css']
options : livereload: true
js:
files : ['<%=src.js.main%>']
tasks : ['js']
options : livereload: true

# =============
# REGISTER
# =============
grunt.registerTask 'css', ['sass', 'concat:css', 'autoprefixer', 'cssmin']
grunt.registerTask 'js', ['concat:js','uglify']
grunt.registerTask 'production', ['css', 'js']
grunt.registerTask 'default', ['css', 'js','watch']
9 changes: 9 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
The MIT License (MIT)

Copyright © 2014 Kiko Beats

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.
40 changes: 40 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Uno Zen for Ghost

> Minimalist and Elegant theme for Ghost.
![](http://i.imgur.com/JJKXd2O.jpg)

**Uno Zen** is a fork of [Uno for Ghost](https://github.com/daleanthony/Uno) that provides some features missing in the original theme:

* Some little improves in the layout grid and in the CSS style.
* Search support by [ghostHunter](https://github.com/i11ume/ghostHunter/).
* Main post image support.
* Better development and production with Grunt.

... and more and more features in the future. If you want to help visit TODO section.

## Preview

![](http://i.imgur.com/YZXKWcW.png)
![](http://i.imgur.com/6m4kKsy.png)
![](http://i.imgur.com/BqJBN0X.jpg)

## Demo

You can see a demo in my [blog](http://blog.kikobeats.com).

## Installation

1) Fork this repository.

2) Execute `npm install` for install the dependencies.

3) For development exec `grunt`. This provide you livereload. You need to have [SASS and bourbon](https://github.com/daleanthony/uno#development) as well.

4) For production exec `grunt production`. This minify and concat your code.

5) Deploy!

## License

MIT © [Kiko Beats](kikobeats.com)
6 changes: 6 additions & 0 deletions TODO.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# TODO

- [ ] Define a 404 page.
- [ ] Create a page with all tags.
- [ ] Integrate comments based on [ouija.js](http://ouija.io/) (Medium style).
- [ ] Better support for static pages.
69 changes: 69 additions & 0 deletions assets/css/global.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
/*
Syntax error: Undefined variable: "$sans-font".
on line 15 of assets/scss/global.scss
10: height: 100%;
11: max-height: 100%;
12: }
13:
14: body {
15: font-family: $sans-font;
16: font-size: 1em;
17: color: $gray-darker;
18: }
19:
20: ::selection {
Backtrace:
assets/scss/global.scss:15
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/script/tree/variable.rb:49:in `_perform'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/script/tree/node.rb:50:in `perform'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:366:in `visit_prop'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/base.rb:36:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:152:in `block in visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/stack.rb:79:in `block in with_base'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/stack.rb:121:in `with_frame'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/stack.rb:79:in `with_base'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:152:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:389:in `block (2 levels) in visit_rule'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:389:in `map'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:389:in `block in visit_rule'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:173:in `with_environment'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:387:in `visit_rule'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/base.rb:36:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:152:in `block in visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/stack.rb:79:in `block in with_base'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/stack.rb:121:in `with_frame'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/stack.rb:79:in `with_base'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:152:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/base.rb:52:in `block in visit_children'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/base.rb:52:in `map'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/base.rb:52:in `visit_children'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:161:in `block in visit_children'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:173:in `with_environment'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:160:in `visit_children'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/base.rb:36:in `block in visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:180:in `visit_root'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/base.rb:36:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:151:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/visitors/perform.rb:8:in `visit'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/root_node.rb:36:in `css_tree'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/tree/root_node.rb:20:in `render'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/engine.rb:274:in `render'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/plugin/compiler.rb:414:in `update_stylesheet'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/plugin/compiler.rb:189:in `block in update_stylesheets'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/plugin/compiler.rb:186:in `each'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/plugin/compiler.rb:186:in `update_stylesheets'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/plugin/compiler.rb:393:in `on_file_changed'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/lib/sass/plugin/compiler.rb:248:in `block in watch'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/vendor/listen/lib/listen/listener.rb:252:in `call'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/vendor/listen/lib/listen/listener.rb:252:in `on_change'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/vendor/listen/lib/listen/listener.rb:290:in `block in initialize_adapter'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/vendor/listen/lib/listen/adapters/polling.rb:48:in `call'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/vendor/listen/lib/listen/adapters/polling.rb:48:in `poll_changed_directories'
/Library/Ruby/Gems/2.0.0/gems/sass-3.3.5/vendor/listen/lib/listen/adapter.rb:299:in `block in start_poller'
*/
body:before {
white-space: pre;
font-family: monospace;
content: "Syntax error: Undefined variable: \"$sans-font\".\A on line 15 of assets/scss/global.scss\A \A 10: height: 100%;\A 11: max-height: 100%;\A 12: }\A 13: \A 14: body {\A 15: font-family: $sans-font;\A 16: font-size: 1em;\A 17: color: $gray-darker;\A 18: }\A 19: \A 20: ::selection {"; }
Loading

0 comments on commit 5a128ec

Please sign in to comment.