@charset "utf-8";
/*!
 * style
 * @author ydr.me
 * 2014-08-25 19:08
 */
html {
    font-size: 62.5%;
}

body {
    font-size: 1.6rem;
}

html, input, button, textarea {
    font: 14px / 1.5 "Segoe UI", "Lucida Grande", Helvetica, Arial, "Microsoft JhengHei", "Microsoft YaHei", STXihei, FreeSans, Arimo, "Droid Sans", "wenquanyi micro hei", "Hiragino Sans GB", "Hiragino Sans GB W3", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    margin: 0;
    padding: 0;
    background: #f5f5f5;
    color: #333;
    word-wrap: break-word;
}

#body {
    max-width: 1000px;
    margin: 0 auto;
    background: #FFF;
    padding: 40px 30px;
    box-shadow: 0 0 10px #C2C2C2;
}

a {
    color: #417fff;
    text-decoration: underline;
}

a:hover {
    color: #345aff;
    text-decoration: underline;
}

h1 {
    line-height: 50px;
    font-size: 30px;
    border-bottom: 3px double #666;
    margin: 50px 0 20px;
}

h1:first-child {
    margin-top: 20px;
}

h2 {
    line-height: 40px;
    font-size: 24px;
    border-bottom: 2px solid #ccc;
    margin: 40px 0 20px;
}

h3 {
    line-height: 30px;
    font-size: 20px;
    border-bottom: 1px solid #ccc;
    margin: 30px 0 20px;
}

h4, h5, h6 {
    line-height: 30px;
    font-size: 16px;
    margin: 20px 0;
}

ul, ol {
    margin: 20px 0;
    padding: 0 0 0 10px;
    list-style-position: inside;
}

ul ol,
ul ul,
ol ul,
ul ol {
    margin: 0 0 0 40px;
}

p {
    margin-bottom: 10px;
}

img {
    vertical-align: middle;
    border: 0;
    max-width: 100%;
    height: auto;
}

code {
    font-family: Monaco, Consolas, "Lucida Console", monospace;
    background: #FFF3F3;
    margin: 0 2px;
    padding: 0px 6px;
    font-style: italic;
    color: #B52B2B;
    border-radius: 4px;
}

pre {
    border: 1px solid #CCC;
    padding: 20px;
    background: #F5F5F5;
    border-radius: 4px;
    margin: 20px 0;
}

pre code {
    margin: 0;
    color: #333;
    background: rgba(0, 0, 0, 0);
    padding: 0;
    border: 0;
    font-style: normal;
    border-radius: 0;
}

blockquote {
    margin: 20px 0;
    padding: 20px;
    border-left: 6px solid #999;
    background-color: #F6F6F6;
}

table {
    margin: 20px 0;
    width: 100%;
    margin-bottom: 25px;
    border: 1px solid #DDD;
    border-collapse: collapse;
    border-left: none;
}

table th {
    font-weight: bold;
    background: #F3F3F3;
    text-align: center;
}

table th,
table td {
    padding: 8px;
    border-left: 1px solid #DDD;
    border-top: 1px solid #DDD;
    line-height: 20px;
    vertical-align: top;
}

/*

github.com style (c) Vasily Polovnyov <vast@whiteants.net>

*/

.hljs {
    display: block;
    overflow-x: auto;
    padding: 0.5em;
    color: #333;
    background: #f8f8f8;
}

.hljs-comment,
.hljs-template_comment,
.diff .hljs-header,
.hljs-javadoc {
    color: #998;
    font-style: italic;
}

.hljs-keyword,
.css .rule .hljs-keyword,
.hljs-winutils,
.javascript .hljs-title,
.nginx .hljs-title,
.hljs-subst,
.hljs-request,
.hljs-status {
    color: #333;
    font-weight: bold;
}

.hljs-number,
.hljs-hexcolor,
.ruby .hljs-constant {
    color: #008080;
}

.hljs-string,
.hljs-tag .hljs-value,
.hljs-phpdoc,
.hljs-dartdoc,
.tex .hljs-formula {
    color: #d14;
}

.hljs-title,
.hljs-id,
.scss .hljs-preprocessor {
    color: #900;
    font-weight: bold;
}

.javascript .hljs-title,
.hljs-list .hljs-keyword,
.hljs-subst {
    font-weight: normal;
}

.hljs-class .hljs-title,
.hljs-type,
.vhdl .hljs-literal,
.tex .hljs-command {
    color: #458;
    font-weight: bold;
}

.hljs-tag,
.hljs-tag .hljs-title,
.hljs-rules .hljs-property,
.django .hljs-tag .hljs-keyword {
    color: #000080;
    font-weight: normal;
}

.hljs-attribute,
.hljs-variable,
.lisp .hljs-body {
    color: #008080;
}

.hljs-regexp {
    color: #009926;
}

.hljs-symbol,
.ruby .hljs-symbol .hljs-string,
.lisp .hljs-keyword,
.clojure .hljs-keyword,
.scheme .hljs-keyword,
.tex .hljs-special,
.hljs-prompt {
    color: #990073;
}

.hljs-built_in {
    color: #0086b3;
}

.hljs-preprocessor,
.hljs-pragma,
.hljs-pi,
.hljs-doctype,
.hljs-shebang,
.hljs-cdata {
    color: #999;
    font-weight: bold;
}

.hljs-deletion {
    background: #fdd;
}

.hljs-addition {
    background: #dfd;
}

.diff .hljs-change {
    background: #0086b3;
}

.hljs-chunk {
    color: #aaa;
}