﻿/*
Theme Name: Dark
Version: 0.01
Author: If
Author URI: http://www.if-yu.info
*/

body, document {
	background: white ;
}

* {
	font-family:'Palatino ','Georgia','times new roman', 'bitstream vera serif', "微软雅黑", serif;
	margin: 0;
	padding: 0;
	line-height: 1.5em;
}

h1,h1 a,h2,h2 a,h3,h3 a,h4,h4 a,h5,h5 a,h6,h6 a{
	font-family: Verdana, Arial, Helvetica, "微软雅黑", sans-serif; 
}

a {
	color: black;
	text-decoration: none;
}
a:hover {
	color: orange;
	text-decoration: underline;
}

.monospaced , pre, pre span, pre *, blockquote {
	font-family: consolas, "Monaco", "Bitstream Vera Sans Mono", "Courier New", Courier, '微软雅黑', monospace;
}

img {
	border: none;
}

input[type=button], input[type=submit] {
	background: white;
	color: black;
	border: 1px solid gray;
	padding: 0 6px;
}

input[type=text] {
	background: white;
	color: gray;
	border: 1px solid gray;
}

#wrap {
	color: #555;
	padding: 0;
	margin: 0;
	width: 97%;
}

#header {
	margin: 0;
	position: 0 0;
	height: 120px;
	color: black;
}
#header-title {
	display: block;
	float: left;
	margin-left: 24px;
}

#header h1 {
	font-size: 32px;
	line-height: 1em;
	font-weight: bold;
	margin-top: 20px;
	margin-left: 0;
	margin-right: 0;
	cursor: pointer;
}
#header .description {
	font-size: 14px;
	margin-top: 12px;
	margin-left: 16px;
	font-family: consolas, 'courier new', '微软雅黑', monospace;
}
#header-pages {
	display: block;
	background: #ccc;
	float: right;
	margin-top: 0;
	margin-right: 16px;
	border-right: 8px solid #ccc;
	border-left: 8px solid #ccc;
	border-bottom: 4px solid #ccc;
	font-size: 12px;
	padding: 0;
	-webkit-border-bottom-right-radius: 6px;
	-webkit-border-bottom-left-radius: 6px;
	-moz-border-radius-bottomright: 6px;
	-moz-border-radius-bottomleft: 6px;
	border-bottom-right-radius: 6px;
	border-bottom-left-radius: 6px;
}
#header-pages li {
	margin: 0 6px;
	padding: 0;
	display: inline;
	line-height: 24px;
	height: 24px;
}
#header-pages li a {
	font-weight: bold;
}
#header-pages li a:hover {
	color: white;
}

#main {
	/*margin-top: 100px;*/
	width: 880px;
	margin: 124px 24px 24px auto;
}

.forFlow .post {
	border-bottom: 1px dashed #bbb;
	border-top: 1px dashed #bbb;
	margin: 32px 8px 0 8px;
	width: 716px;
	padding: 8px;
	color: black;
	background: white;
}
.single-page-post .post {
	border-bottom: 1px dashed #bbb;
	border-top: 1px dashed #bbb;
	margin: 32px 8px 0 8px;
	width: 716px;
	padding: 8px;
	color: black;
	background: white;
}

