/*
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;margin:0;padding:0;color:#333;}
ul,li {list-style:none;}
body {min-width:800px;}
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;}
img {border:none;}


a.download {display:block;background:url(images/download.png) left center  no-repeat;height:24px;line-height:24px;padding-left:26px;float:left;}

#page {margin:10px;}

/*头部*/
#header {background:;}
#headerimg {background:#444 url(images/swp_logo.png) 18px center no-repeat;padding:10px;margin-top:30px;margin-bottom:8px;padding-left:120px;}
#headerimg a {color:#fff;}
#headerimg .description {font-size:13px;color:#999;font-style:italic;}

#menubar {margin-left:10px}
#menubar li {display:inline;}
#menubar li a {display:block;float:left;background:;margin-right:5px;font-weight:700;color:#666;}
#menubar li a:hover {color:#fff;text-decoration:none;}
#menubar li.current-cat a {background:#444;color:#fff;}

#topmenu {position:absolute;right:10px;top:5px;}
#topmenu li {display:block;float:left;border-right:dotted 1px #ccc;}
#topmenu li a {display:block;padding:2px;float:left;margin-left:5px;color:#999;margin-right:5px;}
#topmenu li a:hover {text-decoration:none;color:#fff;background:#9c0;}

#searchForm {text-align:right;margin-bottom:8px;}
#searchForm label {display:none;}


/*底部*/
#footer {clear:both;padding-top:10px;}
#footlinks li {display:inline;}
.ocopyright {color:#999;}
#ofeed {}
#footlinks li {}
#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 {padding: 10px;border:solid 10px #444;margin-right:230px;background: ;}
#content .news {}
#content .news li {background:url(images/dot.gif) no-repeat left center;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 img.pics {padding:6px;border:solid 1px #eee;margin:10px;}

#content p {margin:1em 0;}

#content code {padding:1em;font-weight:700;color:#036;}


/*sidebar*/
#sidebar {width:200px;float:right;background: ;padding:10px;}
#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;}


/*首页特定样式*/
body.home #content {width:95%;}
body.home .news {float:left;width:45%;margin-right:10px;}

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


/*除首页以外的页面*/

#content .navigation .alignleft {float:left;}
#content .navigation .alignright {float:right;}
#content .post {margin-top:30px;}
#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;} 
#content .entry {margin:20px 8px;}
#content .postmetadata {margin-top:10px;border-top:dotted 1px #ccc;color:#999;text-align:right;}

.relatedArticles {margin:10px;}
.relatedArticles li {background:url(images/dot.gif) no-repeat left center;padding-left:8px;margin-left:5px;}

#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;}

/*comments*/


.comment {border-bottom:solid 1px #eee;padding-bottom:6px;margin-bottom:6px;}


