@charset "utf-8";

/* 防止用户自定义背景颜色对网页的影响，添加让用户可以自定义字体 */
html {
  color: #333;
  background: #fff;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  text-rendering: optimizelegibility;
}

/* 如果你的项目仅支持 IE9+ | Chrome | Firefox 等，推荐在 <html> 中添加 .borderbox 这个 class */
html.borderbox *, html.borderbox *:before, html.borderbox *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* 内外边距通常让各个浏览器样式的表现位置不同 */
body, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td, hr, button, article, aside, details, figcaption, figure, footer, header, menu, nav, section {
  margin: 0;
  padding: 0;
}

/* 重设 HTML5 标签, IE 需要在 js 中 createElement(TAG) */
article, aside, details, figcaption, figure, footer, header, menu, nav, section {
  display: block;
}

/* HTML5 媒体文件跟 img 保持一致 */
audio, canvas, video {
  display: inline-block;
}

/* 要注意表单元素并不继承父级 font 的问题 */
body, button, input, select, textarea {
  font: 300 1em/1.8 PingFang SC, Lantinghei SC, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
  padding: 0;
  border: 0;
}

/* 去掉各Table cell 的边距并让其边重合 */
table {
  border-collapse: collapse;
  border-spacing: 0;
}

/* 去除默认边框 */
fieldset, img {
  border: 0;
}

/* 块/段落引用 */
blockquote {
  position: relative;
  color: #999;
  font-weight: 400;
  border-left: 1px solid#0169d9;
  padding-left: 1em;
  margin: 1em 3em 1em 2em;
}

@media only screen and ( max-width: 640px ) {
  blockquote {
    margin: 1em 0;
  }
}

/* Firefox 以外，元素没有下划线，需添加 */
acronym, abbr {
  border-bottom: 1px dotted;
  font-variant: normal;
  text-decoration: none;
}

/* 添加鼠标问号，进一步确保应用的语义是正确的（要知道，交互他们也有洁癖，如果你不去掉，那得多花点口舌） */
abbr {
  cursor: help;
}

/* 一致的 del 样式 */
del {
  text-decoration: line-through;
}

address, caption, cite, code, dfn, em, th, var {
  font-style: normal;
  font-weight: 400;
}

/* 去掉列表前的标识, li 会继承，大部分网站通常用列表来很多内容，所以应该当去 */
ul, ol {
  list-style: none;
}

/* 对齐是排版最重要的因素, 别让什么都居中 */
caption, th {
  text-align: left;
}

q:before, q:after {
  content: '';
}

/* 统一上标和下标 */
sub, sup {
  font-size: 75%;
  line-height: 0;
  position: relative;
}

:root sub, :root sup {
  vertical-align: baseline; /* for ie9 and other modern browsers */
}

sup {
  top: -0.5em;
}

sub {
  bottom: -0.25em;
}

/* 让链接在 hover 状态下显示下划线 */
a {
  color:#0169d9;
}

a:hover {
  text-decoration: underline;
}

.post a {
  border-bottom: 1px solid#0169d9;
}

.post a:hover {
  border-bottom-color: #555;
  color: #555;
  text-decoration: none;
}

/* 默认不显示下划线，保持页面简洁 */
ins, a {
  text-decoration: none;
}

/* 专名号：虽然 u 已经重回 html5 Draft，但在所有浏览器中都是可以使用的，
 * 要做到更好，向后兼容的话，添加 class="typo-u" 来显示专名号
 * 关于 <u> 标签：https://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html#the-u-element
 * 被放弃的是 4，之前一直搞错 https://www.w3.org/TR/html401/appendix/changes.html#idx-deprecated
 * 一篇关于 <u> 标签的很好文章：https://html5doctor.com/u-element/
 */
u, .post-u {
  text-decoration: underline;
}

/* 标记，类似于手写的荧光笔的作用 */
mark {
  background: #fffdd1;
  border-bottom: 1px solid #ffedce;
  padding: 2px;
  margin: 0 5px;
}

/* 代码片断 */
pre, code, pre tt {
  font-family: Courier, 'Courier New', monospace;
}

pre {
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: 1em 1.5em;
  display: block;
  -webkit-overflow-scrolling: touch;
}

/* 一致化 horizontal rule */
hr {
  border: none;
  border-bottom: 1px solid #cfcfcf;
  margin-bottom: 0.8em;
  height: 10px;
}

/* 底部印刷体、版本等标记 */
small, .post-small,
  /* 图片说明 */
figcaption {
  font-size: 0.9em;
  color: #888;
}

strong, b {
  font-weight: bold;
  color: #000;
}

/* 可拖动文件添加拖动手势 */
[draggable] {
  cursor: move;
}

.clearfix:before, .clearfix:after {
  content: "";
  display: table;
}

.clearfix:after {
  clear: both;
}

