html,
body {
  height: 100%;
}

pre {
  margin: 8px 0 !important;
}

pre > code {
  padding: 5px !important;
  border: 1px solid #ccc !important;
}

#home {
  box-sizing: border-box;
  min-height: 100%;
  position: relative !important;
  background: #fff !important;
}

#header {
  position: sticky !important;
  top: 0px !important;
  background: #fff !important;
  box-shadow: 0 0 9px #999 !important;
  z-index: 9999;
}

#blogTitle {
  padding: 0px !important;
}

#navigator {
  border: 0 !important;
  background: transparent !important;
  overflow: hidden !important;
}

#sideBar h3,
#MyIng .ing_title {
  margin: 16px 0 0 !important;
}

blockquote {
  background: #f5f5f5 !important;
  border: none !important;
  border-left: 4px solid #ccc !important;
}

hr {
  margin: 1rem 0 !important;
  border-top: none !important;
  border-bottom: 1px dotted #999 !important;
}

li > pre:last-child {
  margin-bottom: 20px !important;
}

.cnblogs-markdown h1 code,
.cnblogs-markdown h2 code,
.cnblogs-markdown h3 code,
.cnblogs-markdown h4 code,
.cnblogs-markdown p code,
.cnblogs-markdown li > code {
  color: unset !important;
  background-color: #f5f5f5 !important;
}

.post-view-count {
  float: left;
}

.cnblogs-markdown th {
  background: transparent !important;
}

.cnblogs-markdown .hljs {
  padding-right: 0 !important;
}

.day > .postTitle,
.entrylistPosttitle {
  border-bottom-width: 0 !important;
}

div > a.entrylistItemTitle,
div > a.postTitle2 {
  color: #002c99 !important;
  font-weight: normal !important;
}

.post > .postTitle,
.entrylistTitle {
  font-size: 24px !important;
  border-bottom: 1px dotted #999 !important;
  margin: 0 0 1em !important;
  padding-top: 20px !important;
  padding-bottom: 1rem !important;
}

.day > .postTitle,
.entrylistItem > .entrylistTitle {
  margin-top: 0 !important;
  padding-top: 20px !important;
}

#cnblogs_post_body code {
  font-family: Consolas, 微软雅黑, monospace !important;
}

#cnblogs_post_body ol {
  padding-left: 20px !important;
}

#cnblogs_post_body ul {
  margin-left: 20px !important;
}

#cnblogs_post_body ol ol > li {
  list-style-type: lower-roman !important;
}

#cnblogs_post_body img {
  max-width: 100% !important;
}

#cnblogs_post_body,
.postTitle,
.entrylistPosttitle {
  font-size: 16px !important;
}
#cnblogs_post_body h3 {
  font-size: 18px !important;
}
#cnblogs_post_body h4 {
  font-size: 16px !important;
}

#sideBar {
  border: none !important;
}

@media only screen and (max-width: 767px) {
  #blog_post_info_block {
    display: none !important;
  }
  #cnblogs_post_body table {
    display: table !important;
  }
  #post-date {
    font-size: 14px !important;
  }
  pre {
    font-size: 12px !important;
  }
}

@media only screen and (min-width: 768px) {
  body {
    max-width: 1024px !important;
    margin: auto !important;
  }
  #home {
    border: 1px solid #ccc !important;
    border-top-width: 0 !important;
    border-bottom-width: 0 !important;
    box-shadow: 0 0 9px #999 !important;
  }
  #home::after {
    content: "";
    position: absolute;
    left: 240px;
    top: 34px;
    height: calc(100% - 38px);
    width: 1px;
    background: #ccc;
  }
  .forFlow {
    margin: 0 0 0 240px !important;
    padding: 0 16px 16px !important;
  }
  #post-date {
    font-size: 10pt !important;
  }
  pre {
    font-size: 14px !important;
  }
  @media only screen and (min-width: 1056px) {
    body {
      overflow: overlay;
    }
  }
  @media only screen and (min-height: 690px) {
    #sideBar {
      position: sticky;
      top: 30px;
    }
  }
}

.post .postDesc {
  font-size: 0 !important;
}

#post-date::before {
  content: "posted @ ";
}

.postDesc,
.entrylistItemPostDesc {
  padding-top: 5px !important;
  padding-bottom: 10px !important;
}

.c_b_p_desc {
  font-size: 14px !important;
  word-break: unset !important;
}

#nav_next_page {
  text-align: center !important;
}

#nav_next_page a {
  border: 1px solid #9aafe5;
  color: #2e6ab1;
  margin: 0 2px;
  padding: 2px 5px;
  text-decoration: none;
}

.entrylistItemPostDesc a {
  color: #999 !important;
}

#div_digg {
  margin: 0 !important;
}

.entrylistItemPostDesc a,
#cnblogs_post_body img,
h1.entrylistTitle,
h1.postTitle,
#post-date {
  pointer-events: none !important;
}

body > *:not(#home),
.entrylist > .entrylistTitle:first-child,
#comment_form,
#sidebar_news .catListTitle:first-child,
.postDesc a,
.post-digg-count,
.post-comment-count,
.entrylistItemPostDesc a[rel="nofollow"],
.c_b_p_desc_readmore,
.cnb-code-toolbar,
.entry-list-title-dropdown-prompt,
#vip_tip,
#sidebar_recentposts ul li:nth-child(10),
#sidebar_recentposts ul li:nth-child(9),
#sidebar_recentposts ul li:nth-child(8),
#sidebar_recentposts ul li:nth-child(7),
#sidebar_recentposts ul li:nth-child(6),
#MySignature,
#green_channel,
#post_next_prev,
#stats_total_view_count,
#stats_comment_count,
#stats_article_count,
#footer {
  display: none !important;
}
