Skip to content

Commit

Permalink
first commit
Browse files Browse the repository at this point in the history
  • Loading branch information
tommy351 committed Nov 4, 2012
0 parents commit a3b0d5a
Show file tree
Hide file tree
Showing 91 changed files with 8,513 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
.DS_Store
node_modules
64 changes: 64 additions & 0 deletions _config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
# Basic
title: Hexo
subtitle: Node.js blog framework
description: Hexo is a simple, fast blog framework powered by Node.js.
url: http://zespia.tw/hexo
author: SkyArrow
email: [email protected]
language:

# Permalink
root: /
permalink: :category/:title/
tag_dir: tags
archive_dir: archives
category_dir: posts

# Archives
# 2: Paginate result
# 1: Display result in same page
archive: 0
category: 0
tag: 0

# Server
# Hexo uses Connect to serve static files
# Reference: http://www.senchalabs.org/connect/
port: 4000
logger: false
logger_format:

# Date / Time format
# Hexo uses Moment.js to parse and display date
# Reference: http://momentjs.com/docs/#/displaying/format/
date_format: MMM D, YYYY
time_format: H:mm:ss

# Pagination
per_page: 0
pagination_dir: page

# Disqus
disqus_shortname:

# Extensions
plugins:
theme: hexo
exclude_generator:
- category
- tag
- home
- post
- archive

# Enhancement
auto_spacing: true
titlecase: false

