﻿@charset "utf-8";
/*  
Theme Name: RexSong 2007
Theme URI: http://blog.rexsong.com/
Description: 基于著改而来的 WordPress 默认主题。
Version: 1.0
Author: Rex Song
Author URI: http://www.rexsong.com/


	This theme was designed and built by Michael Heilemann,
	whose blog you will find at http://binarybonsai.com/

	The CSS, XHTML and design is released under GPL:
	http://www.opensource.org/licenses/gpl-license.php

*/

/* Begin Typography & Colors */
body {
	font-size:14px;
	font-family:"Lucida Grande", "Lucida Sans Unicode", "Lucida Sans", Verdana, Arial, sans-serif;
	color:#333;
	text-align:center;
	background:#f3f3f3;
	} /* 'Lucida Grande' */

div, p, li, td, a { word-wrap:break-word;}

/* table { table-layout:fixed; word-wrap:break-word; word-break:break-all; } */

#page { text-align:left;}


#headerimg { margin:5px 0 25px; } 

#content { font-size:14px; background:#fff;}

.entry p { font-size:14px; font-family:"Lucida Grande";}
.entry h4 { padding-top:10px;}
.entry img { border:1px #333 solid;}
/* .entry blockquote p { font-size:12px;}
.entry img 
{
	background:url(shadow.gif) no-repeat right bottom;
	padding:0 10px 10px 0; position:relative;
	border:none;
} */

.entry ul, .entry ol { margin-top:20px; margin-bottom:20px;}

.narrowcolumn .entry, .widecolumn .entry {
	line-height: 1.4em;
	}

.widecolumn {
	line-height: 1.6em;
	}

.narrowcolumn .postmetadata {
	
	}

.alt {
	background-color: #;
	}

#footer {
	border: none;
	}

small {
	font-size:12px;
	line-height:1.5em;
	margin:0 0 30px;
	}

h1, h2, h3 {
	font-weight: bold;
	}

h1 { font-size:32px;}
h2 { font-size:24px;}
h3 { font-size:24px;} /* 20px */
h4 { font-size:20px;}
h5 { font-size:16px;}
h6 { font-size:14px;}

h1.pagetitle {
	margin:0;
	}

#sidebar h2 {
	margin:15px 0;
	color:#999;
	}
#sidebar h4 {
	margin:15px 0;
	color:#999;
	}

h1, h1 a, h1 a:hover, h1 a:visited, #headerimg { line-height:1.1; color:#000;}

	.description { color:#999; font-size:12px;}

#content h3, #content h3 a, #content 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 {
	font-weight:bold;
	letter-spacing:-1px;
	}

.entry p a:visited {
	color: #b85b5a;
	}

.commentlist li, #commentform input, #commentform textarea {
	font-size:12px;
	}


.commentlist cite, .commentlist cite a {
	font-weight: bold;
	font-style: normal;
	font-size: 14px;
	}

.commentlist p {
	font-weight: normal;
	line-height: 1.5em;
	text-transform: none;
	}

#commentform p {
	}

.commentmetadata {
	font-weight: normal;
	}

#sidebar {
	font-size:12px;
	padding-bottom:40px;
	}

small, #sidebar ul ul li, #sidebar ul ol li, .nocomments, .postmetadata, blockquote, strike {
	color: #999;
	}

code {
	font-size:11px;
	}

acronym, abbr, span.caps
{
	font-size: 1.0em;
	letter-spacing: .07em;
	}

a, h2 a:hover, h3 a:hover {
	color: #06c;
	}

a:hover {
	color: #147;
	text-decoration: none;
	}

#wp-calendar #prev a, #wp-calendar #next a {
	font-size: 9pt;
	}

#wp-calendar a {
	text-decoration: none;
	}

#wp-calendar caption {
	font-size:12px;
	font-weight:bold;
	text-align: center;
	}

#wp-calendar th {
	font-style: normal;
	text-transform: capitalize;
	}
/* End Typography & Colors */



/* Begin Structure */
body {
	margin: 0;
	padding: 0; 
	}

#page {
	margin: 0 auto 0 0;
	padding: 0;
	width: 820px;
	}

#header { padding:0; margin:40px 0;}


.narrowcolumn {
	float: left;
	padding: 0 40px 20px 40px;
	margin: 0;
	width: 600px;
	}

