﻿/*  
Theme Name: WordPress HelloWorld
Theme URI: http://luckyfield.cn/
Description: The WordPress HelloWorld theme based on the famous <a href="http://binarybonsai.com/kubrick/">Kubrick</a>, modified by <a href="http://luckyfield.cn/">貓小豆</a>.
Version: 1.1
Author: Michael Heilemann
Author URI: http://binarybonsai.com/
*/

body {
	font-size: 62.5%; /* Resets 1em to 10px */
	font-family: Verdana, "宋体";
	text-align: center;
	}

#page {
	background-color: white;
	text-align: left;
	width: 100%; 
	padding: 0;	
	}
	
#header {
	width: 100%;
	} 
	
#header_left {
	width: 24%;
	float: left;	
	font-size: 5em;
	padding: 0 0 0 10px;
	font-family: Batang, Verdana, "宋体";	 
	}
	
#header_left a, #header_left a:hover, #header_left a:visited {
	text-decoration: none;
	color: black;
	/* font-weight: bold; */
	}	
	
#header_right {
	margin-left: 24%;
	font-size: 16px;
	line-height: 18px;
	padding: 0 10px;
	font-family: Verdana, "宋体";	 
	}	

#header_line {
	clear: both;
	width: 100%;
	height: 1px;
	border-top: 1px black dashed;
	overflow: hidden;
	margin: 4px 0;
	}	

#content {
	font-size: 16px
	}

.narrowcolumn {
	float: left;
	width: 72%; 
	padding: 0 0 0 20px;
	}

.widecolumn {
	padding: 0 20px; 
	line-height: 20px;	
	}	

.widecolumn .entry p {
	font-size: 16px;
	}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.narrowcolumn .postmetadata {
	text-align: center;
	}
	
#sidebar
{
	margin-left: 75%;
	padding: 10px 20px 10px 0;
	}
	
#sidebar form {
	margin: 0;
	}	

#footer {
	width: 100%;
	clear: both;
	}
	
#footer_line {
	width: 100%;
	height: 1px;
	border-top: 1px black dashed;
	overflow: hidden;
	margin: 0 0 4px 0;
	}		

#footer_text {
	text-align: left;
	font-size: 1.2em;
	line-height: 1.4em;
	padding: 0 0 0 10px;
	font-family: Verdana, "宋体";	 
	}	

.runcode_text {
	height: 120px;
	width: 98%;
	font-family: Verdana, "宋体";
	font-size: 12px;
}

.runcode_button {
	margin: 0;
}

.runcode_tip {
	font-family: Verdana, "宋体";
	font-size: 12px;
}

pre {
	background: #f0f0ee;
	border: 1px solid #cccccc;
	padding: 0;
	margin: 0;
	white-space: pre-wrap;       /* css-3 */
	white-space: -moz-pre-wrap;  /* Mozilla, since 1999 */
	white-space: -pre-wrap;      /* Opera 4-6 */
	white-space: -o-pre-wrap;    /* Opera 7 */
	word-wrap: break-word;       /* Internet Explorer 5.5+ */
}

small {
	font-family: Verdana, "宋体";
	font-size: 0.9em;
	line-height: 1.5em;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align: center;
	}

.post {
	margin: 0 0 40px;
	text-align: left;
	}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin: 30px 0;
	}

.postmetadata {
	clear: left;
}
	
.navigation {
	display: block;
	text-align: center; 
	font-size: 1.2em;
	padding: 10px 0 20px 0;
	margin-bottom: 20px;
	}

.alignright {
	float: right;
         padding-right: 20px;
	}

.alignleft {
	float: left
	}	 	

blockquote {
	margin: 15px 30px 15px 10px;
	padding-left: 20px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	} 

a img {
	border: none;
	}

/* Begin Images */

p img {
	padding: 0;
	max-width: 100%;
	}

/*	Using 'class="alignright"' on an image will (who would've
	thought?!) align the image to the right. And using 'class="centered',
	will of course center the image. This is much better than using
	align="center", being much more futureproof (and valid) */