.clearfix {
  zoom: 1;
}

/* 强制文本换行 */
.textwrap, .textwrap td, .textwrap th {
  word-wrap: break-word;
  word-break: break-all;
}

.textwrap-table {
  table-layout: fixed;
}

/* 提供 serif 版本的字体设置: iOS 下中文自动 fallback 到 sans-serif */
.serif {
  font-family: Palatino, Optima, Georgia, serif;
}

/* 保证块/段落之间的空白隔行 */
.post p, .post pre, .post ul, .post ol, .post dl, .post form, .post hr, .post table,
.post-p, .post-pre, .post-ul, .post-ol, .post-dl, .post-form, .post-hr, .post-table, blockquote {
  margin-bottom: 1.2em
}

h1, h2, h3, h4, h5, h6 {
  font-family: PingFang SC, Verdana, Helvetica Neue, Microsoft Yahei, Hiragino Sans GB, Microsoft Sans Serif, WenQuanYi Micro Hei, sans-serif;
  font-weight: 100;
  color: #000;
  line-height: 1.35;
}

/* 标题应该更贴紧内容，并与其他块区分，margin 值要相应做优化 */
.post h1, .post h2, .post h3, .post h4, .post h5, .post h6,
.post-h1, .post-h2, .post-h3, .post-h4, .post-h5, .post-h6 {
  margin-top: 1.2em;
  margin-bottom: 0.6em;
  line-height: 1.35;
}

.post h1, .post-h1 {
  font-size: 2em;
}

.post h2, .post-h2 {
  font-size: 1.8em;
}

.post h3, .post-h3 {
  font-size: 1.6em;
}

.post h4, .post-h4 {
  font-size: 1.4em;
}

.post h5, .post h6, .post-h5, .post-h6 {
  font-size: 1.2em;
}

/* 在文章中，应该还原 ul 和 ol 的样式 */
.post ul, .post-ul {
  margin-left: 1.3em;
  list-style: disc;
}

.post ol, .post-ol {
  list-style: decimal;
  margin-left: 1.9em;
}

.post li ul, .post li ol, .post-ul ul, .post-ul ol, .post-ol ul, .post-ol ol {
  margin-bottom: 0.8em;
  margin-left: 2em;
}

.post li ul, .post-ul ul, .post-ol ul {
  list-style: circle;
}

/* 同 ul/ol，在文章中应用 table 基本格式 */
.post table th, .post table td, .post-table th, .post-table td, .post table caption {
  border: 1px solid #ddd;
  padding: 0.5em 1em;
  color: #666;
}

.post table th, .post-table th {
  background: #fbfbfb;
}

.post table thead th, .post-table thead th {
  background: #f1f1f1;
}

.post table caption {
  border-bottom: none;
}

/* 去除 webkit 中 input 和 textarea 的默认样式  */
.post-input, .post-textarea {
  -webkit-appearance: none;
  border-radius: 0;
}

.post-em, .post em, legend, caption {
  color: #000;
  font-weight: inherit;
}

/* 着重号，只能在少量（少于100个字符）且全是全角字符的情况下使用 */
.post-em {
  position: relative;
}

.post-em:after {
  position: absolute;
  top: 0.65em;
  left: 0;
  width: 100%;
  overflow: hidden;
  white-space: nowrap;
  content: "・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・・";
}

/* Responsive images */
.post img {
  max-width: 100%;
}

body {
    background-color: #e7eaef;
}

#topBar {
    height: 16px;
    background-color: none;
}

.postBody a:link {
    text-decoration: none;
}

#home {
    width: 80%;
    max-width: 2100px;
    padding: 0;
    background: none;
    box-shadow: none;
}

#header {
    display: flex;
    flex-direction: column;
}

#blogTitle {
    width: auto;
}

#blogTitle h1 {
    margin: 0;
}

#blogTitle h1 a {
    padding: 16px 32px;
    box-sizing: border-box;
    color: #fff;
    font-weight: 600;
    letter-spacing: 1px;
    background-color: #0169d9;
    border-radius: 32px;
    box-shadow: 0 10px 16px #0169d944;
    transition: all 0.3s;
}

#blogTitle h1 a:hover{
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
}

#navigator {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    border-radius: 16px;
    box-shadow: 8px 8px 16px #00000011;
}

#navList {
    display: flex;
    height: 100%;
    box-sizing: border-box;
    font-family: 'Microsoft Yahei','SimHei','STHeiti',sans-serif;
}

#navList li {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    width: 100px;
    margin: 0;
    transition: all 0.3s;
}

#navList li:first-child {
    border-radius: 15px 0 0 15px;
}

#navList li:hover {
    background-color: #0169d9;
    transform: scale(1.1);
}

#navList li:hover a {
    color: #fff;
}

 /* #navList a:active   */

#navList a:visited,#navList a:link {
    color: #333333;
}