.widecolumn { /* 浏览文章 */
	float: left;
	padding: 0 40px 20px 40px;
	margin: 0;
	width: 600px;
	}

.post {
	margin:0 0 40px;
	text-align: justify;
	clear:both;
	}
	
	.post h3 { margin:0 0 0;}

.post hr {
	display: block;
	}

.widecolumn .post {
	margin: 0;
	}

.narrowcolumn .postmetadata {
	padding-top: 5px;
	}

.widecolumn .postmetadata {
	margin:0 0 30px;
	}

.widecolumn .smallattachment {
	text-align: center;
	float: left;
	width: 128px;
	margin: 5px 5px 5px 0px;
}

.widecolumn .attachment {
	text-align: center;
	margin: 5px 0px;
}

.postmetadata {
	font-size:12px;
	font-family:Tahoma;
	}

#footer {
	padding: 0;
	margin: 0 auto;
	clear: both;
	}

#footer p {
	margin:40px 0 20px;
	font-size:12px;
	color:#ccc;
	}
	#footer a { color:#ccc;}
/* End Structure */



/*	Begin Headers */
h1 {
	padding: 0;
	margin: 0;
	}

h2 {
	margin: 30px 0 0;
	}

h1.pagetitle {
	margin-top: 0;
	color: #bbb;
}

	h1.pagetitle span { color:#000;}

#sidebar h2 {
	margin:0 0 10px;
	padding: 0;
	}

#sidebar p, #sidebar li { line-height:18px;}

h3 {
	padding: 0;
	margin: 30px 0 0;
	}

h3.comments {
	padding: 0;
	margin: 40px auto 30px ;
	}
/* End Headers */



/* 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;
	}

.alignright {
	float: right;
	}

.alignleft {
	float: left
	}
/* End Images */



/* Begin Lists

	Special stylized non-IE bullets
	Do not work in Internet Explorer, which merely default to normal bullets. */

.entry ul {
	}
	
html>body .entry ul {
	margin-left: 40px;
	padding: 0 0 0 0;
	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 40px;
	margin: 20px 0;
	}

.entry ol li {
	margin: 0;
	padding: 0;
	list-style-position:outside;
	}
	
*html .entry table { margin:20px 0;}
	
.postmetadata ul, .postmetadata li {
	display: inline;
	list-style-type: none;
	list-style-image: none;
	}

#sidebar ul, #sidebar ul ol {
	margin: 15px 0;
	padding: 0;
	}
	
	#sidebar ul { margin-left:2px; margin-bottom:40px;}
	
	#sidebar ul#categories {}
		#sidebar ul#categories li { color:#999;}
		#sidebar ul#categories ul.children {}
		#sidebar ul#categories ul.children li {}
	#sidebar ul#new_comment {}
		#sidebar ul#new_comment li { margin:10px 0;}
		#sidebar ul#new_comment li b { text-transform:capitalize;}
	
	#sidebar a {}
	
	.page_item {}
	.current_page_item, .current-cat {}
		.current_page_item a, .current-cat a { font-weight:bold; color:#000;}

#sidebar ul li {
	list-style-type: none;
	list-style-image: none;
	margin-bottom: 0;
	}

#sidebar ul p, #sidebar ul select {
	margin: 5px 0 8px;
	}

#sidebar ul ul, #sidebar ul ol {
	margin: 5px 0 5px 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 */



/* Begin Form Elements */
#searchform {
	margin: 10px auto;
	padding: 0; 
	}

#sidebar #searchform #s {
	width:121px;
	padding:1px;
	font-size:12px;
	margin:0 0 0 2px;
	}

#sidebar #searchsubmit {
	padding: 1px;
	font-size:12px;
	}

.entry form { /* This is mainly for password protected posts, makes them look better. */
	text-align:center;
	}



#commentform input { width:170px; padding:2px; margin:0;}

#commentform textarea { width: 80%; padding: 2px; margin:5px 0 0;}

#commentform #submit {
	margin: 0;
	}
/* End Form Elements */



/* Begin Comments*/
.alt {
	margin: 0;
	padding: 10px;
	}

.commentlist {
	padding: 0;
	margin:30px 0 0;
	text-align: justify;
	}

.commentlist li {
	margin:0 0 10px;
	padding:0;
	list-style-type:none;
	}

.commentlist p {
	margin: 10px 5px 10px 0;
	}

#commentform p {
	margin: 5px 0;
	}

