﻿/* ------------------------------------
 * Typecho Default Theme
 *
 * @author	fen1211@gmail.com
 * @link	http://typecho.net/
 * @update	2009-03-29 14:30
 * --------------------------------- */



/* ------------------
 * gobal settings
 * --------------- */
body{
font-family: Georgia,Times,"Times New Roman",serif;
font-size: 13px;
width: 860px;
background: #fff;
color: #444;
margin: 20px auto auto 200px;
word-wrap: break-word; /*强制自动换行*/
padding:0;
line-height: 1.7;
border:2px dashed #daecef;
}

h1, h2, h3, h4, h5, h6 { font-weight: normal; }

input, textarea {font-family: Helvetica, Arial, sans-serif; font-size: 100%; border:1px solid #696969; padding: 1px;}

input.submit{
background:#EEE;
}

textarea { *padding: 3px; }

@media screen and (-webkit-min-device-pixel-ratio:0) {
    textarea { padding: 3px; }
}

a {
color: #3354AA;
text-decoration: none;
border-bottom: 1px dotted #3354AA;
}
a:hover {
color: #444;
border-bottom: none;
}

pre, code, tt {
	font: 12px 'andale mono', 'lucida console', monospace; line-height: 1.5;
}
code { margin-bottom: 20px; }
pre, code {
display: block;
overflow-x: auto;
background: #f4f4f4;
padding: 5px 10px;
}

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after { content: ""; }
blockquote, q { quotes: "" ""; }

blockquote  { margin: 1.5em; color: #666; font-style: italic; }

/*code {display: block; border: 1px solid #AAAAAA; background: #F1ECDD; color: #444; line-height: 16px; overflow: auto;
	font-family: 'andale mono','lucida console',monospace; padding: 10px; margin: 10px 0;}*/

/* Tables
-------------------------------------------------------------- */

/* Tables still need 'cellspacing="0"' in the markup. */
table { border-collapse: separate; border-spacing: 0; }
caption, th, td { text-align: left; font-weight: normal; }
table, td, th { vertical-align: middle; }

table       { margin-bottom: 1.4em; width:100%; }
th          { font-weight: bold; }
thead th 		{ background: #c3d9ff; }
th,td,caption { padding: 4px 10px 4px 5px; }
tr.even td  { background: #e5ecf9; }
tfoot       { font-style: italic; }
caption     { background: #eee; }

fieldset    { padding:1.4em; margin: 0 0 1.5em 0; border: 1px solid #ccc; }
legend      { font-weight: bold; }


ul { list-style-type: disc; }


/* ------------------
 * header
 * --------------- */

#header {
color: #666;
width:100%;
float:left;
background:#daecef;
border-bottom:2px dashed #FFF;
}

#logo {
padding:20px 0 0 20px;;
width:220px;
float:left;
}

#logo h1 {
font-size: 30px;
font-weight: normal;
margin: 0;
padding:0;
}
#logo h1 a {
color: #444;
border: none;
}
#logo h1 a:hover {
color: #9AACAD;
}

p.description {
margin-bottom: 0;
font-style: italic;
}

#search {
float: right;
margin: 0;
}

/* = header navigation menu */
#nav_box {
width:575px;
float:right;
margin:30px 20px;
padding-right:5px;
font-family: "Lucida Grande",Tahoma,"Bitstream Vera Sans",Arial,sans-serif;
background: #373737;
}

ul#nav_menu {
height: 31px;
line-height: 31px;
list-style: none;
margin: 0;
padding:0;
border-bottom:2px #333 solid;
border-top:2px #333 solid;
}
ul#nav_menu li {
float: left;
padding: 0;
margin: 0;
height: 30px;
}
ul#nav_menu li a {
color: #DAECED;
border-right: 1px solid #eee;
border-bottom:2px #373737 solid;
height: 29px;
line-height: 29px;
display: block;
float: left;
padding: 0 20px;
}

ul#nav_menu li.current a , ul#nav_menu li a:hover {
text-decoration: none;
border-bottom:3px #05A5BB solid;
color:#54F4F6;
}

/* ------------------
 * content
 * --------------- */
#content { overflow: hidden; float:right;width:600px;padding-right:20px;}
#content p { margin-bottom: 20px; }

.post {
margin-bottom: 20px;
padding-bottom: 5px;
border-bottom: 1px solid #eee;
width: 100%;
}

.post img {
max-width: 570px;
margin: 5px;
}

h2.entry_title {
margin-bottom: 0;
font-size: 18px;
font-weight: bold;
font-family: "Lucida Grande","Lucida Sans Unicode","Lucida Sans",Helvetica,Arial,sans-serif;
}