# Deployment
# Type: github, heroku
# Read documentaion for more information
deploy:
type: github
repository: https://github.com/tommy351/hexo.git
branch: gh-pages
10 changes: 10 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"name": "hexo",
"version": "0.0.1",
"private": true,
"engines": {
"node": ">0.6.0",
"npm": ">1.1.0"
},
"dependencies": {}
}
Binary file added public/css/images/shattered.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/css/images/[email protected]
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
303 changes: 303 additions & 0 deletions public/css/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,303 @@
@import url("http://fonts.googleapis.com/css?family=Lato:400,400italic,300,700");
* {
margin: 0;
padding: 0;
}
body {
background: url("images/shattered.png") #dcdcdc;
background-position: 0 0;
color: #444;
font-family: 'Lato', 'Helvetica Neue', 'Helvetica', Arial, sans-serif;
font-size: 14px;
text-shadow: 0 0 1px #fff;
}
h1,
h2,
h3 {
font-weight: 300;
}
h1 {
font-size: 1.8em;
}
h2 {
font-size: 1.5em;
}
h3 {
font-size: 1.3em;
}
a {
text-decoration: none;
color: #258fb8;
}
a:hover {
text-decoration: underline;
}
.alignleft {
float: left;
}
.alignright {
float: right;
}
.clearfix {
zoom: 1;
}
.clearfix:before,
.clearfix:after {
content: "";
display: table;
}
.clearfix:after {
clear: both;
}
.wrapper {
width: 1200px;
margin: 0 auto;
}
#content {
width: 890px;
padding: 50px 40px;
float: right;
background: rgba(255,255,255,0.5);
-webkit-box-shadow: 0 0 20px #d2d2d2;
box-shadow: 0 0 20px #d2d2d2;
}
#header {
width: 200px;
float: left;
line-height: 1;
margin-top: 50px;
}
#header a {
color: #444;
}
#header a:hover {
text-decoration: none;
color: #258fb8;
}
#header h1 {
font-size: 50px;
}
#header nav ul {
list-style: none;
font-weight: 300;
margin-top: 30px;
font-size: 1.2em;
}
#header nav li {
margin-top: 20px;
}
article.index header strong {
font-size: 2em;
font-weight: 300;
display: block;
margin-bottom: 30px;
}
article.index .twitter-share-button {
float: left;
}
article {
margin-bottom: 50px;
}
article .entry {
line-height: 1.6;
}
article .entry p,
article .entry ul,
article .entry ol,
article .entry dl,
article .entry blockquote,
article .entry table,
article .entry iframe,
article .entry h3,
article .entry h4,
article .entry h5,
article .entry h6,
article .entry .video-container {
margin-top: 15px;
}
article .entry ul,
article .entry ol,
article .entry dl {
margin-left: 20px;
}
article .entry ul ul,
article .entry ol ul,
article .entry dl ul,
article .entry ul ol,
article .entry ol ol,
article .entry dl ol,
article .entry ul dl,
article .entry ol dl,
article .entry dl dl {
margin-top: 0;
}
article .entry img,
article .entry video {
max-width: 100%;
height: auto;
border: none;
}
article .entry h1,
article .entry h2 {
margin-top: 30px;
padding-top: 20px;
border-top: 1px dashed #ddd;
}
article .entry code,
article .entry pre {
font-family: Monaco, Menlo, Consolas, Courier New, monospace;
}
article .entry code {
background: #e9e9e9;
border: 1px solid #ddd;
font-size: 0.9em;
margin: 0 5px;
padding: 0 5px;
color: #666;
}
article .entry pre {
margin-top: 15px;
background: #e9e9e9;
border: 1px solid #ddd;
padding: 7px 15px;
overflow: auto;
}
article .entry pre code {
background: none;
border: none;
margin: 0;
padding: 0;
}
article .entry .video-container {
position: relative;
padding-bottom: 56.25%;
padding-top: 30px;
height: 0;
overflow: hidden;
}
article .entry .video-container iframe,
article .entry .video-container object,
article .entry .video-container embed {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
margin-top: 0;
}
#footer {
color: #999;
font-size: 0.9em;
}
#footer a {
color: #999;
}
#footer a:hover {
text-decoration: none;
color: #258fb8;
}
figure.highlight {
background: #e9e9e9;
border: 1px solid #ddd;
padding: 7px 15px;
margin-top: 15px;
overflow: auto;
position: relative;
color: #666;
}
figure.highlight figcaption {
color: #999;
margin-bottom: 5px;
text-shadow: 0 0 1px #fff;
}
figure.highlight figcaption a {
position: absolute;
right: 15px;
}
figure.highlight table {
margin-top: 0;
border-spacing: 0;
}
figure.highlight pre {
margin: 0;
padding: 0;
border: none;
}
figure.highlight .gutter {
color: #999;
padding-right: 15px;
border-right: 1px solid #ddd;
text-align: right;
}
figure.highlight .code {
padding-left: 15px;
border-left: 1px solid #fff;
}
pre .comment,
pre .template_comment,
pre .diff .header,
pre .doctype,
pre .pi,
pre .lisp .string,
pre .javadoc {
color: #93a1a1;
font-style: italic;
}
pre .keyword,
pre .winutils,
pre .method,
pre .addition,
pre .css .tag,
pre .request,
pre .status,
pre .nginx .title {
color: #859900;
}
pre .number,
pre .command,
pre .string,
pre .tag .value,
pre .phpdoc,
pre .tex .formula,
pre .regexp,
pre .hexcolor {
color: #2aa198;
}
pre .title,
pre .localvars,
pre .chunk,
pre .decorator,
pre .built_in,
pre .identifier,
pre .vhdl,
pre .literal,
pre .id {
color: #268bd2;
}
pre .attribute,
pre .variable,
pre .lisp .body,
pre .smalltalk .number,
pre .constant,
pre .class .title,
pre .parent,
pre .haskell .type {
color: #b58900;
}
pre .preprocessor,
pre .preprocessor .keyword,
pre .shebang,
pre .symbol,
pre .symbol .string,
pre .diff .change,
pre .special,
pre .attr_selector,
pre .important,
pre .subst,
pre .cdata,
pre .clojure .title {
color: #cb4b16;
}
pre .deletion {
color: #dc322f;
}
Loading

0 comments on commit a3b0d5a

Please sign in to comment.