.nocomments {
	text-align: center;
	margin: 0;
	padding: 0;
	}

.commentmetadata {
	margin: 0 0;
	display: block;
	}
/* End Comments */



/* Begin Sidebar */
#sidebar
{
	padding: 0 0 0 20px;
	width: 210px;
	text-align:left;
	position:absolute; top:40px; left:690px;
	}

#sidebar form {
	margin: 0;
	}
/* End Sidebar */



/* Begin Calendar */
#wp-calendar {
	empty-cells: show;
	margin: 10px auto 0;
	width: 155px;
	}

#wp-calendar #next a {
	padding-right: 10px;
	text-align: right;
	}

#wp-calendar #prev a {
	padding-left: 10px;
	text-align: left;
	}

#wp-calendar a {
	display: block;
	}

#wp-calendar caption {
	text-align: center;
	width: 100%;
	}

#wp-calendar td {
	padding: 3px 0;
	text-align: center;
	}

#wp-calendar td.pad:hover { /* Doesn't work in IE */
	background-color: #fff; }
/* End Calendar */



/* Begin Various Tags & Classes */
acronym, abbr, span.caps {
	cursor: help;
	}

acronym, abbr {
	border-bottom: 1px dashed #999;
	}

blockquote {
	margin: 15px 30px 0 10px;
	padding-left: 15px;
	border-left: 5px solid #ddd;
	}

blockquote cite {
	margin: 5px 0 0;
	display: block;
	}

.center {
	text-align: center;
	}

hr {
	display: none;
	}

a img {
	border: none;
	}


	
/* End Various Tags & Classes*/



.clear { border-top:1px solid transparent !important; margin-top:-1px !important; border-top:0; margin-top:0; clear:both; visibility:hidden;}


	#search_clue {}
	#search_clue p { color:#ccc;}
	#search_clue p strong {}
	
	#links {}
		#links h5 { margin:0; padding:0;}
		#links h5 span { font-size:12px; font-weight:lighter; display:none;}
		#links h5 a { font-size:12px; font-weight:lighter; color:#000;}
		#links .links_list {}

.linktext { font-size:12px;}
.linktextarea {	font-size:11px; padding:2px 0 3px 0; width:80%; overflow:hidden;}

#header h1 { line-height:1.0; margin:0 0 0;}
	
.commentlist .editAuthor, .commentlist .editAuthor a { text-transform:capitalize;}

#archives { font-size:12px; width:127px;}

.navigation {
	margin:40px 0;
	padding:0;
	height:1%;
}
.navigation .clear { display:none;}
.navigation select { font-size:11px; font-family:Tahoma; position:relative; top:1px;}

#tags_primary {}
	#tags_primary a { line-height:1.2;}
.tags { text-transform:capitalize;}

#ucdchina {}
	#ucdchina li { color:#999; font-size:9px;}
	#ucdchina li a { font-size:12px;}
	#ucdchina .new {  color:#f00; margin:0 4px 0 0; font-size:9px; font-weight:lighter; position:relative; top:-1px; left:3px;}

.pages {}
	.pages { }
	.pages #on {}

/* font-family:Tahoma; */

/* "Daisy, Daisy, give me your answer do. I'm half crazy all for the love of you.
	It won't be a stylish marriage, I can't afford a carriage.
	But you'll look sweet upon the seat of a bicycle built for two." */
	
	
.wp_syntax { 
  color: #100;
  background-color: #f9f9f9;
  margin: 0 0 1.5em 0;
  overflow: auto;
}
.wp_syntax * { font-size:11px;}

/* IE FIX */
.wp_syntax { 
  overflow-x: auto;
  overflow-y: hidden;
  padding-bottom: expression(this.scrollWidth > this.offsetWidth ? 15 : 0);
}

.wp_syntax table {
  border-collapse: collapse;
}

.wp_syntax div, .wp_syntax td { 
  vertical-align: top;
  padding: 2px 4px;
}

.wp_syntax .line_numbers {
  text-align: right;
  background-color: #def;
  color: gray;
  overflow: visible;
}

/* potential overrides for other styles */
.wp_syntax pre {
  margin: 0;
  width: auto;
  float: none;
  clear: none;
  overflow: visible;
}


#default_single_alimama { position:absolute; top:-9999px; left:-9999px;}

#says {}
#says li { margin:0 0 10px!important;}

#recent_posts {}
#recent_posts * { font-size:14px;}