/*
Theme Name:     twentyten Child
Theme URI:      http://blog.galois21.com/
Description:    twentyten主题的子主题 
Author:         Galois21
Author URI:     http://blog.galois21.com/
Template:       twentyten
Version:        0.1.0
*/

/* 导入父主题样式 */
@import url("../twentyten/style.css");

/* 全局字体设置 */
body,
input,
textarea,
.page-title span,
.pingback a.url {
    /* 设置字体优先级：微软雅黑 > 黑体 > 宋体 */
    font-family: '微软雅黑', '黑体', '宋体', sans-serif; /* 添加sans-serif作为后备字体 */
}

/* 网站标题、导航、评论等区域的字体设置 */
h3#comments-title,
h3#reply-title,
#access .menu,
/* ... 其他选择器 ... */
.wp-caption-text {
    font-family: '微软雅黑', '黑体', '宋体', sans-serif;
}

/* 提交按钮字体设置 */
input[type="submit"] {
    font-family: '微软雅黑', '黑体', '宋体', sans-serif;
}

/* 内容区域排版设置 */
#content,
#content textarea {
    color: #333;
    font-size: 14px;    /* 调整正文字体大小 */
    line-height: 1.5;   /* 使用无单位的行高，更灵活 */
}

/* 标题加粗设置 */
h2, h3, h4 {  
    font-weight: bold;
}


/* 页脚生成器链接样式 */
#site-generator a {
    background: url(images/galois21.gif) center left no-repeat;
    color: #666;
    display: inline-block;
    line-height: 16px;
    padding-left: 20px;
    text-decoration: none;
}

/* 默认单行和多行代码的样式 */
pre, code {
    color: #ffffff; /* 白色字体 */
    background-color: #000000; /* 黑色背景 */
    font-family: 'Courier New', Courier, monospace; /* 等宽字体 */
	padding: 2px 4px; /* 内边距 */
    border-radius: 4px; /* 圆角样式 */
    font-size: 0.9em; /* 调整字体大小 */
	overflow-x: auto; /* 防止内容过长导致溢出 */
}
/* 多行代码前后不要padding */
pre code {
    padding: 0px 0px; /* 内边距 */
}
/* 统一代码行高 */
pre, pre code, .line-numbers-rows {
    line-height: 21px; /* 或直接写为 21px */
    font-size: 14px; /* 确保字体大小一致 */
}

/* 修改文章标题颜色 */
#content .entry-title,
#content .entry-title a {
    color: #2c5282;
}