#navList a {
    padding: 0;
    font-weight: 500;
    font-size: 16px;
    line-height: 21px;
    color: #333333;
}

#navigator .blogStats {
    margin: 0;
    margin-right: 16px;
}

#navigator .blogStats span {
    background-color: #dcedff;
    border-radius: 16px;
    padding: 4px 8px;
    margin: 0 8px;
    cursor: default;
}

#stats-total-view-count span {
    background: none;
    border-radius: 0px !important;
    padding: 0 !important;
    margin: 0 !important;
}

#main {
    display: flex;
    justify-content: space-between;
}

#mainContent {
    display: flex;
    margin: 0;
    padding: 16px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 16px;
}

#mainContent .forFlow {
    margin: 0;
}

#sideBar {
    display: flex;
    width: 360px;
    margin: 0;
    margin-left: 16px;
    padding: 0;
}

#sideBarMain {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#sidebar_news {
    display: flex;
    flex-direction: column;
    margin: 0;
    padding: 32px 16px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 16px;
}

#sidebar_news h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 500;
}

#profile_block {
    margin-top: 16px;
    padding: 0 16px;
    box-sizing: border-box;
    font-size: 16px;
}

#blog-calendar {
    margin-top: 16px;
}

#leftcontentcontainer {
    margin-top: 16px;
}

#sidebar_search {
    margin-top: 16px;
    padding: 16px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 16px;
}

#sidebar_search>#sidebar_search {
    padding: 0;
    box-sizing: border-box;
    background: none;
    border-radius: 0px;
    box-shadow: none;
}

#sidebar_search h3 {
    margin: 0;
    font-size: 32px;
    font-weight: 500;
}

#sidebar_search_box {
    margin-top: 16px;
    box-sizing: border-box;
}

#widget_my_zzk,#widget_my_google {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 8px;
    box-sizing: border-box;
    background-color: #f6fafd;
    border-radius: 32px;
}

.input_my_zzk {
    padding: 0;
    box-sizing: border-box;
    background: none;
    border: none;
    font-size: 16px;
}

.input_my_zzk:hover,.input_my_zzk:focus {
    border: none;
}

#btnZzk,.btn_my_zzk {
    position: relative;
    top: 0;
    right: 0;
    margin-bottom: 4px;
}

#sidebar_shortcut {
    margin-top: 16px;
    padding: 16px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 16px;
}

#sidebar_shortcut h3 {
    margin: 0;
    margin-top: 16px;
    font-size: 32px;
    font-weight: 500;
}

#sidebar_shortcut ul {
    margin-top: 16px;
    padding: 0 16px;
    box-sizing: border-box;
}

#sidebar_shortcut ul li a {
    font-size: 16px;
    color: #333333;
}

#sidebar_postarchive {
    margin-top: 16px;
    padding: 16px;
    box-sizing: border-box;
    background-color: #fff;
    border-radius: 16px;
}

#sidebar_postarchive h3 {
    margin: 0;
    margin-top: 16px;
    font-size: 32px;
    font-weight: 500;
}

#sidebar_postarchive ul {
    margin-top: 16px;
    padding: 0 16px;
    box-sizing: border-box;
}

#sidebar_postarchive ul li a {
    font-size: 16px;
    color: #333333;
}

#topics .postTitle {
    display: flex;
    justify-content: center;
    font-size: 210%;
}

.postTitle a:link, .postTitle a:visited, .postTitle a:active {
    transition: all 0.3s;
}

.postTitle a:hover {
    margin-left: 0;
}

.toc-container-header {
    font-size: 21px;
}

#blog_post_info {
    display: flex;
    flex-direction: column;
    align-items: center;
}

#green_channel {
    width: 80%;
    margin: 0;
    border: none;
}

#green_channel #green_channel_digg,
#green_channel #green_channel_follow,
#green_channel #green_channel_favorite {
    background: #0169d9;
    font-weight: 600;
    padding: 8px 16px;
    margin: 0 16px;
    font-size: 16px;
    box-shadow: 0 8px 16px #0169d932;
    letter-spacing: 0.8px;
    text-shadow: none;
    border-radius: 15px;
    line-height: 18px;
    transition: all 0.3s;
}

#green_channel #green_channel_digg:hover,
#green_channel #green_channel_follow:hover,
#green_channel #green_channel_favorite:hover {
    transform: scale(1.1);
}

#green_channel_weibo,#green_channel_wechat {
    padding: 0;
}

#author_profile {
    display: none;
    width: auto;
}

#div_digg {
    margin: 0px;
    margin-top: 16px;
}

.diggit,
.buryit {
    margin: 0;
    padding: 0;
}

#topics .postDesc {
    display: flex;
    justify-content: center;
    margin-top: 16px;
}

#mainContent .forFlow {
    width: 100%;
}