img.centered {
	display: block;
	margin-left: auto;
	margin-right: auto;
	}

img.alignright {
	padding: 4px;
	margin: 0 0 2px 7px;
	display: inline;
	}

img.alignleft {
	padding: 4px;
	margin: 0 7px 2px 0;
	display: inline;
	}

#sidebar img {
	width: 160px;
	height: 120px;
	}


/* End Images */

/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

html>body .entry ul {
	margin-left: 0px;
	padding: 0 0 0 30px;
	list-style: none;
	padding-left: 10px;
	text-indent: -10px;
	} 

html>body .entry li {
	margin: 7px 0 8px 10px;
	}

/*
.entry ul li:before, #sidebar ul ul li:before {
	content: "\00BB \0020";
	}
*/

.entry ol {
	padding: 0 0 0 35px;
	margin: 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	}

.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 0;
	padding: 0;
	}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 15px;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 0 10px;
	}

#sidebar ul ul ul, #sidebar ul ol {
	margin: 0 0 0 10px;
	}

ol li, #sidebar ul ol li {
	list-style: decimal outside;
	}

#sidebar ul ul li, #sidebar ul ol li {
	margin: 3px 0 0;
	padding: 0;
	}
/* End Entry Lists */

h1 {
	font-size: 4em;
	font-family: Arial, "宋体";
	}

h2 {
	clear: both;
	font-family: Arial, "宋体";	
	font-size: 1.6em;
	margin: 30px 0 0;
	}

h2.pagetitle {
	font-size: 1.6em;
	margin-top: 30px;
	text-align: center;
}	

#sidebar h2 {
	clear: none;
	font-family: Arial, "宋体";
	font-size: 18px;
	margin: 5px 0 0;
	padding: 0;
	}	
	
h3 {
	font-family: Arial, "宋体";
	font-size: 1.6em;
	padding: 0;
	margin: 30px 0 0;	
	}

h2, h2 a, h2 a:visited, h3, h3 a, h3 a:visited {
	color: #333;
	}

h2, h2 a, h2 a:hover, h2 a:visited, h3, h3 a, h3 a:hover, h3 a:visited, #sidebar h2, #wp-calendar caption, cite {
	text-decoration: none;
	} 

h3.comments {
	padding: 0;
	margin: 40px auto 20px ;
	}	

#commentform input {
	width: 170px;
	padding: 2px;
	margin: 5px 5px 1px 0;
	}

#commentform textarea {
	width: 100%;
	padding: 2px;
	}

#commentform #submit {
	margin: 0;
	float: right;
	}

.entry p a:visited {
	color: #b85b5a;
	}	
	
.commentlist li, #commentform input, #commentform textarea {
	font: 0.9em Verdana, "宋体";
	}

.commentlist li {
	font-weight: bold;
	}

.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 1.1em;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	font-family: Verdana, "宋体";
	}

.commentmetadata {
	font-weight: normal;
	}	
	
#sidebar {
	font: 14px Verdana, "宋体";
	}

small, .nocomments, .postmetadata, blockquote, strike {
	color: #777;
	}

#sidebar ul li ul li{
	color: #777;
	}

#sidebar ul li ul li p{
	color: black;
	}
	
a, h2 a:hover, h3 a:hover {
	color: #06c;
	text-decoration: none;
	}

a:hover {
	color: #147;
	text-decoration: underline;
	}	

#sidebar #searchsubmit {
	padding: 1px;
	}	

/* Begin Comments*/
.alt {
	background-color: #f8f8f8;
	border-top: 1px solid #ddd;
	border-bottom: 1px solid #ddd;
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	text-align: justify;
	}

.commentlist li {
	margin: 15px 0 10px;
	padding: 5px 5px 10px 10px;
	list-style: none;
	}
	
.commentlist li ul li { 
	margin-right: -5px;
	margin-left: 10px;
}

.commentlist p {
	margin: 10px 5px 10px 0;
}

.children { padding: 0; }

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0;
	display: block;
	}
/* End Comments */	