This commit is contained in:
parent
5aeb2e03e9
commit
fef94434f1
|
@ -0,0 +1,9 @@
|
|||
<#include "header.ftl">
|
||||
<@head title="${sheet.title!} - ${blog_title!}" />
|
||||
<div class="wrap min">
|
||||
<main>
|
||||
<#include "module/post-module.ftl">
|
||||
</main>
|
||||
</div>
|
||||
<#include "footer.ftl">
|
||||
|
|
@ -424,6 +424,10 @@ main img {
|
|||
border-radius:20px;
|
||||
padding:10px;
|
||||
}
|
||||
.dark-theme .post-item{
|
||||
background: #666;
|
||||
border-color: transparent;
|
||||
}
|
||||
.post-item:last-child{ margin-bottom: 0 }
|
||||
|
||||
/* -- 动画 */
|
||||
|
|
|
@ -127,7 +127,7 @@ var Paul_Single = function (config) {
|
|||
// 返回页首
|
||||
window.addEventListener("scroll", this.to_top);
|
||||
// 如果开启自动夜间模式
|
||||
/* if(config.night){
|
||||
if(config.night){
|
||||
var hour = new Date().getHours();
|
||||
if(document.cookie.indexOf("night") === -1 && (hour <= 5 || hour >= 22)){
|
||||
document.body.classList.add("dark-theme");
|
||||
|
@ -141,7 +141,7 @@ var Paul_Single = function (config) {
|
|||
else{
|
||||
document.body.classList.remove("dark-theme");
|
||||
}
|
||||
}*/
|
||||
}
|
||||
// 如果开启复制内容提示
|
||||
if(config.copyright){
|
||||
document.oncopy = function () {
|
||||
|
|
Loading…
Reference in New Issue