.post:nth-child(even) {
    margin: 32px 8px 0 auto;
}
.post a {
    color: black;
}
.post a:hover {
	color: orange;
}
.post input {
	clear: all;
	background: white;
	color: black;
	border: 1px solid gray;
}
.post .post-title {
	text-shadow: 1px 1px 3px gray;
}
.post .post-title a:hover {
	color: orange;
	text-shadow: 1px 1px 3px yellow;
}
.post .post-title .fold-handle{
	background: url('images/ocx4-wt.png') 0 0;
	margin: 6px 0 0 0;
	padding: 0;
	font-size: 8px;
	width: 24px;
	height: 24px;
	border: none;
	color: black;
	font-weight: bold;
	display: inline;
	cursor: pointer;
	float: right;
}
.post .post-title .fold-handle:hover {
	background: url('images/ocx4-wt.png') -24px 0;
}
.post .post-title .open{
	background: url('images/ocx4-wt.png') 0 -24px;
}
.post .post-title .open:hover {
	background: url('images/ocx4-wt.png') -24px -24px;
}
.post .postmetadata-top {
	padding-bottom: 4px;
	border-bottom: 1px dashed #ddd;
	margin-bottom: 16px;
	font-size: small;
	font-family: 'Palatino ','Georgia','times new roman', 'bitstream vera serif', serif;
	color: #777;
}
.post .postmetadata-top span {
	margin-right: 16px;
}
.post .postmetadata-top * {
	font-family: 'Palatino ','Georgia','times new roman', 'bitstream vera serif', serif;
	color: #777;
}
.post .postmetadata-top a:hover{
	color:black;
}
.entry p {
	margin: 1em 0;
}
.entry li {
	margin-left: 1.5em;
}
.entry h1 {
	font-size: 24px;
	font-weight: bold;
	margin-top: 1em;
}
.entry h2 {
	font-size: 20px;
	font-weight: bold;
	margin-top: 1em;
}
.entry h3 {
	font-size: 18px;
	margin-top: 1em;
}
.entry a {
	color: #995200;
}
.postmetadata {
	font-size: small;
	color: gray;
	margin-top: 8px;
	font-weight: bold;
}
.postmetadata .post-cat {
	margin-right: 16px;
}
.postmetadata * {
	font-family: 'Palatino ','Georgia','times new roman', 'bitstream vera serif', serif;
}
.postmetadata a {
	color: gray;
	font-weight: normal;
}
.postmetadata a:hover {
	color: black;
}
.copyright-notice {
	border-top: 1px dashed #ddd;
	margin-top: 16px;
	font-size: 12px;
	font-weight: bold;
	color: gray;
}
.copyright-notice a {
	color: gray;
}
.copyright-notice a:hover {
	color: blue;
}

#comments-wrap{ 
	width: 600px;
	margin:160px 20px 20px auto; padding:16px 16px;
}
#comments-wrap h2{
	margin:0px 10px 0 0;
	padding:0px;
	font-size:14px;
	display:inline;
	height:30px;
}
.goto-comment{ padding:0 15px 0 8px; border-left:1px solid #ddd; line-height:22px; }
#comments-wrap ul{ 
	margin:10px 0 20px 0;
	padding:0; 
}
#comments-wrap ul li { 
	margin: 5px 0 0px 0; 
	padding:0; 
	border:1px solid #eee; 
	list-style:none;
}
.commentleft{ float:left; margin:0 8px 8px 8px; }
.commentcount{ font-weight:bold; font-size:11px; color:gray; text-align:center; line-height:22px;}
.commentright { margin:0 10px 0 55px; }
.commentright .header{ margin:0; padding:0; line-height:22px; border-bottom:1px dashed #bbb;}
.commentright .waiting{ margin:5px 0; background:#FFCCCC; border:1px solid #FF3366;}
.commentright .commenttext{ margin:10px 5px 10px 5px; padding:0px; line-height:22px; word-wrap: break-word; }
#comments-wrap ol{ margin:10px 0; padding:0; }
#comments-wrap ol li{ padding:0 0 0 0px; margin:0 0 0 0px; list-style-type:none; line-height:22px; color:#2cacda;}
#comments-wrap ol li a{margin: 5px 0 0px 0; padding:0 0 0 15px; color:#787878;}
#comments-wrap ol li a:hover{ color:#85bf73; }
#conmmentform{ padding:10px 20px; border:1px solid #e4e4e3; }
.conmmentform-title{ margin:10px 0 0 0; padding:0px; line-height:22px;}
#conmmentforminfo{ float:left; margin:0px 15px 0 0; width:160px; display:inline;}
#conmmentforminfo input{padding:2px 2px ; color:#787878; font-size:12px; border:1px solid #c4c4c4; width:150px;}
#conmmentforminfo input:hover{
	border:1px solid gray;
	color: black;
}
#conmmentformtext{ margin:0 0 0 175px ; padding:0; }
#conmmentformtext textarea{ margin:0px; padding:2px 2px ;width:96%; border:1px solid #c4c4c4; color:#787878; font-size:12px;}
#conmmentformtext textarea:hover{border:1px solid #00A4EE;}
.comment-button{ 
	margin:5px 0; width:80px; height:20px; 
	cursor:pointer; 
	color: gray;
	background: #111;
}
.comment-button:hover{ 
	color: black; 
}
#commentsnavi a,#commentsnavi span{display:block;padding:4px;margin:1px;float:left;border:1px solid #cccccc;text-decoration:none;line-height:1}
#commentsnavi{clear:both;height:20px;margin:10px 0}

#nav-pre {
	float: left;
}
#nav-next {
	float: right;
}
.navigation {
	margin-top: 20px;
	width: 748px;
	margin-bottom: 8px;
	text-align: center;
	display: block;
}
.navigation .previous {
	float: left;
	margin-left: 8px;
}
.navigation .next {
	float: right;
	margin-right: 8px;
}
.related {
	display: block;
	width: 748px;
	padding: 8px;
	margin: 8px;
}
.related ul {
	list-style: square;
	margin-left: 18px;
}
.related li {
	padding-left: 8px;
}
.related li .date {
	font-family: 'Palatino ','Georgia','times new roman', 'bitstream vera serif', serif;
	font-size: small;
}
.related li a:hover {
	color: black;
}