h2.entry_title a {
border: none;
}

.post h3 { font-size: 16px; }
.post h4 { font-size: 15px; }
.post h5 { font-size: 14px; font-weight: bold; }
.post h6 { font-size: 13px; font-weight: bold; }

.entry_data {
color: #999;
font-size: 12px;
}

.entry_data a {
}

.entry_data span {
margin-right: 4px;
padding-right: 7px;
border-right: 1px solid #eee;
}


/* = pages nav */
ol.pages {
margin: 20px 0 0 0;
color: #666;
list-style: none;
font-size: 12px;
line-height: 30px;
font-family: "Lucida Grande",Verdana,"Bitstream Vera Sans",Arial,sans-serif;
}

ol.pages li {
margin: 0 5px 0 0;
display: inline;
}

ol.pages li a {
padding: 2px 6px;
border: 1px solid #eee;
text-decoration: none;
}
ol.pages li a:hover{
border: 1px solid #777;
}
ol.pages li.current a {
background: #069;
border-color: #3354AA;
color: #fff;
}

/* ------------------
 * comment list
 * --------------- */
#comments {
padding-right:10px;
}

#comments h4 {
font-size: 14px;
font-weight: bold;
}

ol#comment_list, ol#comment_list ol {
margin: 0;
list-style: none;
padding:0;
}

ol#comment_list ol {
padding-top: 10px;
}



ol#comment_list li {
padding: 10px 15px;
margin-top: 10px;
background: #DAECEF;
overflow: hidden;
}

ol#comment_list ol li {
background: #EEF;
}

ol#comment_list li.odd {
background: #DAECEF;
}

ol#comment_list li .comment_reply {
text-align: right;
}

ol#comment_list li .comment_reply a {
font-size: 11px;
border: none;
color: #aaa;
}

ol#comment_list li .comment_reply a:hover {
color: #444;
}

.comment_data {
padding-bottom: 8px;
/*border-bottom: 1px dashed #eee;*/
color: #999;
font-size: 11px;
}
.comment_data .author {
display: block;
font-size: 15px;
color: #444;
}
.comment_data .count {
margin-left: 5px;
font-weight: bold;
}
.comment_data .author a {
}
.comment_body {
overflow: hidden;
}

img.avatar {
/*display: none;*/
float: left;
margin: 6px 10px 0 0;
}

#respond {
margin-top: 20px;
}

ol#comment_list li #respond {
border-top: 1px solid #ddd;
padding-top: 10px;
}

#comment_form {
padding-right: 8px;
}

#respond .cancle_comment_reply {
float: right;
font-size: 11px;
display: none
}

#respond .cancle_comment_reply a {
border: none;
color: #aaa;
}

#respond .cancle_comment_reply a:hover {
color: #444;
}

ol#comment_list li #respond .cancle_comment_reply {
display: inline;
}

#comment_form label {
font-size: 12px;
color: #555;
display: block;
font-weight: bold;
}

#comment_form label .required {
color: #C04E37;
padding-left: 5px;
font-size: 14px;
}
#comment_form .text {
width: 100%;
margin-right: 15px;
}
#comment_form textarea {
width: 100%;
height: 180px;
}

ol#comment_list li #respond .text {
	_width: 400px;
}

ol#comment_list li #respond textarea {
	_width: 400px;
}

/* ------------------
 * sidebar
 * --------------- */
#sidebar {
float:left;
width:200px;
overflow: hidden;
background:#F6F6F6;
padding:0;
}
.widget {
margin: 0 0 10px 0;
}
.widget h3 {
font-size: 16px;
margin:0 0 10px 0;
padding-left:20px;
background:#DAECED;
}
.widget ul {
margin: 0;
list-style-type: none;
padding:10px;
}
.widget ul li {
margin: 0;
padding: 0;
line-height: 24px;
}

/* ------------------
 * footer 
 * --------------- */
#footer {
margin-top: 15px;
padding: 15px 0;
text-align: center;
clear:both;
background:#222;
color:#eee;
}

#footer a {
border-bottom: none;
color:#54F4F6;
}


/* -----------------
 * misc
 *--------------- */
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}

.alignleft {
float: left;
}

.alignright {
float: right;
}

img.alignleft { margin: 4px 15px 0 0; }
img.alignright { margin: 4px 0 0 15px; }

.alt { 
color: #666; 
font-family: "Warnock Pro", "Goudy Old Style","Palatino","Book Antiqua", Georgia, serif; 
font-weight: normal;
}
