/*
Theme Name: guoshuang 的CMS主题
Theme URI: http://wiki.guoshuang.com
Description: guoshuang
Version: 0.1
Author: guoshuang
Author URI: http://wiki.guoshuang.com
Tags: guoshuang cms
*/

* {font:12px/150% tahoma,sans-serif;color:#333;}
ul,li {list-style:none;margin:0;padding:0;}
body {background:#02080B url(images/backall.jpg) repeat-x;margin:0;padding:0;}
h1,h1 a {font-size:180%;font-weight:700;}
h2,h2 a {font-size:140%;font-weight:700;}
h2 {background:url(images/bg_grey.gif);padding:4px;}
h3,h3 a {font-size:120%;font-weight:700;}
a {color: #06c;text-decoration:none;}
a:hover {text-decoration:underline;}
strong,em {font-weight:700;}
p {margin:1em 0;}

#page {margin:0 auto;width:778px;background:#fff;padding:0;}

/*头部*/
#header {height:300px;background:url(images/top.jpg) center bottom no-repeat;}
#headerimg {}
#headerimg a {display:block;line-height:70px;background:url(images/logo.png) 20px center no-repeat;text-indent:-999px;width:190px;}
#headerimg .description {display:none;;}

#topmenu {position:absolute;left:50%;top:0;height:70px;margin-left:134px;width:260px;}
#topmenu li {display:inline;}
#topmenu li a {display:block;float:left;margin-left:1px;color:#666;line-height:70px;width:84px;text-align:center;font-size:12px;font-weight:700;background:url(images/topnaviback.jpg);}
#topmenu li a:hover {text-decoration:none;background-position: 0 -71px;}

#menubar {;background:#eee url(images/menu_bk.gif) right bottom no-repeat;height:63px;}
#menubar ul {margin-left:5px;}
#menubar li {display:inline;}
#menubar li a {display:block;float:left;height:35px;line-height:35px;margin-right:4px;font-weight:700;padding:0 5px;color:#666;}
#menubar li a:hover {color:#fff;text-decoration:none;background:#666;}
#menubar li.current-cat a,#menubar li.current_page_item a {background:#000;color:#eee;}

#search {float: right;}
#search div {line-height:35px;margin-right:8px;}
#search div #s {width:12em}
#search label {display:none;}


/*底部*/
#footer {clear:both;padding-top:10px;background:url(images/footer.gif) center bottom no-repeat;height:135px;}
#footlinks {margin:0 10px;}
#footlinks li {display:inline;}
.ocopyright {color:#999;}
#ofeed {}
#footlinks a {padding:2px;color:#999;}
#footlinks a:hover {text-decoration:none;color:#fff;background:#9c0;}
#ofeed a:hover {text-decoration:none;color:#fff;background:#c00;}
.ocopyright {text-align:center;}

/*内容部分*/
#content {margin:0 10px;}
#content .news {}
#content ul {margin:8px 10px;}
#content .news li {background:url(images/dot.gif) left 8px no-repeat ;padding-left:8px;}
#content .news h2 {margin-top:8px;margin-bottom:4px;}
#content .news .date {color:#ccc;float:right;font-size:11px}
#content .news .more {text-align:right;}
#content .news .more a {font-size:12px;font-weight:normal;margin-top:8px;}
#content .news ul {margin-left:8px;margin-right:6px;}

#content h2 {display:block;}
.similar_post {margin:20px 10px;}
.tags {margin:0 10px;}
.post-edit-link {display:block;text-align:right;padding:0 6px;color:#c00;font-weight:700;}
.post-edit-link:hover {}
#comments {margin-top:10px 0;}
#content .commentlist li {background:none;}
.commentlist .comment-author img {vertical-align:middle;}
.commentlist .comment-meta {text-align:right;}
.commentlist .comment-meta a {color:#ccc;font-size:11px;}
.commentlist p {border-bottom:dotted 1px #ccc;margin-bottom:5px;padding-bottom:5px;}

/*sidebar*/
#sidebar {width:180px;float:right;background:  ;margin-right:10px;}
#sidebar #oPhotos {text-align:center;}
#sidebar #oPhotos img {background:url(images/photoframe.gif) center center no-repeat;width:145px;padding:10px;vertical-align:middle;border:none;}
#sidebar h2 {color:#333;padding-left:6px;margin:5px 0;}
#sidebar li li {background:url(images/dot.gif) no-repeat left center;padding-left:8px;margin-left:5px;}
#sidebar ul li#searchForm {position:absolute;right:20px;top:50px;}
#sidebar ul li#searchForm label {display:none;}


/*首页特定样式*/


/*表单*/
textarea {width:95%;}


/*除首页以外的页面*/
body.nohome #content {width:550px;}
body.nohome #content .entry {background:#fff url(images/postback.gif) left top no-repeat;padding:30px;min-height:200px;}
/*
body.nohome .similar_post {width:550px;}
*/
#content .navigation .alignleft {text-align:left;}
#content .navigation .alignright {text-align:right;}
#content .post {margin-top:10px;}
#content .post h2 {margin-bottom:10px;}
#content .post h3 {border-bottom:dotted 1px #ccc;margin-bottom:10px;}
#content .post small {text-align:right;color:#999;font-size:11px;float:right;margin-right:35px;} 
#content .postmetadata {margin-top:10px;border-top:dotted 1px #ccc;color:#999;text-align:left;}

#content.this_is_guestbook {width:95%}

/*站点地图*/
.ddsg-wrapper ul {margin:1em 3em;}
.ddsg-wrapper ul ul {margin:1em;}
.ddsg-wrapper ul ul li {padding-left:10px;background:url(images/dot.gif) no-repeat left center;}
.ddsg-xml-link {text-align:right;}
.ddsg-xml-link a:hover {text-decoration:none;color:#fff;background:#c00;padding:3px;}
