@charset "utf-8";

.overall {
    max-width: 960px;
    margin: auto;
    background: url("/static/images/bamboo01.png") top right no-repeat/*,
                url("/static/images/bamboo02.png") top left no-repeat*/;
}
#logo .blogdesc {
    margin: 0.5em 0 0.5em 2em;
}
#nav {
    border-top: 1px dotted #d8d8d8;
    border-bottom: 2px dashed #d8d8d8;
    padding: 0.5em 0;
}
#nav ul {
    margin: 0.5em 0;
    padding: 0;
}
#nav li {
    display: inline;
    float: right;
    font-size: 1em;
    margin-right: 0.5em;
    padding: 0 1em;
    border-top: 5px double #d8d8d8;
}
.post {
    margin: 1em 0.5em;
    padding: 0 0.5em 1em 1em;
}
.post-title {
    font-size: 1.2em;
    padding: 0.5em 0 0.5em 0.5em;
    border-bottom: 1px solid #d8d8d8;
}

a {
    color: #5d5d5d;
    text-decoration: none;
}
a:hover {
    color: #a0a0a0;
}

/* default.html */
#logo .blogname {
    font-family: "FangSong", sans-serif;
    font-size: 3em;
    text-shadow: -2px 3px 4px #a0a0a0;
}
#logo .blogdesc {
    color: #5d5d5d;
    font-family: "KaiTi", "AR PL UKai CN", sans-serif;
}
#logo .rss {
    height: 1em;
    width: 1em;
    border: 0 none;
}
#nav li {
    font-family: "YouYuan", sans-serif;
}
#nav a {
    color: #a0a0a0;
}
#nav a:hover {
    color: #5d5d5d;
    text-shadow: -2px 3px 4px #a0a0a0;
}
#begin {
    color: #5d5d5d;
    font-family: "FangSong", "KaiTi", "AR PL UKai CN", serif;
    text-indent: 2em;
    text-shadow: -2px 3px 4px #a0a0a0;
    border-bottom: 1px solid #d8d8d8;
    padding: 0.5em 0 0.5em 0.5em;
}
#foot {
    font-family: "Ubuntu", "Verdana", sans-serif;
    font-size: 0.9em;
    text-align: center;
    margin-top: 1em;
}
#foot p {
    margin: 0;
}

/* post.html */
.post {
    color: #333;
    font-family: "Lucida Sans Unicode", "Arial", sans-serif;
    border: 1px solid #d8d8d8;
    border-radius: 0.5em;
    box-shadow: -3px 3px 20px #d8d8d8;
}
.post-title {
    color: #5d5d5d;
    border-bottom: 1px solid #d8d8d8;
}
.post-title a:hover {
    border-bottom: 1px dotted #a0a0a0;
}
.post-time {
    color: #5d5d5d;
    font-family: "Georgia", "Times New Roman", "URW Palladio L", serif;
    font-style: italic;
    margin-top: 1em;
}
.post-link {
    border-top: 1px dotted #d8d8d8;
    margin-bottom: 1em;
    padding: 0.5em;
}
.post-link a {
    border-bottom: 1px dashed #a0a0a0;
}
.post-link .prev {
    float: left;
}
.post-link .next {
    float: right;
}
.disqus-button {
    cursor: pointer;
    background: #f8f8f8;
    border: 1px solid #d8d8d8;
    border-radius: 0.5em;
    padding: 0.2em;
}
.clearfix {
    clear: both;
}

/* index.html */
.pagination {
    margin: 2em 0 0 2em;
}
.pagination li {
    display: inline;
}
.pagination li a {
    border-bottom: 1px dotted #a0a0a0;
}

/* tags.html */
.tag-name {
    margin: 1em 0.5em;
}
.tag-name ul {
    padding: 0;
}
.tag-name li {
    display: inline;
    float: left;
    background: #f8f8f8;
    border-radius: 1em;
    margin-right: 0.5em;
    padding: 0.5em;
}
.tag-list li {
    list-style: circle;
}

/* archives.html */
.archive li {
    list-style: square;
}

/* toTop.js */
#toTop {
    cursor: pointer;
    color: #5d5d5d;
    font-size: 3em;
    text-decoration: overline;
    position: fixed;
    right: 30px;
    bottom: 30px;
}

/* post content style */
.post-content h1, h2, h3 {
    font-weight: normal;
}
.post-content p {
    text-indent: 2em;
    line-height: 1.5em;
}
.post-content blockquote {
    font-size: 0.8em;
    background: #f8f8f8;
    border: 1px dashed #d8d8d8;
    border-radius: 0.5em;
    margin: 1em 1em 1em 2em;
    padding: 0 1em;
}
.post-content blockquote p {
    text-indent: 0;
}
.post-content blockquote ol {
    padding: 0 1em;
}
.post-content a {
    color: #a0a0a0;
}
.post-content a:hover {
    color: #5d5d5d;
}
.post-content em {
    color: #5d5d5d;
    font-family: monospace;
    font-style: normal;
    border-bottom: 2px dotted #a0a0a0;
}
.post-content img {
    border: 0 none;
    max-width: 90%;
    max-height: 800px;
    box-shadow: 2px 2px 4px #a0a0a0;
    margin: auto;
}
.post-content pre {
    font-size: 0.8em;
    background: #f8f8f8;
    border: 1px solid #d8d8d8;
    border-radius: 0.5em;
    margin: 1em 1em 1em 2em;
    padding: 0.5em 1em;
    overflow: auto;
}
.post-content code {
    font-family: "Lucida Console", "Consolas", "DejaVu Sans Mono", "Droid Sans Mono", monospace;
    background: #f8f8f8;
    border: 1px solid #d8d8d8;
    border-radius: 3px 3px;
    box-shadow: 1px 1px 1px #a0a0a0;
    margin: 0 3px;
    padding: 0.2em;
}
.post-content pre code {
    background: none;
    border: none;
    box-shadow: none;
    margin: 0;
    padding: 0;
}
.post-content table {
    border-collapse: collapse;
    border-spacing: 0;
}
.post-content table th, .post table td {
    border: 1px solid #d8d8d8;
    padding: 5px 10px;
}
.post-content table th {
    background: #f8f8f8;
}
