* {
  box-sizing: border-box;
}
body {
  margin: 0;
  padding: 0;
  background-color: #fff;
  color: #333;
}
ul {
  margin: 0;
  padding: 0;
}

/* top nav */
#top_nav {
  margin-left: -10px;
}
#top_nav #nav_main {
  width: 1200px;
  margin: 0 auto;
}

/* nav */
.navbar {
  padding: 10px 40px;
}
.navbar-custom {
  display: block;
}
#header {
  background: url("https://www.cnblogs.com/skins/moonlightink/images/top.jpg");
  background-size: 100%;
  background-position: 0 0;
  background-repeat: no-repeat;
}
div#blogTitle {
  width: 1200px;
  height: 16vw;
  margin: 0 auto;
  padding-top: 6vw;
  background: none;
}
div#blogTitle .title a {
  font-size: 33px;
  color: #333;
  text-decoration: none;
}
div#blogTitle .subtitle {
  color: #666;
  margin-top: 10px;
}

/* 二级导航 */
#navigator .blogStats {
  display: none;
}
#navigator #navList {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  width: 1200px;
  margin: 0 auto;
}
#navigator #navList li {
  padding: 12px 0;
  margin-right: 30px;
}
#navigator #navList li a {
  text-decoration: none;
  color: #333;
}
#sideBar {
  display: none;
}
#footer {
  padding: 10px 0;
  color: #aaa;
  display: flex;
  justify-content: center;
  margin-top: 60px;
}

/* main */
#main {
  width: 1200px;
  margin: 0 auto;
}
.dayTitle {
  display: none;
}
.postTitle {
  margin-bottom: 5px;
  font-size: 20px;
  position: relative;
}
.postTitle a {
  text-decoration: none;
  color: #333;
}
#cb_post_title_url {
  position: absolute;
  top: 0;
  right: 300px;
  color: #aaa;
  font-size: 28px;
}
.postDesc {
  margin-top: 5px;
  font-size: 12px;
  color: #666;
}
.c_b_p_desc {
  font-size: 14px;
}
.c_b_p_desc_readmore {
  display: none;
}

/* article */
pre {
  margin-top: 8px;
}
#mainContent .list {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
  padding-top: 10px;
  gap: 2%;
}
#mainContent .list .list-item {
  width: 32%;
  padding: 15px;
  padding-bottom: 20px;
  background-color: #eee;
  border-radius: 4px;
  margin-top: 20px;
}
#mainContent .list .list-item .postCon {
  display: -webkit-box;
  overflow: hidden;
  white-space: normal !important;
  text-overflow: ellipsis;
  word-wrap: break-word;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  color: #666;
  text-align: justify;
  margin: 10px 0;
  font-size: 14px;
}

/* detail */
#post_detail .postBody {
  position: relative;
}
#post_detail #cnblogs_post_body {
  width: 900px;
}
#post_detail #cnblogs_post_body .aside {
  position: absolute;
  top: 0;
  right: 0;
  width: 280px;
  height: auto;
  padding: 20px 0;
  background-color: #f8f8f8;
}
#post_detail #cnblogs_post_body .aside h3 {
  margin: 0 15px;
  border-bottom: 1px solid #ccc;
  padding-bottom: 10px;
  color: #666;
}
#post_detail #cnblogs_post_body .aside ul {
  width: 100%;
  max-height: calc(100vh - 90px);
  overflow: auto;
  margin: 0;
  margin-top: 15px;
}
#post_detail #cnblogs_post_body .aside li {
  list-style: none;
}
#post_detail #cnblogs_post_body .aside li a {
  padding: 5px 15px;
  line-height: 2;
  text-decoration: none;
}
#post_detail #cnblogs_post_body .aside .H1 {
  padding-left: 0;
}
#post_detail #cnblogs_post_body .aside .H1 a {
  color: #000;
  font-size: 16px;
}
#post_detail #cnblogs_post_body .aside .H2 {
  padding-left: 15px;
}
#post_detail #cnblogs_post_body .aside .H2 a {
  color: #333;
  font-size: 14px;
}
#post_detail #cnblogs_post_body .aside .H3 {
  padding-left: 30px;
}
#post_detail #cnblogs_post_body .aside .H3 a {
  color: #666;
  font-size: 12px;
}