#under_post_card2,
#under_post_card1,
#top_nav,
#bannerbar {
  display: none;
}

:root {
  --color-primary: #003460; /*重点文字颜色*/
  --color-background: #FFFFFD; /*背景色*/
  --color-blog-title: #fff; /*博客标题颜色*/
  --color-nav-text: #eee; /*导航栏文字颜色*/
  --color-nav-background: #003460; /*导航栏背景色*/
  --color-main-text: #111; /*主界面文字颜色*/
  --color-main-background: #FDF6EC; /*主界面背景色*/
  --base-font-size: 1.1rem;
  --code-color: var(--color-main-text);
  --code-font-size: var(--base-font-size);
  --code-background: #eee;
}

body {
  font-family: 'Open Sans', sans-serif;
  font-size: var(--base-font-size);
  line-height: 1.7em;
  color: var(--color-main-text);
  margin: 0;
  padding-left: 400px;
}
a {
  text-decoration: none;
}
code {
  font-size: var(--base-font-size);
}

/* 布局 */
#home {
  display: flex;
}

/* 左侧导航 */
#home #header {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 400px;
  height: 100vh;
  text-align: center;
  box-shadow: 0 0 12px 2px rgb(0 0 0 / 40%);
  background-color: var(--color-nav-background);
  color: var(--color-nav-text);
}
#blogTitle a {
  display: block;
  color: var(--color-blog-title);
  text-decoration: none;
  background-color: transparent;
}

#home #header #navigator #navList {
  display: flex;
  margin: 0 auto auto;
  flex-direction: column;
  padding-left: 0;
  margin-bottom: 0;
  list-style: none;
}

#home #header #navigator #navList a {
  display: block;
  padding: 0.5rem 1rem;
  text-decoration: none;
  background-color: transparent;
  color: var(--color-nav-text);
}

#home #header #navigator #navList a:hover {
  color: #fff;
}

#home #header .blogStats {
  font-size: 0.8em;
}

/* 右侧正文 */
#home {
  width: 100%;
  background-color: var(--color-background);
}
#home #main {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
  max-width: 800px;
}
#main #mainContent .day {
  border-bottom: 1px solid #dadee2;
  padding: 1em 0;
  
}

#main #mainContent .dayTitle {
  text-align: center;
}
#main #mainContent .dayTitle a {
  color: var(--color-main-text);
}

.post h1 {
  padding: 1rem 0;
  font-size: 1.2rem;
}

#main #mainContent .postTitle {
  text-align: center;
  margin: 1rem;
  line-height: 1.2rem;
}

#main #mainContent .postTitle a {
  line-height: 1.3em;
  font-size: 1.2em;
  font-weight: 700;
  color: var(--color-primary);
  text-decoration: none;
  background-color: transparent;
}

#main #mainContent .postDesc {
  text-align: right;
  font-size: 0.6rem;
}
#main a {
  color: var(--color-primary);
  text-decoration: none;
  background-color: transparent;
  -webkit-text-decoration-skip: objects;
}

#main code {
  //color: var(--code-color);
  font-size: var(--code-font-size);
  //background-color: var(--code-background);
}

/* 页脚 */
#home #footer {
  display: none;
}

#sidebar_search {
  position: fixed;
  left: 0;
  bottom: 0;
  padding:20px;
}
#sidebar_search .catListTitle {
  display: none;
}
#sidebar_search_box{
  
  display: flex;
  flex-direction: row;
  align-items: center;
  width: 400px;
  justify-content: center;
}

input.btn_my_zzk{
    background-color: #6b86b3;
    color: #fff;
    border: 1px solid #333333;
    text-transform: uppercase;
    cursor: pointer;
    font-weight: 700;
    outline: none;
    margin: 0;
}

/* hide */
#cnblogs_c2,
#cnblogs_ch{
  display: none;
}

@media screen and (max-width: 768px) {
  body {
    margin: 0;
    padding: 0;
  }
  #home {
    display: flex;
    flex-flow: column;
  }
  #home #header {
    display: flex;
    flex-direction: row;
    position: relative;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 4rem;
    text-align: left;
    box-shadow: 0 0 12px 2px rgb(0 0 0 / 40%);
    background-color: var(--color-nav-background);
    color: var(--color-nav-text);
    justify-content: space-between;
  }
  #home #header #blogTitle {
    display: flex;
    flex-direction: column;
    padding: 10px;
  }
  #blogTitle h1,#blogTitle h2{
    line-height: 1rem;
    margin: 0;
  }
  
  #home #header #navigator #navList {
    flex-direction: row;
    /* text-align: right; */
    /* justify-content: right; */
    align-items: ri;
  }
  #home #header #navigator #navList a {
    display: flex;

    align-items: center;
    font-size: 1.2rem;
    padding: 1rem 0.5rem;
    font-weight: 700;
  }
  #home #header .blogStats {
    text-align: right;
    padding-right: 1rem;
    display: none;
  }
  #home #header ul {
    display: flex;
    flex-direction: column;
  }
  #home #main {
    margin: 0;
    /* padding: 0 15px; */
  }

  #sidebar_search {
    position: relative;
  }
  #sidebar_search_box{
  width: 100%;
  }
}