#home {
    width: 40%;
    min-width: 950px;
}


/* Disabled Something */
/* #navigator {
    display: none;
} */


div#profile_block {
    display: none;
}

#sideBar h3 {
    display: none;
}

#blog-calendar {
   display:none!important;
}

/* .postCon {
    display: none;
} */

/* Style */
#topics .postTitle {
    font-size: 2.5em;
    font-weight: bold;
    text-align: center;
    margin-top: 0.75em;
    margin-bottom: 1.5em;
}



img.medium-zoom-image {
    border-radius: 1em;
    margin: 0 auto;
    width: auto; /* 保持宽度等比例 */
    max-width: 80%; /* 设置最大宽度 */
    max-height: 20em; /* 设置高度阈值 */
    height: auto; /* 保持等比例缩放 */
    display: block;
}


span[role="heading"] {
    color: black;
}

#cnblogs_post_body h1 {
    font-size: 2.2em;
    text-align: center;
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

#cnblogs_post_body p, .blogpost-body p {
    font-size: large;
}

#cnblogs_post_body blockquote {
    background-color: ghostwhite;
}


/* Sidebar */
div#sidebar_shortcut {
    display: none;
}
div#sidebar_postarchive {
    display: none;
}

div#mainContent {
    padding: 0 15px 15px 5px;
    border-right: 1px dotted #A7A7A7;
}

#sidebar_toptags a {
font-size: 18px;   /* 调整为所需大小 */
}


.newsItem, .catListEssay, .catListLink, .catListNoteBook, .catListTag, .catListPostCategory, .catListPostArchive, .catListImageCategory, .catListArticleArchive, .catListView, .catListFeedback, .mySearch, .catListComment, .catListBlogRank, .catList, .catListArticleCategory {
    background: #fff0;
}
/* Avatar */
/* 设置图片为圆形，添加白色边框和阴影 */
#sidebar_news_content img {
    border-radius: 50%;    /* 使图片成为圆形 */
    border: 10px solid white;  /* 设置白色边框，你可以根据需要调整边框的大小 */
    box-shadow: 2px 2px rgb(68, 117, 78);  
    width: 200px;   /* 根据需要设置图片宽度 */
    height: 200px;  /* 根据需要设置图片高度 */
}




/* Color */
div#home {
    background: linear-gradient(
      217deg,
      rgba(240, 255, 240, 0.8),  /* 柔和的绿色，略带透明度 */
      rgb(255, 255, 255) 30%     /* 白色，从30%位置开始渐变 */
    );
}


body {
    background-color:#dbe3e3;
    font-family: Georgia, "Times New Roman", Times, sans-serif;
}

/* Code */
.cnblogs-markdown :not(pre,div,td)>code, .blogpost-body :not(pre,div,td)>code {
    font-size: 16px;
    background-color: rgb(232, 244, 230);
    color: #064d15;
}

/* Font */
.postBody {
    font-weight:lighter;
    font-family: Georgia, "Times New Roman", Times, sans-serif;
}

#sidebar_toptags a[href*="github"] {
  color: white!important;
  background-color: #000;
  border-radius: 4px;
  
}

/* 移动端样式 - 屏幕宽度小于768px */
@media screen and (max-width: 768px) {
    
    /* 调整主标题字体大小 */
    #topics .postTitle {
        font-size: 180% !important; /* 从300%改为180% */
        margin-top: 0.5em;
        margin-bottom: 1em;
    }
    
    /* 调整文章内的h1标题 */
    #cnblogs_post_body h1 {
        font-size: 1.8em !important; /* 更适中的标题大小 */
        margin-top: 1em;
        margin-bottom: 0.5em;
    }
    
    /* 调整段落字体大小 */
    #cnblogs_post_body p, .blogpost-body p {
        font-size: 16px !important; /* 固定为16px，更适合移动端 */
        line-height: 1.6; /* 增加行高，提高可读性 */
    }
    
    /* 调整侧边栏标签字体 */
    #sidebar_toptags a {
        font-size: 14px !important; /* 缩小侧边栏字体 */
    }
    
    /* 调整代码字体 */
    .cnblogs-markdown :not(pre,div,td)>code, 
    .blogpost-body :not(pre,div,td)>code {
        font-size: 14px !important;
    }
    
    /* 调整home区域宽度（如果需要） */
    #home {
        width: 100% !important;
        min-width: auto !important;
    }
    
    /* 调整图片大小 */
    img.medium-zoom-image {
        max-width: 95% !important;
        max-height: 15em !important;
    }
    
    /* 调整侧边栏头像大小 */
    #sidebar_news_content img {
        width: 120px !important;
        height: 120px !important;
        border: 5px solid white !important; /* 缩小边框 */
    }
    
    /* 调整主内容区域边距 */
    #mainContent {
        padding: 0 10px 10px 5px !important;
        border-right: none !important; /* 移动端去掉边框 */
    }
}

/* 平板设备 - 屏幕宽度768px-1024px */
@media screen and (min-width: 769px) and (max-width: 1024px) {
    #topics .postTitle {
        font-size: 220% !important; /* 中等屏幕使用中等大小 */
    }
    
    #cnblogs_post_body h1 {
        font-size: 2em !important;
    }
    
    #cnblogs_post_body p, .blogpost-body p {
        font-size: 18px !important;
    }
}





table {
    margin: 0 auto;
}



