﻿@charset "utf-8";
/*
Theme Name: WP模板阁博客主题   
Theme URI: http://www.aiwangxue.com
Description:这是我们做的第一个主题哦
Author:WP模板阁 
Author URI: http://www.aiwangxue.com
Version: 1.0 
Tags: white, blog, WP模板阁, blue
*/


body {
	margin: 0;
	padding: 0;
	background: #1B120B;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color: #787878;
}

h1, h2, h3 {
	margin: 0;
	padding: 0;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-weight: normal;
	color: #181818;
}

h1 {
	font-size: 2em;
}

h2 {
	font-size: 1.8em;
}

h3 {
	font-size: 1.6em;
}

p, ul, ol {
	margin-top: 0;
	line-height: 180%;
}

ul, ol {
}

a {
	text-decoration: none;
	color: #B94E0E;
}

a:hover {
}

#wrapper {
	margin: 0 auto;
	padding: 0;
	background: url(images/img05.jpg) repeat-x left top;
}

/* Header */

#header-wrapper {
}


#header {
	width: 960px;
	height: 140px;
	padding-top:80px;
	margin: 0 auto;
	background: url(images/img02.jpg) no-repeat left top;
}

/* Logo */

#logo {
	float: left;
	margin: 0;
	padding: 0px;
	color: #FFFFFF;
}

#logo h1, #logo p {
	margin: 0;
	padding: 0;
}

#logo h1 {
	float: left;
	padding-left: 25px;
	letter-spacing: -1px;
	text-transform: lowercase;
	font-size: 2.6em;
}

#logo p {
	float: left;
	margin: 0;
	padding: 12px 0 0 10px;
	font: normal 14px Georgia, "Times New Roman", Times, serif;
	font-style: italic;
} 

#logo a {
	border: none;
	background: none;
	text-decoration: none;
	color: #FFFFFF;
}

/* Search */

#search {
	float: right;
	width: 279px;
	height: 110px;
	padding: 0;
}

#search form {
	height: 41px;
	margin: 0;
	padding: 10px 0 0 30px;
}

#search fieldset {
	margin: 0;
	padding: 0;
	border: none;
}

#search-text {
	width: 195px;
	padding: 6px 10px;
	border: 1px #4C4842 solid;
	background: none;
	text-transform: lowercase;
	font: normal 11px Arial, Helvetica, sans-serif;
	color: #808080;
}

#search-submit {
	display: none;
}

/* Menu */

#menu {
	width: 960px;
	height: 40px;
	margin: 0 auto;
	padding: 0;
	background: url(images/img03.jpg) repeat-x left top;
}

#menu ul {
	margin: 0;
	padding: 0px 0px 0px 25px;
	list-style: none;
	line-height: normal;
}

#menu li {
	float:left;
}

#menu li a {
	display: block;
	height: 30px;
	line-height: 30px;
	padding: 5px 20px;
	background: url(images/img06.jpg) no-repeat right 10px;
	text-decoration: none;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	font-weight: normal;
	color: #FFFFFF;
	border: none;
}

#menu a:hover, #menu .current_page_item a {
}

#menu .current_page_item a {
	padding-left: 0;
}

#menu a:hover {
	text-decoration: underline;
}

/* Page */

#page {
	width: 960px;
	margin: 0 auto;
	padding: 0;
	background: url(images/img04.jpg) repeat-y left top;
}

#page-bgtop {
}

#page-bgbtm {
	padding: 30px 20px 0px 20px;
}

/* Content */

#content {
	float: left;
	width: 640px;
	padding: 0;
}

.post {
}

.post .title {
	/* height: 38px;  【删除】这一行，不要限制死高度 */
	height: auto;     /* 【新增】让高度根据文字行数自动撑开 */
	line-height: 1.4; /* 【新增】设置行高，换行后两行文字不会贴太紧 */
	padding: 12px 20px 15px 20px; /* 【修改】我加了右边距和下边距，防止文字碰到边缘或碰到下方的日期 */
	letter-spacing: -.5px;
	color: #181818;
}

.post .title a {
	color: #181818;
	border: none;
}

.post .meta {
	margin-top: -10px;
	padding-bottom: 5px;
	padding-left: 20px;
	text-align: left;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-style: italic;
}

.post .meta a {
}

.post .entry {
	text-align: justify;
	margin-bottom: 0px;
	padding: 10px 20px 10px 20px;
}

