/****** 主体修改 ******/
/* 整体页面样式重置与基础配置，设置字体、背景透明度和背景颜色等基础样式 */
#home {
    font-family: "思源宋体", "Times New Roman", serif;
    opacity: 0.9; /* 设置整个#home区域的背景透明度为0.77，取值范围是0到1，0表示完全透明，1表示完全不透明 */
    background-color: #ffffff; /* 设置#home区域的背景颜色为灰色，可按需替换为其他颜色 */
}
/* 屏蔽博客园顶部导航和博客标题元素，使其不显示 */
#top_nav,
#blogTitle {
    display: none;
}
 
/******* 公告修改 ******/
/* 屏蔽公告标题元素，使其不显示 */
div.newsItem > h3 {
    display: none;
}
/* 侧边栏样式设置，让其内部元素左右分布，使用flex布局 */
#sidebar_news_content {
    display: flex;
    justify-content: space-between; /* 使内部元素在水平方向均匀分布，两端对齐 */
}
/* 设置侧边栏中两个元素的宽度占比，各占48%，留出一点间隙 */
#sidebar_news_content #notelog,
#sidebar_news_content #profile_block {
    width: 90%;
}
/* 给公告头像右侧添加黑色边框线 */
/* #notelog {
    border-right: 2px solid rgb(0, 0, 0);
} */
 
/****** 侧边栏修改 ******/
/* 修改日期标题的背景颜色、添加圆角效果 */
.dayTitle {
    background-color: #1a7c39;
    border-radius: 10px; /* 设置四个角的圆角半径为10px，使元素外观更圆润 */
}
/* 给侧边栏新闻区域添加边框、设置边框样式并添加圆角效果 */
#sidebar_news {
    box-sizing: border-box; /* 使元素的宽高包含边框和内边距，方便布局计算 */
    border: 1px solid #1a7c39;
    border-radius: 10px;
}
/* 侧边栏搜索等区域圆角 */
#blog-sidecolumn {
    box-sizing: border-box; /* 使元素的宽高包含边框和内边距，方便布局计算 */
    border-radius: 10px;
}
/* 日期和侧边搜索框样式美化，添加底部和右侧边框，并设置右下角的圆角效果 */
#sidebar_search_box {
    border-bottom: 2px solid #1a7c39;
    border-right: 2px solid #1a7c39;
    border-bottom-right-radius: 10px;
}
.CalTodayDay{
    font-weight: bold;
    color: red;
}
 
/****** 广告类 ******/
/* 屏蔽多个广告相关元素，使其不显示 */
/* #cnblogs_ch,
#under_post_card1,
#under_post_card2,
#under-post-card,
#blog_c1,
#opt_under_post,
#ad_t2,
#cnblogs_c1,
#under_post_news,
#cnblogs_c2,
#under_post_kb {
    display: none;
} */
/* 去除博客园会员广告相关元素，使其不显示 */
.charm-bar-wrapper {
    display: none;
}

#cnblogs_ch{
    display: none;
}
.under-post-card{
    display: none;
}
 
#under_post_card2{
    display: none;
}
#daynightswitch{
    text-align: center;
    background-color: black;
}
#h2{
    color: red;
}
