/*
Theme Name: Twenty Twelve
Theme URI: https://wordpress.org/themes/twentytwelve/
Author: the WordPress team & ayqy
Author URI: https://wordpress.org/ & http://ayqy.net/
Description: The 2012 theme for WordPress is a fully responsive theme that looks great on any device. Features include a front page template with its own widgets, an optional display font, styling for post formats on both index and single views, and an optional no-sidebar page template. Make it yours with a custom menu, header image, and background.
Version: 1.8
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: light, gray, white, one-column, two-columns, right-sidebar, fluid-layout, responsive-layout, custom-background, custom-header, custom-menu, editor-style, featured-images, flexible-header, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, translation-ready
Text Domain: twentytwelve
*/

/* =reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video { margin: 0; padding: 0; border: 0; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ''; content: none; }
table { border-collapse: collapse; border-spacing: 0; }
caption, th, td { font-weight: normal; text-align: left; }
h1, h2, h3, h4, h5, h6 { clear: both; font-weight: normal; }
a { text-decoration: none; }
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section { display: block; }
audio, canvas, video { display: inline-block; }
audio:not([controls]) { display: none; }
del { color: #333; }
ins { background: #fff9c0; text-decoration: none; }
hr { background-color: #ccc; border: 0; height: 1px; }
sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; }
sup { top: -0.5em; }
sub { bottom: -0.25em; }
img { border: 0; -ms-interpolation-mode: bicubic; }
/* Clearing floats */
.clear:after, .wrapper:after { clear: both; }
.clear:before, .clear:after, .wrapper:before, .wrapper:after { display: table; content: ""; }
/* Form fields, general styles first */
textarea { overflow: auto; vertical-align: top; }
/* Reset non-text input types */
button, input[type="submit"], input[type="button"], input[type="reset"] { cursor: pointer; }
button[disabled], input[disabled] { cursor: default; }
/* Responsive images */
.entry-content img, .comment-content img, .widget img { max-width: 95%; /* Fluid images for posts, comments, and widgets */ }
img[class*="align"], img[class*="wp-image-"], img[class*="attachment-"] { height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ }
img.size-full, img.size-large, img.header-image, img.wp-post-image { max-width: 95%; height: auto; /* Make sure images with WordPress-added height and width attributes are scaled correctly */ }
.wp-caption { max-width: 95%; margin-left: 2em; } /*!!! 有标题的图片 */
.wp-caption-text { text-indent: 0 !important; } /*图片标题*/
/* Images */
.alignleft { float: left; }
.alignright { float: right; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.entry-content img, .comment-content img, .widget img, img.header-image, .author-avatar img, img.wp-post-image {    /* Add fancy borders to all WordPress-added images but not things like badges and icons and the like */
border-radius: 3px; box-shadow: 0 1px 4px rgba(0, 0, 0, 0.2); }
/* Author profiles */
.author .archive-header { margin-bottom: 24px; }
.author-info { border-top: 1px solid #ededed; margin: 24px 0; padding-top: 24px; overflow: hidden; }
.author-description p { color: #757575; font-size: 14px; line-height: 1.846153846; }
.author.archive .author-info { border-top: 0; margin: 0 0 48px; }
.author.archive .author-avatar { margin-top: 0; }
/* end reset */



/* =base */
body { font-family: "PingFang SC", Arial, "\5FAE\8F6F\96C5\9ED1", "\5B8B\4F53", simsun, sans-serif; font-size: 16px; -webkit-font-smoothing: antialiased; color: #444; overflow-x: hidden; word-break: break-word; }
/*代码换行*/
/*pre { white-space: pre-wrap; word-wrap: break-word; }*/
em, strong { font-style: normal; color: red; font-weight: normal; }
p { text-indent: 0 }
figure { max-width: 100%; overflow-x: auto; }
table { word-break: normal; }
ol { list-style: decimal outside; }
ul { list-style-position: outside; }
li p, table p { text-indent: 0 }
a:link { color: #0773ef; }
a:visited { color: #551a8b; }
a:hover { color: #ff4500; }
input, textarea { border: 1px solid #ccc; border-radius: 3px; padding: 6px; outline: none; }
input:focus, textarea:focus {    /*border-color: #4d90fe !important;*/
outline-color: rgb(77, 144, 254); outline-offset: -2px; outline-style: auto; outline-width: 1px; -webkit-outline-radius: 4px; -moz-outline-radius: 4px; outline-radius: 4px; }
input[type="checkbox"], input[type="radio"], input[type="file"], input[type="hidden"], input[type="image"], input[type="color"] { border: 0; border-radius: 0; padding: 0; }
input[type="submit"] { color: rgb(124, 124, 124); border: 1px solid #d2d2d2; border-radius: 3px; box-shadow: 0 1px 2px rgba(64, 64, 64, 0.1); background-color: rgb(230, 230, 230); background-image: -webkit-linear-gradient(top, rgb(244, 244, 244), rgb(230, 230, 230)); background-repeat: repeat-x; border-bottom-color: rgb(210, 210, 210); }
input[type="submit"]:hover { color: #5e5e5e; background-color: rgb(235, 235, 235) !important; background-repeat: repeat-x !important; background-image: -moz-linear-gradient(top, #f9f9f9, #ebebeb) !important; background-image: -ms-linear-gradient(top, #f9f9f9, #ebebeb) !important; background-image: -webkit-linear-gradient(top, #f9f9f9, #ebebeb) !important; background-image: -o-linear-gradient(top, #f9f9f9, #ebebeb) !important; background-image: linear-gradient(top, #f9f9f9, #ebebeb) !important; }
/* end base */



/* =common */
body { background-color: #f9f9f9; }
.entry-title { position: relative; font-size: 20px; font-weight: bold; padding-left: 20px; margin-bottom: 7px; }
.entry-title a:hover { transition: padding-left 0.2s linear 0s; padding-left: 10px; }
.entry-title:before { content: ""; position: absolute; left: 0; top: 0; width: 5px; height: 100%; background-color: #66B3FF; }
.avatar { width: 50px !important; height: 50px !important; border-radius: 25px; }
/* end common */



/*---------------------------blog index page--------------------*/
/* =page */
.site { width: 950px; margin: 0 auto; background-color: #fafafa; clear: both; overflow: hidden; position: relative; }
.site-header { left: 950px; float: left; position: relative; width: 100%; height: 45px; margin-bottom: 10px;    /*z-index: 100;*/ font-size: 18px; }
/* logo */
hgroup { margin-left: -950px; height: 45px; background-color: #eee; background-color: rgba(238, 238, 238, 0.25); border-bottom: 1px solid #ddd; float: left; overflow: hidden; position: relative; width: 120px; }
.site-title a { display: inline-block; width: 100%; height: 45px; background: url('http://www.ayqy.net/image/logo.png') no-repeat top center; -webkit-background-size: 45px 45px; background-size: 45px 45px; padding-top: 45px; font-size: 24px; line-height: 45px; color: #2b2b2b; text-align: center; text-shadow: 1px 2px 2px #ccc; vertical-align: top; }
.site-title a:hover { transition: padding-top 0.4s linear 0s, background-position 0.4s linear 0s; padding-top: 0; background-position: center -45px; }
/*导航*/
.main-navigation { border-bottom-width: 1px; border-bottom-style: solid; border-bottom-color: rgb(221, 221, 221); background: #eee; background-color: rgba(238, 238, 238, 0.25); border-bottom: 1px solid #ddd; margin-left: -830px; width: 830px; float: left; overflow: hidden; position: relative; height: 45px; }
.assistive-text { display: none; }/* 隐藏 跳至内容 */
.menu-toggle { display: none; }/* 隐藏菜单按钮 */
.nav-menu { height: 45px; line-height: 45px; width: 560px; float: left; }
.nav-menu ul { height: 100%; }
.nav-menu li { display: inline-block; height: 100%; }
.nav-menu a { display: inline-block; font-size: 18px; color: #0773ef; text-align: center;    /* width: 5em; */ padding: 0 1em; height: 100%; text-decoration: none; }
.nav-menu a:hover { background-color: #fafafa; color: #000; }
nav .searchform { width: 270px; float: right; line-height: 45px; }
nav .searchbox { border-color: transparent; border-radius: 5px; width: 250px; }
nav .searchbox-submit { display: none; }

/* 主要内容 */
.site-content { left: 950px; float: left; position: relative; width: 100%; min-height: 550px; }
/* 左边主要内容块 */
#content { margin-left: -950px; width: 670px; float: left; overflow: hidden; position: relative; }
/* 文章 */
.post { margin-bottom: 20px; }
.entry-content p { text-indent: 0; }
/* 文章meta */
.entry-meta { color: #757575; font-size: 12px; overflow: hidden; text-overflow: ellipsis; border-bottom: 1px dashed #ddd; margin-bottom: 7px; padding-bottom: 3px; }
a[rel~="category"], .entry-date { display: inline-block; padding: 0.2em 0.4em; background-color: #eee; border-radius: 3px; margin-right: 2px; }
.post-time { float: right; }

/* 翻页按钮 */
#nav-above:after, #nav-below:after, .nav-single:after { content: ''; height: 0; display: block; clear: both; visibility: hidden; margin-bottom: 20px; }
.nav-previous { float: left; }
.nav-next { float: right; }
.nav-previous a, .nav-next a { display: inline-block; color: #56AAE6; background-color: #f5f5f5; font-size: 14px; padding: 5px 15px; text-align: center; border-radius: 3px; }
.nav-previous a:hover, .nav-next a:hover { transition: background-color 0.2s linear 0s; background-color: #eee; }
.nav-previous:empty, .nav-next:empty { display: none; }

/* 右边侧边栏 */
#secondary { margin-left: -270px; width: 270px; float: left; overflow: hidden; position: relative; }
/* 侧边栏列表 */
aside { font-size: 14px; }
aside h3 { color: #56AAE6; font-size: 15px; font-weight: bold; border-left: 5px solid #56AAE6; background: #f5f5f5; text-indent: 10px; padding: 0.5em 0; margin-top: 7px; margin-bottom: 7px; }
aside li { position: relative; padding-left: 10px; line-height: 24px; }
aside li:before { content: ">"; font-family: monospace; position: absolute; left: 0; vertical-align: baseline; color: #cecece; line-height: 24px; }
aside a { height: 20px; line-height: 20px; }
/* 微信订阅 */
#wechat .qrcode {
    text-align: center;
    background-color: #f8f8f8;
}
#wechat .qrcode img {
    box-shadow: none;
    padding: 7px 0;
}

/* footer */
#colophon { clear: both; left: 950px; float: left; position: relative; width: 100%; }
.site-info { margin-left: -950px; width: 950px; float: left; overflow: hidden; position: relative; border-top: 1px solid #ededed; font-size: 14px; margin-top: 24px; padding: 10px 0 20px 0; }
/* end page */
/*---------------------------------------end blog index page------------------*/



/*---------------------------blog post page--------------------*/
/* =page */
/* h1~h6 */
.single-post .entry-title { font-size: 28px; padding-left: 0.8em; margin-bottom: 24px; font-weight: bold; }
.single-post .entry-title:before { width: 7px !important; }
.entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 { position: relative; font-weight: bold; margin: 1.5em 0; padding-left: 0.8em; }
.entry-content h2:before, .entry-content h3:before, .entry-content h4:before, .entry-content h5:before, .entry-content h6:before { content: ''; position: absolute; background-color: #66B3FF; top: 0; left: 0; height: 100%; }
.entry-content h2 { font-size: 18px; }
.entry-content h2:before { width: 6px; }
.entry-content h3 { font-size: 16px; }
.entry-content h3:before { width: 5px; }
.entry-content h4 { font-size: 14px; }
.entry-content h4:before { width: 4px; }
.entry-content h5 { font-size: 13px; }
.entry-content h5:before { width: 3px; }
.entry-content h6 { font-size: 12px; }
.entry-content h6:before { width: 2px; }
/* p */
.single-post .entry-content p, .comment-content p { text-indent: 0; line-height: 1.9; margin: 0.63em 0 1.8em; padding: 0 0.8em; }
ul + p, ol + p { margin-top: 1.8em !important; }
/* ul ol */
.entry-content ul, .entry-content ol, .comment-content ul, .comment-content ol { margin-left: 1.8em; margin-bottom: 1em; }
.entry-content ul li, .entry-content ol li, .comment-content ul li, .comment-content ol li { position: relative; line-height: 1.9; }
.entry-content ul li:before, .comment-content ul li:before { content: "-"; font-family: Arial; position: absolute; left: -0.8em; line-height: 1.9; pointer-events: none; }
.single-post .entry-content ul p, .single-post .entry-content ol p, .comment-content ul p, .comment-content ol p { text-indent: 0; padding-left: 0.8em; margin: 0; }
.entry-content blockquote ul, .entry-content blockquote ol { margin-left: 1.8em; }
/* a */
.entry-content a:visited, .comment-content a:visited { color: #9f9f9f; }
/* blockquote */
blockquote { margin: 0 0.8em; border-left: 4px solid #ddd; color: #777; }
blockquote p {text-indent: 0 !important;}
blockquote>:first-child { margin-top: 0; }
blockquote>:last-child { margin-bottom: 0; }
/* table */
.entry-content table, .comment-content table { border-bottom: 1px solid #ededed; color: #757575; font-size: 14px; line-height: 2; margin: 0.8em; margin-top: 0; width: 100%; }
.entry-content table caption, .comment-content table caption { margin-bottom: 0.8em; color: #000; text-align: center; }
.entry-content td, .comment-content td { border-top: 1px solid #ededed; padding: 6px 10px 6px 0; }

/* end page */
/*---------------------------------------end blog post page------------------*/



/*---------------------------code--------------------*/
pre, code { font-family: Consolas, Monaco, Lucida Console, monospace; background-color: #f4f4f4; color: #666; word-wrap: break-word; }
pre { max-height: 400px; overflow-y: auto; padding: 0.6em; line-height: 18px; margin: 0.63em 0.8em 1.8em; }
pre code { display: block; }
code { display: inline-block; font-size: 14px; text-indent: 0; padding: 0 0.5em; border-radius: 3px; }
/* 针对缺省样式 (必须的) */
pre::-webkit-scrollbar { width: 7px; height: 7px; }
/* 滚动条的滑轨背景颜色 */
pre::-webkit-scrollbar-track { background-color: #eee; }
/* 滑块颜色 */
pre::-webkit-scrollbar-thumb { background-color: #ccc; }
/* 滑轨两头的监听按钮颜色 */
pre::-webkit-scrollbar-button { background-color: #999; }
/* 横向滚动条和纵向滚动条相交处尖角的颜色 */
pre::-webkit-scrollbar-corner { background-color: #777; }
/*---------------------------------------end code------------------*/



/*---------------------------comment--------------------*/
.comments-area {
    padding-left: 10px;
}
/* comment */
.comments-title { margin-top: 24px; padding-top: 10px; border-top: 1px solid #ededed; }
.comment-content { font-size: 14px; line-height: 24px; }
.comments-area article { margin: 24px 0; }
.comments-area article header { margin-bottom: 10px; overflow: hidden; position: relative; }
.comments-area article header img { float: left; padding: 0; line-height: 0; }
.comments-area article header cite { display: block; margin-left: 60px; }
.comments-area article header time { display: inline-block; margin-left: 10px; }
.comments-area article header cite { font-style: normal; font-size: 14px; line-height: 1.42857143; }
.comments-area cite b { font-weight: normal; }
.comments-area article header time { line-height: 1.714285714; text-decoration: none; font-size: 14px; color: #5e5e5e; }
.comments-area article header a { text-decoration: none; color: #5e5e5e; }
.comments-area article header a:hover { color: #21759b; }
.comments-area article header cite a { color: #444; }
.comments-area article header cite a:hover { text-decoration: underline; }
.comments-area article header h4 { position: absolute; top: 0; right: 0; padding: 6px 12px; font-size: 14px; font-weight: normal; color: #fff; background-color: #0088d0; background-repeat: repeat-x; background-image: -moz-linear-gradient(top, #009cee, #0088d0); background-image: -ms-linear-gradient(top, #009cee, #0088d0); background-image: -webkit-linear-gradient(top, #009cee, #0088d0); background-image: -o-linear-gradient(top, #009cee, #0088d0); background-image: linear-gradient(top, #009cee, #0088d0); border-radius: 3px; border: 1px solid #007cbd; }
.comments-area .bypostauthor cite span { position: absolute; margin-left: 5px; padding: 2px 5px; font-size: 12px; }
.comments-area .bypostauthor cite b { font-weight: bold; }
.edit-link, .comment-reply-link { font-family: Arial; }
.edit-link { float: right; text-indent: 0 !important; margin-bottom: 0 !important; padding: 3px !important; line-height: 16px !important; }
/* 清除上面的浮动影响 */
article.comment:after { content: "."; display: block; height: 0; clear: both; visibility: hidden; }
article.comment { border-bottom: 1px dashed #ddd; }
.comment-reply-link, .comment-edit-link { display: inline-block; background-color: #eee; padding: 4px 10px; margin: 3px; border-radius: 2px; }
.comment-reply-link:hover, .comment-edit-link:hover { background-color: #ddd; }
.commentlist .pingback { line-height: 1.714285714; margin-bottom: 24px; }
/* 回复层级，一个头像的缩进 */
.commentlist .children { margin-left: 50px; }
/* 不带列表项标志 */
.commentlist, .children { list-style: none; }
/* 文章作者 */
.bypostauthor cite span { color: #fff; background-color: #21759b; border: 1px solid #1f6f93; border-radius: 2px; }
/* 取消回复按钮 */
#cancel-comment-reply-link { display: inline-block; background-color: #eee; padding: 4px 10px; margin: 3px; border-radius: 2px; }

/* comment form */
#respond {
    margin-top: 24px;
    padding-top: 10px;
    border-top: 1px solid #ededed;
}
#respond p {
    text-indent: 0;
}
#respond h3#reply-title {
    line-height: 1.5;
}
#respond h3#reply-title #cancel-comment-reply-link {
    margin-left: 10px;
    font-weight: normal;
    font-size: 14px;
}
#respond form {
    margin: 24px 0;
}
#respond form p {
    margin: 11px 0;
}
#respond form p.logged-in-as {
    margin-bottom: 24px;
}
#respond form label {
    display: block;
    line-height: 1.714285714;
}
#respond form input[type="text"],
#respond form textarea {
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    padding: 6px;
    width: 40%;
}
#respond form textarea {
    width: 97%;
}
#respond form p.form-allowed-tags {
    margin: 0;
    font-size: 14px;
    line-height: 2;
    color: #5e5e5e;
}
.required {
    color: red;
}
/*---------------------------end comment--------------------*/



/* =Basic structure
-------------------------------------------------------------- */

/* Body, links, basics */

/* Assistive text */
.assistive-text, .site .screen-reader-text { position: absolute !important; clip: rect(1px, 1px, 1px, 1px); overflow: hidden; height: 1px; width: 1px; }
.main-navigation .assistive-text:focus, .site .screen-reader-text:hover, .site .screen-reader-text:active, .site .screen-reader-text:focus { background: #fff; border: 2px solid #333; border-radius: 3px; clip: auto !important; color: #000; display: block; font-size: 14px; height: auto; padding: 12px; position: absolute; top: 5px; left: 5px; width: auto; z-index: 100000; /* Above WP toolbar */ }


/* =Main content
-------------------------------------------------------------- */
abbr, dfn, acronym { border-bottom: 1px dotted #666; cursor: help; }
address { display: block; line-height: 1.714285714; margin: 0 0 24px; }
img.alignleft, .wp-caption.alignleft { margin: 12px 24px 12px 0; }
img.alignright, .wp-caption.alignright { margin: 12px 0 12px 24px; }
img.aligncenter, .wp-caption.aligncenter { clear: both; margin-top: 12px; margin-bottom: 12px; }
.entry-content embed, .entry-content iframe, .entry-content object, .entry-content video { margin-bottom: 24px; }
.entry-content dl, .comment-content dl { margin: 0 24px; }
.entry-content dt, .comment-content dt { font-weight: bold; line-height: 1.714285714; }
.entry-content dd, .comment-content dd { line-height: 1.714285714; margin-bottom: 7px; }
.page-links { clear: both; line-height: 1.714285714; }
/*!!! 不显示作者 */
.single-author .entry-meta .by-author { display: none; }
.mu_register h2 { color: #757575; font-weight: normal; }



/* =Search & Archive
-------------------------------------------------------------- */
/* 搜索结果页标题 */
.archive-header, .page-header { margin-bottom: 20px; border-bottom: 1px solid #ededed; }
.page-title span { color: #ff4500; }
/* 摘要 */
.search-results .entry-summary p { text-indent: 0; }
/* category.php & tag.php 暂时保留 */
.archive-meta { color: #757575; font-size: 14px; line-height: 2; margin-top: 22px; }



/* =Single audio/video attachment view
-------------------------------------------------------------- */
/* 暂时保留 */
.attachment .entry-content .mejs-audio { max-width: 400px; }
.attachment .entry-content .mejs-container { margin-bottom: 24px; }



/* =Single image attachment view
-------------------------------------------------------------- */
/* 暂时保留 */
.article.attachment { overflow: hidden; }
.image-attachment div.attachment { text-align: center; }
.image-attachment div.attachment p { text-align: center; }
.image-attachment div.attachment img { display: block; height: auto; margin: 0 auto; max-width: 100%; }
.image-attachment .entry-caption { margin-top: 8px; }



/* =Aside post format
-------------------------------------------------------------- */
/* 暂时保留 */
article.format-aside h1 { margin-bottom: 24px; }
article.format-aside h1 a { text-decoration: none; color: #4d525a; }
article.format-aside h1 a:hover { color: #2e3542; }
article.format-aside .aside { padding: 24px 24px 0; background: #d2e0f9; border-left: 22px solid #a8bfe8; }
article.format-aside p { font-size: 14px; line-height: 1.846153846; color: #4a5466; }
article.format-aside blockquote:last-child, article.format-aside p:last-child { margin-bottom: 0; }



/* =Post formats
-------------------------------------------------------------- */
/* 暂时保留 */
/* Image posts */
article.format-image footer h1 { font-size: 14px; line-height: 1.846153846; font-weight: normal; }
article.format-image footer h2 { font-size: 12px; line-height: 2.181818182; }
article.format-image footer a h2 { font-weight: normal; }

/* Link posts */
article.format-link header { padding: 0 10px; float: right; font-size: 12px; line-height: 2.181818182; font-weight: bold; font-style: italic; text-transform: uppercase; color: #848484; background-color: #ebebeb; border-radius: 3px; }
article.format-link .entry-content { max-width: 80%; float: left; }
article.format-link .entry-content a { font-size: 22px; line-height: 1.090909091; text-decoration: none; }

/* Quote posts */
article.format-quote .entry-content p { margin: 0; padding-bottom: 24px; }
article.format-quote .entry-content blockquote { display: block; padding: 24px 24px 0; line-height: 1.6; font-style: normal; color: #6a6a6a; background: #efefef; }

/* Status posts */
.format-status .entry-header { margin-bottom: 24px; }
.format-status .entry-header header { display: inline-block; }
.format-status .entry-header h1 { font-weight: normal; line-height: 1.6; margin: 0; }
.format-status .entry-header h2 { font-size: 14px; font-weight: normal; line-height: 2; margin: 0; }
.format-status .entry-header header a { color: #757575; }
.format-status .entry-header header a:hover { color: #21759b; }
.format-status .entry-header img { float: left; margin-right: 21px; }



/* =Front page template
-------------------------------------------------------------- */
/* 暂时保留 */
.entry-page-image { margin-bottom: 14px; }
.template-front-page .site-content article { border: 0; margin-bottom: 0; }
.template-front-page .widget-area { clear: both; float: none; width: auto; padding-top: 24px; border-top: 1px solid #ededed; }
.template-front-page .widget-area .widget li { margin: 8px 0 0; font-size: 14px; line-height: 1.714285714; list-style-type: square; list-style-position: inside; }
.template-front-page .widget-area .widget li a { color: #757575; }
.template-front-page .widget-area .widget li a:hover { color: #21759b; }
.template-front-page .widget-area .widget_text img { float: left; margin: 8px 24px 8px 0; }



/* =Widgets
-------------------------------------------------------------- */
/* 暂时保留 */
.widget-area .widget ul ul { margin-left: 12px; }
.widget_rss li { margin: 12px 0; }
.widget_recent_entries .post-date, .widget_rss .rss-date { color: #aaa; font-size: 12px; margin-left: 12px; }
#wp-calendar { margin: 0; width: 100%; font-size: 14px; line-height: 1.846153846; color: #686868; }
#wp-calendar th, #wp-calendar td, #wp-calendar caption { text-align: left; }
#wp-calendar #next { padding-right: 24px; text-align: right; }
.widget_search label { display: block; font-size: 14px; line-height: 1.846153846; }
.widget_twitter li { list-style-type: none; }
.widget_twitter .timesince { display: block; text-align: right; }
/* 文章归档 */
.widget_archive ul { height: 217px; overflow-y: auto; }
.widget_archive ul::-webkit-scrollbar { width: 7px; }
/* 滚动条的滑轨背景颜色 */
.widget_archive ul::-webkit-scrollbar-track { background-color: #eee; }
/* 滑块颜色 */
.widget_archive ul::-webkit-scrollbar-thumb { background-color: #ccc; }
/* 滑轨两头的监听按钮颜色 */
.widget_archive ul::-webkit-scrollbar-button { background-color: #999; }
/* 横向滚动条和纵向滚动条相交处尖角的颜色 */
.widget_archive ul::-webkit-scrollbar-corner { background-color: #777; }


/* =Plugins
----------------------------------------------- */
/* 暂时保留 */
img#wpstats { display: block; margin: 0 auto 24px; }



/* =Media queries
-------------------------------------------------------------- */
/* Does the same thing as <meta name="viewport" content="width=device-width">,
 * but in the future W3C standard way. -ms- prefix is required for IE10+ to
 * render responsive styling in Windows 8 "snapped" views; IE10+ does not honor
 * the meta tag. See https://core.trac.wordpress.org/ticket/25888.
 */
/* 设置width=device-width后，media query的width值是设备物理像素 */
@-ms-viewport {
    width: device-width;
}
@viewport {
    width: device-width;
}

/* <=959 */
@media screen and (max-width: 959px) {
/* 去掉960栅格，重新布局 */
/* 1.重置最外层容器 */
.site { width: 100%; margin: 0; overflow: visible; position: static; }
/* 2.重置header */
.site-header { left: auto; float: none; position: static; width: 100%; }
/* 2.1重置logo */
hgroup { margin-left: 0; float: none; overflow: visible; position: static; }
/* 2.2重置导航栏 */
.main-navigation { overflow: visible; margin-left: 0; width: auto; float: none; position: static; }
/* 2.2.1重置导航内容 */
.nav-menu { width: auto; float: none; }
/* 2.2.2重置搜索框 */
nav .searchform { width: auto; float: none; }
/* 3.重置main */
.site-content { left: auto; float: none; position: static; }
/* 3.1.重置content */
#content { margin-left: 0; width: auto; float: none; overflow: visible; position: static; }
/* 3.2.重置sidebar */
#secondary { margin-left: 0; width: auto; float: none; overflow: visible; position: static; }
/* 4.重置footer */
#colophon { left: auto; float: none; position: static; }
/* 4.1.重置footer content */
.site-info { margin-left: 0; width: auto; float: none; overflow: visible; position: static; }
/* end 去掉960栅格，重新布局 */

/* 添加新样式 */
/* header固定 */
.site-header { position: fixed; z-index: 100; }
/* 主栏满宽度 */
#content { width: 100%; }
/* 隐藏搜索框 */
nav .searchform { display: none; }
/* logo & 导航 */
hgroup, .main-navigation { background-color: #f8f8f8; }
hgroup { width: 100%; overflow: hidden; }
.site-title { float: left; }
/* 显示菜单按钮 */
.menu-toggle { display: inline-block; position: absolute; top: 0; right: 0; height: 32px; margin: 5px; width: 36px; background-color: #f3f3f3; border: 1px solid #ddd; border-radius: 3px; }
.menu-toggle:before, .menu-toggle:after { content: ""; position: absolute; top: 15px; left: 10px; width: 16px; height: 2px; border-radius: 1px; background-color: #888; }
.menu-toggle:after { top: 8px; left: 17px; width: 2px; height: 16px; }
.menu-toggle:hover { background-color: #eee; }
/* 调整导航菜单 */
.site-header { overflow: visible; }
.main-navigation { background-color: #f8f8f8; border-bottom: 1px solid #ddd; width: 100%; height: auto; display: none; }
.nav-menu { height: auto; width: 100%; line-height: normal; }
.nav-menu li { display: block; }
.nav-menu a { display: block; line-height: 30px; color: #444; text-decoration: none; text-align: left; }
.nav-menu a:hover { color: #000; }
/* 内容下移 */
.site-content { margin-top: 55px; min-height: 0; }
/* 细节调整 */
.post-time { float: none; display: block; }
article, aside { padding: 0 5px; }
/* end 添加新样式 */
}