#sidebar {
	margin-top: 400px;
	font-size: 12px;
	padding: 8px;
	color: gray;
}
#sidebar h2 {
	font-size: 16px;
	font-weight: bold;
}
#sidebar ul {
	list-style: none;
}
.sidebar-item {
	margin-top: 8px;
	margin-bottom: 8px;
	padding-left: 8px;
	padding-top: 4px;
	padding-bottom: 4px;
}

.sidebar-item li {
	padding-left: 8px;
}

#buzz {
	background: url('images/bz-favicon-wt.png') top left no-repeat;
	margin-top:4px;
	padding-left: 20px;
	height: 18px;
}
#buzz a {
	font-weight: bold;
}
#friendfeed {
	background: url('images/ff-favicon.png') top left no-repeat;
	padding-left: 20px;
	height: 18px;
}
#twitter {
	background: url('images/tt-favicon-wt.png') top left no-repeat;
	padding-left: 20px;
	height: 18px;
}

#left-sidebar {
	width: 388px;
	float: left;
}
#right-sidebar {
	width: 388px;
	float: right;
}

#footer {
	padding: 8px;
	margin-top: 100px;
	font-size: 12px;
	color: gray;
}
#footer a, #sidebar a, #sidebar input{
	color: gray;
}
#sidebar a:hover{
	color: black;
}

.long-v-space {
	height: 6000px;
}
.short-v-space {
	height: 2000px;
}
.half-screen {
	height: 400px;
}
.boring-text {
	font-size: 24px;
	text-align: center;
	font-weight: bold;
}
.center{ text-align:center;}
.clear{ clear:both; font-size:0px; height:0px;} 
.comment img{
	max-width: 520px; width:expression(this.width > 520 ? "520px" : this.width)
}

pre, blockquote {
	border:1px dashed #CCC;
	padding:8px 12px 8px 12px;
	margin:5px 0;
	font-family: consolas, "Monaco", "Bitstream Vera Sans Mono", "Courier New", Courier, '微软雅黑', monospace;
}

pre {
	white-space: pre;
}

#to-top {
	float:right;
	margin: 16px;
	display: none;
	font-size: 16px;
	font-weight: bold;
}

