added:昼夜模式,毛玻璃特效
This commit is contained in:
1 parent
739c8056d6
commit
c83c28fb9c
9 files changed
+696
-185
No files matched your search
@@ -11,6 +11,10 @@
|
||||
background: #ff6262 !important;
|
||||
}
|
||||
}
|
||||
[data-theme="dark"] .atk-pinned-badge {
|
||||
color: #ffffff !important;
|
||||
background: #ff6262 !important;
|
||||
}
|
||||
</style>
|
||||
<!-- Artalk -->
|
||||
<div id="Comments" uk-scrollspy="target: div,span,img> ; cls: uk-animation-slide-bottom-small;"></div>
|
||||
@@ -18,11 +22,13 @@
|
||||
<script src="/js/Artalk.js"></script>
|
||||
<script>
|
||||
if (document.querySelector("#Comments")) {
|
||||
var isDark = document.documentElement.getAttribute('data-theme') === 'dark';
|
||||
Artalk.init({
|
||||
el: '#Comments', // 绑定元素的 Selector
|
||||
server: 'https://artalk.usj.cc', // 后端地址
|
||||
site: '优世界', // 你的站点名
|
||||
flatMode: true
|
||||
})
|
||||
el: '#Comments',
|
||||
server: 'https://artalk.usj.cc',
|
||||
site: '优世界',
|
||||
flatMode: true,
|
||||
darkMode: isDark
|
||||
});
|
||||
}
|
||||
</script>
|
||||
</script>
|
||||
Reference in new issue
Block a user