@import url("https://cdn.jsdelivr.net/gh/BNDong/Cnblogs-Theme-SimpleMemory@v2.1.7/dist/simpleMemory.min.css");

/* ↓↓↓ 下面接你之前粘贴的自定义 CSS 代码 ↓↓↓ */
/* Original Author: PHKLSA
Version: 6.0
Latest Update: 2026/08/28
Updated Content:
1. 适配 SimpleMemory 主题 v2.1.4
2. 配置博客基础信息（名称、头像、入园时间等）
3. 设置 banner 背景图及首页标语
4. 开启首页 banner 动效
5. 配置侧边栏导航及背景
6. 设置页脚样式及版权信息
7. 调整代码框样式（行号）
欢迎访问我的博客：https://www.cnblogs.com/PHKLSA/
如有建议，欢迎私信交流：https://msg.cnblogs.com/send/PHKLSA
—— PHKLSA */

@font-face {
    font-family: 'YunFengJingJing';
    src: url('https://github.com/sdchiyan123/ttf-or-ttc/raw/refs/heads/main/%E4%BA%91%E5%B3%B0%E6%99%B6%E6%99%B6%E4%BD%93.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ===== 全局字体 ===== */
body { font-family: "YunFengJingJing", "Microsoft Yahei", sans-serif; }
.postTitle a:link { font-family: "YunFengJingJing", "Open Sans", sans-serif; }
#sideBar a { font-family: "YunFengJingJing", "Long Cang", sans-serif; }
.page-title { font-family: "YunFengJingJing", "Long Cang", cursive; }
#cnblogs_post_body h1 { font-family: "YunFengJingJing", "Long Cang", cursive; }
.entrylistItemPostDesc, .sb-title { font-family: "YunFengJingJing", "Long Cang", sans-serif; }
.c_b_p_desc { font-family: "YunFengJingJing", "Apple Chancery", serif; }
.page-description { font-size: 3rem; font-family: "YunFengJingJing", "Long Cang", cursive; }

/* ===== 黑幕效果 ===== */
.heimu, .heimu a, a .heimu, .heimu a.new {
    background-color: #252525;
    color: #252525;
    text-shadow: none;
}
.heimu:hover, .heimu:active, .heimu:hover .heimu, .heimu:active .heimu {
    color: white !important;
}
.heimu:hover a, a:hover .heimu, .heimu:active a, a:active .heimu {
    color: lightblue !important;
}

/* ===== 推荐按钮美化 ===== */
#div_digg {
    position: fixed;
    bottom: 10px;
    width: 60px;
    right: 50px;
    box-shadow: 0 0 6px #0000FF;
    border: 2px solid #800080;
    padding: 4px;
    background-color: #fff;
    border-radius: 4px;
}
.buryit { opacity: 0; display: none; }
.diggit { margin-left: 30%; }

/* ===== 滚动条美化 ===== */
::-webkit-scrollbar { width: 3px; height: 3px; }
::-webkit-scrollbar-thumb {
    background-color: #999;
    background-clip: padding-box;
    min-height: 100px;
}
::-webkit-scrollbar-thumb:hover { background-color: #555; }

/* ===== 隐藏多余元素 ===== */
#comment_nav, #header, #leftcontentcontainer, #profile_block, #top_nav, .catListTitle {
    display: none !important;
}
#ad_c1, #ad_c2, #ad_t1, #ad_t2, #cnblogs_c1, #cnblogs_c2 { display: none; }
#cnblogs_ch { display: none !important; }
.ad_text_commentbox { display: none !important; }
.c_ad_block, .under-post-card { display: none !important; }

/* ===== 隐藏鼠标（默认注释，取消注释即可启用） ===== */
/* html { cursor: none; } */
/* 针对性强化 Banner 的标题、副标题和作者名 */
#main-header .page-title, 
#main-header #homeTopTitle,
#main-header .page-description, 
#main-header #hitokoto,
#main-header .page-author {
    color: #ffffff !important; /* 字保持纯白 */
    /* 用多层阴影叠加出黑边效果 */
    text-shadow: 0 0 2px #000, 
                 0 0 4px #000, 
                 1px 1px 2px #000, 
                 -1px -1px 2px #000 !important; 
    font-weight: bold !important;
}