.post .entry img{
	display:block;
	margin:10px auto;
	max-width:100%;
	height:auto;
}
.links {
	display: block;
	width: 100px;
	margin: 5px 0px;
	padding: 4px;
	background: #A03128;
	border-left: 15px solid #1B120B;
	text-align: center;
	text-transform: uppercase;
	font-size: 10px;
	color: #FFFFFF;
}


h3#comments,
h3#reply-title {
    width: 100% !important;     /* 强制拉伸到最大宽度，确保文字够位置在一行显示 */
    height: auto !important;    /* 高度自适应 */
    font-size: 15px !important; /* 强制缩小字号（如果觉得还大，可以改成 16px） */
    font-weight: normal;        /* 取消粗体，看起来更精致清爽 */
    line-height: 1.5;           /* 设定舒适的行高 */
    clear: both !important;     /* 清除周围排版的干扰 */
    margin-top: 19px !important;    /* 【新增】增加上方的间距，把它往下推，远离上面的文字 */
	 margin-bottom: 15px;        /* 与下方内容保持一定距离 */
    display: block;             /* 确保标题独占一行 */
}
#commentform textarea,
#comment {
    width: 100% !important;     /* 【宽度】设定为 100% 会让它占满整个可用区域。如果你想固定宽度，可以改为比如 500px */
    height: 60px !important;   /* 【高度】目前的设定大约是 250px，你可以把这个数值改大（变高）或改小（变矮） */
    max-width: 100%;            /* 防止输入框在小屏幕下超出边界 */
    padding: 10px;              /* 【内边距】让输入的文字不要太贴着边框，视觉上更舒服 */
    box-sizing: border-box;     
    border: 1px solid #cccccc !important; /* 【新增】设置 1 像素宽的实线 (solid)，颜色为浅灰色 (#cccccc) */
    outline: none !important;box-sizing: border-box;     
    border: 1px solid #cccccc !important; /* 【新增】设置 1 像素宽的实线 (solid)，颜色为浅灰色 (#cccccc) */
    outline: none !important;
}
/* Sidebar */

#sidebar {
	float: right;
	width: 250px;
	padding: 10px 0px 0px 0px;
	color: #787878;
}
#sidebar input[type="text"]{width:140px;}

#sidebar ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#sidebar li { margin: 0; padding: 0; list-style-type: none; }

#sidebar li ul {
	margin: 0px 15px;
	padding-bottom: 30px;
}

#sidebar li li {
	line-height: 20px; /* 【修改】将行高缩小，让折行的文字紧凑些（数值可根据喜好微调） */
	padding-top: 4px;    /* 【新增】增加上方距离，避免和上一条离得太近 */
	padding-bottom: 4px; /* 【新增】增加下方距离，避免文字贴到底部虚线 */
	border-bottom: 1px dashed #D1D1D1; /* 保持原样：底部的虚线分隔符 */
	padding-left: 15px;  /* 保持原样：左侧缩进 */
}

#sidebar li li span {
	display: block;
	margin-top: -20px;
	padding: 0;
	font-size: 11px;
	font-style: italic;
}

#sidebar h2 {
	height: 38px;
	padding: 12px 0 0 15px;
	letter-spacing: -.5px;
	color: #181818;
}

#sidebar p {
	margin: 0 0px;
	padding: 0px 20px 20px 20px;
	text-align: justify;
}

#sidebar a {
	border: none;
	color: #B94E0E;
}

#sidebar a:hover {
	text-decoration: underline;
}

/* Calendar */

#calendar {
}

#calendar_wrap {
	padding: 20px;
}

#calendar table {
	width: 100%;
}

#calendar tbody td {
	text-align: center;
}

#calendar #next {
	text-align: right;
}

/* Footer */

#footer-wrapper {
	width: 100%;
	background: #231202;
}

#footer {
	width: 960px;
	height: 100px;
	margin: 0 auto;
	padding: 0px 0 15px 0;
	background: url(images/img01.jpg) repeat-x left top;
	font-family: Arial, Helvetica, sans-serif;
}

#footer p {
	margin: 0;
	padding-top: 40px;
	line-height: normal;
	font-size: 9px;
	text-transform: uppercase;
	text-align: center;
	color: #D78983;
}

#footer a {
	color: #FFDBD9;
}