/* ==============================================
* NodeSeek Custom CSS
* ============================================== */
/* 1.全局字体 */
* {
font-family: "LXGW WenKai", sans-serif !important;
}
/* 2.鼠标指针 */
* {
cursor: url('https://npm.elemecdn.com/kang-static/Hexo/img/default.cur'), auto !important;
}
body, html {
cursor: url('https://npm.elemecdn.com/kang-static/Hexo/img/default.cur'), auto !important;
}
img, a:hover, button:hover, i:hover, svg:hover, .transition:hover, .btn:hover {
cursor: url('https://npm.elemecdn.com/kang-static/Hexo/img/pointer.cur'), auto !important;
}
/* 3.背景层-深色背景 */
body::before {
content: "";
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
z-index: -2;
background-color: rgb(32, 36, 37);
background-image:
linear-gradient(rgba(32, 36, 37, 0.3), rgba(32, 36, 37, 0.8)),
url('https://t.alcy.cc/moez');
background-position: center;
background-size: cover;
background-repeat: no-repeat;
background-attachment: fixed;
pointer-events: none;
}
/* 4.主卡片容器:帖子、评论、头部底部 */
#nsk-body, header, footer, .post, .comment, .topic-card,
.nsk-panel, .category-list, .user-stat, .search-box.pure-form {
backdrop-filter: blur(6px) saturate(140%) !important;
-webkit-backdrop-filter: blur(6px) saturate(140%) !important;
background-color: rgba(32, 36, 37, 0.55) !important;
border: 1px solid rgba(255, 255, 255, 0.12) !important;
border-radius: 20px !important;
box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.35) !important;
transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
background-image: none !important;
}
#nsk-body:hover, header:hover, footer:hover, .post:hover, .comment:hover {
transform: translateY(-4px);
box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4) !important;
border-color: rgba(255, 255, 255, 0.2) !important;
}
/* 5.文字配色,解决看不清 */
body, #nsk-body, header, footer, .post, .comment,
.nsk-panel, .category-list, .user-stat {
color: #f4f4f4 !important;
}
.nsk-panel .muted, .user-stat .muted, .info-item, .meta, .nsk-meta, .text-muted {
color: #c8c8c8 !important;
}
a {
color: #8ab4f8 !important;
text-decoration: none;
transition: color 0.3s ease;
}
a:hover {
color: #a7c7f9 !important;
}
/* 小标签,不套完整卡片,仅改背景 */
.info-item {
background-color: rgba(255, 255, 255, 0.06) !important;
}
.post-category {
background-color: rgba(138, 180, 248, 0.20) !important;
color:#dbeafe !important;
}
/* 6.头像样式 */
.avatar {
border: 3px solid #555 !important;
transition: all 0.3s ease-in-out;
}
.avatar:hover {
border-color: #999 !important;
box-shadow: 0 0 15px rgba(138, 180, 248, 0.4);
}
.avatar+.icon {
display: none !important;
}
/* 7.按钮悬浮 */
.avatar-normal, .sorter, .btn {
box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
transition: all 0.3s ease-in-out;
}
.avatar-normal:hover, .sorter:hover, .btn:hover {
box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 10px rgba(138, 180, 248, 0.3) !important;
transform: translateY(-2px);
}
.avatar-normal {
border-radius: 20px;
}
/* 8.滚动条美化 */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background-color: transparent;
}
::-webkit-scrollbar-thumb {
background-color: rgba(120, 120, 120, 0.5);
border-radius: 2em;
border: 2px solid transparent;
background-clip: padding-box;
}
::-webkit-scrollbar-thumb:hover {
background-color: rgba(150, 150, 150, 0.7);
}
/* 9.输入框、搜索框 */
input, textarea {
background-color: rgba(32, 36, 37, 0.6) !important;
backdrop-filter: blur(4px);
color: #f0f0f0 !important;
border: 1px solid rgba(255,255,255,0.15) !important;
border-radius: 12px !important;
}
input:focus, textarea:focus {
border-color:#8ab4f8 !important;
outline:none;
}
.search-box.pure-form input {
background: transparent !important;
color:#ffffff !important;
}
/* ========== 修复侧边栏导航文字过暗 ========== */
.nsk-panel .nav-item a,
.nsk-panel .sidebar-menu a {
color: #e8e8e8 !important;
}
.nsk-panel .nav-item a:hover,
.nsk-panel .sidebar-menu a:hover {
color: #8ab4f8 !important;
}
/* ========== 右侧快捷功能区、用户统计子模块文字 ========== */
.user-stat .block-title,
.user-stat .fast-link li a,
.user-stat .fast-link a {
color: #eaeaea !important;
}
.user-stat .fast-link a:hover {
color:#8ab4f8 !important;
}
/* ========== 评论回复正文文字 ========== */
.content-item,
.content-item .content,
.content-item p {
color: #f0f0f0 !important;
}
/* 次要灰色小字,不要压太暗 */
.content-item .meta,
.nsk-panel .text-muted,
.user-stat .text-muted {
color:#c2c8d0 !important;
}
/* =============================
* 头像
* ============================= */
.avatar{border:3px solid #fff !important}
.avatar+.icon{display:none !important}
.avatar-normal,.sorter,.btn{box-shadow:1px 1px 3px #000 !important}
.avatar-normal {
border-radius: 20px;
}
/* =============================
* 滚动条
* ============================= */
::-webkit-scrollbar {
width: 8px;
height: 8px;
}
::-webkit-scrollbar-track {
background-color: rgba(200, 200, 200, 0.2);
border-radius: 2em;
}
::-webkit-scrollbar-thumb {
background-color: #ccc;
background-image: -webkit-linear-gradient(
45deg,
rgba(255, 255, 255, 0.4) 25%,
transparent 25%,
transparent 50%,
rgba(255, 255, 255, 0.4) 50%,
rgba(255, 255, 255, 0.4) 75%,
transparent 75%,
transparent
);
border-radius: 2em;
}
/* =============================
* 鼠标指针
* ============================= */
html, body {
cursor: url('https://npm.elemecdn.com/kang-static/Hexo/img/default.cur'), auto !important;
}
img,
a:hover,
button:hover,
i:hover,
svg:hover,
.transition:hover {
cursor: url('https://npm.elemecdn.com/kang-static/Hexo/img/pointer.cur'), auto !important;
}
/* =============================
* 屏蔽推广
* ============================= */
a.promotation-item:not([href*="nodeseek.com"]):not([href*="github.com"]):not([href*="nodequality.com"]) {
display: none !important;
}
/* =============================
* 隐藏签名
* ============================= */
div.signature {
display: none;
}
/* 屏蔽 contain 下全部div */
.contain div {
display: none !important;
}
