/*
Theme Name: yuleihome
Theme URI: http://192.168.2.34/wordpress
Description: 仿旧站 Joomla yuleihome 模板风格：米黄底、黑字、蓝链接。单栏内容 + 侧边栏（有部件时显示）+ 顶部菜单 + 底部版权。
Version: 1.0
Author: yulei
*/

body {
	background-color: #ffffd0;
	color: #000001;
	font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
	font-size: 14px;
	line-height: 1.65;
	margin: 0;
	padding: 0;
}

a { color: #0000ff; }
a:visited { color: #800080; }
a:hover, a:active { color: #ff0000; }

img { max-width: 100%; height: auto; }

.container {
	max-width: 940px;
	margin: 0 auto;
	padding: 0 15px;
}

/* ---------- header ---------- */
.site-header {
	padding: 14px 0 0;
}
.title {
	font-size: 28px;
	font-weight: bold;
	margin: 12px 0 12px 12px;
}

/* ---------- breadcrumbs ---------- */
.breadcrumbs {
	padding: 8px 0 4px;
	font-size: 13px;
}
.breadcrumbs a {
	color: #0000ff;
}

/* ---------- category children ---------- */
.cat-children {
	margin: 8px 0 16px;
}
.cat-children h3 {
	font-size: 16px;
	margin: 0 0 6px;
}
.cat-children ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.cat-children li {
	display: inline-block;
	margin: 0 14px 4px 0;
}

/* ---------- menu ---------- */
.main-navigation {
	border-top: 1px solid #000;
	border-bottom: 1px solid #000;
	padding: 6px 0;
	margin: 10px 0 16px;
}
.main-navigation ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
/* 非首页顶部菜单：左对齐 */
.top-nav ul { text-align: left; }
/* 首页底部菜单：居中 */
.site-bottom-nav ul { text-align: center; }
.main-navigation li {
	display: inline-block;
	margin: 0 12px 0 0;
}
.main-navigation a {
	padding: 0;
	border: 0;
	border-radius: 0;
	background: transparent;
	text-decoration: underline;
	color: #0000ff;
}
.main-navigation a:hover {
	background: transparent;
	color: #ff0000;
}
.main-navigation .current-menu-item > a,
.main-navigation .current_page_item > a {
	background: transparent;
	color: #000001;
}

/* ---------- layout ---------- */
.site-main {
	padding: 20px 0;
	overflow: hidden;
}
.content-area {
	float: left;
	width: 100%;
}
.has-sidebar .content-area {
	width: 72%;
	margin-right: 3%;
}
.widget-area {
	float: left;
	width: 25%;
}

/* ---------- posts ---------- */
.post, .page {
	margin-bottom: 18px;
}
.post-meta {
	font-size: 14px;
	margin: 0 0 6px;
}
.post-meta a {
	text-decoration: underline;
	color: #0000ff;
}
.post-meta a:hover { color: #ff0000; }

/* 首页条目简述：嵌套 li，退进一格 */
.item-intro {
	margin: 4px 0 12px;
}
.entry-title {
	margin: 0 0 6px;
	font-size: 20px;
}
.entry-title a { text-decoration: none; color: #000001; }
.entry-title a:hover { color: #0000ff; }
.entry-content { word-wrap: break-word; }
.entry-content p { margin: 0 0 1em; }
.entry-content blockquote {
	margin: 0 0 1em 2em;
	color: #333;
}

/* ---------- comments ---------- */
.comments-title { font-size: 18px; margin-top: 25px; }
.comment-list { list-style: none; margin: 0 0 20px; padding: 0; }
.comment-list > li, .comment-list .children li {
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 7px;
	padding: 4px 8px;
	margin-bottom: 8px;
}
.comment-list .children { list-style: none; margin: 8px 0 0; padding: 0 0 0 20px; }
.comment-meta {
	font-size: 14px;
	margin: 0 0 4px;
}
.comment-title {
	color: #b01625;
	font-weight: bold;
}
.comment-meta a { color: #0000ff; font-weight: bold; }
.comment-content { margin-bottom: 6px; }
.comment-form-captcha label { display: inline-block; margin-right: 6px; }
.comment-form-captcha input { border: 1px solid #ccc; padding: 2px 4px; }
.comment-form-title label { display: inline-block; margin-right: 6px; }
.comment-form-title input { border: 1px solid #ccc; padding: 2px 4px; width: 240px; }

/* 引用（仿旧站 JComments） */
.quote {
	color: #777;
	margin: 5px 0 5px 10px;
}
.quote-author {
	color: #3c452d;
	font-weight: bold;
}
.quotebody {
	border: 1px dashed #849b9f;
	color: #849b9f;
	padding: 8px;
	margin: 5px 0 0;
}

/* ---------- guestbook ---------- */
.gb-item {
	margin-bottom: 16px;
	padding-bottom: 10px;
	border-bottom: 1px solid #ccc;
}
.gb-content {
	margin: 2px 0 4px;
}
.gb-about {
	font-size: 12px;
	color: #555;
}
.gb-item .reply {
	font-size: 12px;
}
.gb-item .reply a {
	color: #555;
}

/* ---------- pagination ---------- */
.navigation.pagination { margin: 20px 0; }
.nav-links a, .nav-links .page-numbers {
	padding: 3px 9px;
	border: 1px solid #aaa;
	border-radius: 4px;
	margin-right: 4px;
	text-decoration: none;
	background: #ffffe8;
}
.nav-links .current { background: #0000ff; color: #fff; border-color: #0000ff; }

/* ---------- sidebar widgets ---------- */
.widget { margin-bottom: 20px; }
.widget-title {
	font-size: 15px;
	border-bottom: 1px solid #999;
	padding-bottom: 4px;
}
.widget ul { list-style: none; margin: 0; padding: 0; }
.widget li { padding: 3px 0; }

/* ---------- footer ---------- */
.site-footer {
	padding: 14px 0 22px;
	font-size: 13px;
	color: #333;
	text-align: center;
}