/*ReStructured Text Section*/
cite{font-family:'Palatino ','Georgia','times new roman', 'bitstream vera serif','微软雅黑','文泉驿微米黑','仿宋',serif;font-style:italic;}.document p{font-family:"Times New Roman","Bitstream Vera Serif","微软雅黑","文泉驿微米黑","仿宋",serif}tt.literal{font-family:consolas,"Monaco", "Bitstream Vera Sans Mono", "Courier New", Courier, monospace;padding:0 2px;background:#fafafa;border:1px solid #e2e2e2;}
.borderless,table.borderless td,table.borderless th{border:0}table.borderless td,table.borderless th{padding:0 0.5em 0 0 ! important}.first{margin-top:0 ! important}.last,.with-subtitle{margin-bottom:0 ! important}.hidden{display:none}a.toc-backref{text-decoration:none;color:black}blockquote.epigraph{margin:2em 5em}dl.docutils dd{margin-bottom:0.5em;margin-left:2em;}dl.docutils dt{font-weight:bold}div.abstract{margin:2em 5em}div.abstract p.topic-title{font-weight:bold;text-align:center}div.admonition,div.attention,div.caution,div.danger,div.error,div.hint,div.important,div.note,div.tip,div.warning{margin:2em;border:medium outset;padding:1em}div.admonition p.admonition-title,div.hint p.admonition-title,div.important p.admonition-title,div.note p.admonition-title,div.tip p.admonition-title{font-weight:bold;font-family:sans-serif}div.attention p.admonition-title,div.caution p.admonition-title,div.danger p.admonition-title,div.error p.admonition-title,div.warning p.admonition-title{color:red;font-weight:bold;font-family:sans-serif}div.compound .compound-first,div.compound .compound-middle{margin-bottom:0.5em}div.compound .compound-last,div.compound .compound-middle{margin-top:0.5em}div.dedication{margin:2em5em;text-align:center;font-style:italic}div.dedication p.topic-title{font-weight:bold;font-style:normal}div.figure{margin-left:2em;margin-right:2em}div.footer,div.header{clear:both;font-size:smaller}div.line-block{display:block;margin-top:1em;margin-bottom:1em}div.line-block div.line-block{margin-top:0;margin-bottom:0;margin-left:1.5em}div.sidebar{margin:0 0 0.5em 1em;border:medium outset;padding:1em;background-color:#ffe;width:40%;float:right;clear:right}div.sidebar p.rubric{font-family:sans-serif;font-size:medium}div.system-messages{margin:5em}div.system-messages h1{color:red}div.system-message{border:medium outset;padding:1em}div.system-message p.system-message-title{color:red;font-weight:bold}div.topic{margin:2em}h1.section-subtitle,h2.section-subtitle,h3.section-subtitle,h4.section-subtitle,h5.section-subtitle,h6.section-subtitle{margin-top:0.4em}h1.title{text-align:center}h2.subtitle{text-align:center}hr.docutils{width:75%}img.align-left,.figure.align-left,object.align-left{clear:left;float:left;margin-right:1em}img.align-right,.figure.align-right,object.align-right{clear:right;float:right;margin-left:1em}img.align-center,.figure.align-center,object.align-center{display:block;margin-left:auto;margin-right:auto}.align-left{text-align:left}.align-center{clear:both;text-align:center}.align-right{text-align:right}div.align-right{text-align:left}ol.simple,ul.simple{margin-bottom:1em}ol.arabic{list-style:decimal}ol.loweralpha{list-style:lower-alpha}ol.upperalpha{list-style:upper-alpha}ol.lowerroman{list-style:lower-roman}ol.upperroman{list-style:upper-roman}p.attribution{text-align:right;margin-left:50%}p.caption{font-style:italic}p.credits{font-style:italic;font-size:smaller}p.label{white-space:nowrap}p.rubric{font-weight:bold;font-size:larger;color:maroon;text-align:center}p.sidebar-title{font-family:sans-serif;font-weight:bold;font-size:larger}p.sidebar-subtitle{font-family:sans-serif;font-weight:bold}p.topic-title{font-weight:bold}pre.address{margin-bottom:0;margin-top:0;font:inherit}span.classifier{font-family:sans-serif;font-style:oblique}span.classifier-delimiter{font-family:sans-serif;font-weight:bold}span.interpreted{font-family:sans-serif}span.option{white-space:nowrap}span.pre{white-space:pre}span.problematic{color:red}span.section-subtitle{font-size:80%}table.citation{border-left:solid 1px gray;margin-left:1px}table.docinfo{margin:2em 4em}table.docutils{margin-top:0.5em;margin-bottom:0.5em;border-collapse:collapse}table.footnote{ border-left:solid 1px black;margin-left:1px}.footnote-reference{font-size:small}table.docutils td,table.docutils th,table.docinfo td,table.docinfo th{ padding-left:0.5em; padding-right:0.5em; vertical-align:top} table.docutils th.field-name,table.docinfo th.docinfo-name{ font-weight:bold; text-align:left; white-space:nowrap; padding-left:0} h1 tt.docutils,h2 tt.docutils,h3 tt.docutils,h4 tt.docutils,h5 tt.docutils,h6 tt.docutils{ font-size:100%} ul.auto-toc{ list-style-type:none} 

