/*
Theme Name: Twenty Twelve Child
Theme URI: https://www.qiezichaodan.com/
Description: 茄子炒蛋博客定制子主题。把原先直接改在 Twenty Twelve 1.4 里的本地定制（百度统计、返回顶部、说说、百度站长验证）集中到这里，使父主题可以安全升级而不丢功能。
Author: qiezichaodan
Template: twentytwelve
Version: 1.0
Text Domain: twentytwelve-child
*/

@import url("../twentytwelve/style.css");

/* 移动端菜单按钮：父主题 1.4 用 h3，4.9 用 button，这里统一兜底 */
.menu-toggle {
	cursor: pointer;
	font-family: inherit;
}

/* 返回顶部 */
#backtop {
	width: 20px;
	position: fixed;
	left: 50%;
	bottom: 10px;
	margin-left: 493px;
	z-index: 100;
	text-align: center;
	cursor: pointer;
	display: none;
	line-height: 16px;
}

/* ===== 代码块（Prism 高亮） ===== */
pre[class*="language-"] {
	border: 1px solid #e3e3e3;
	border-radius: 3px;
	background: #fbfbfb;
	font-size: 13px;
	line-height: 1.65;
	max-height: 640px;
	margin: 0 0 1.7rem;
	tab-size: 4;
}
pre[class*="language-"] > code {
	font-family: Consolas, Monaco, "Andale Mono", "Courier New", monospace;
	font-size: 13px;
	line-height: 1.65;
	text-shadow: none;
}
pre.line-numbers > code {
	border-right: 1px solid #e3e3e3;
}
pre.line-numbers .line-numbers-rows {
	border-right: 1px solid #e3e3e3;
	color: #b3b3b3;
}

/* ===== 表情 ===== */
/* 表情（Twemoji 图片，22px） */
img.smiley {
	display: inline-block;
	width: 22px;
	height: 22px;
	max-width: none;
	margin: 0 1px;
	vertical-align: -4px;
	border: 0;
	border-radius: 0;
	box-shadow: none;
	background: none;
}

/* ===== 表情图片：清掉主题给正文图片加的圆角/阴影/边框 ===== */
/* 父主题对所有 .entry-content img 加了 border-radius:3px + box-shadow，
   会在表情外面形成一圈浅色方框。这里用更高优先级 + !important 彻底清掉。 */
.entry-content img.smiley,
.comment-content img.smiley,
.widget img.smiley,
.entry-content img.wp-smiley,
.comment-content img.wp-smiley,
img.smiley,
img.wp-smiley {
	display: inline-block !important;
	width: 22px !important;
	height: 22px !important;
	max-width: none !important;
	min-width: 0 !important;
	margin: 0 1px !important;
	padding: 0 !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	background: none !important;
	vertical-align: -4px !important;
}
