From fef94434f1506c4ef799a5197ceda29ef14e3162 Mon Sep 17 00:00:00 2001 From: julylies Date: Thu, 2 Jun 2022 22:20:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- sheet_about.ftl | 9 +++++++++ source/css/single.css | 4 ++++ source/js/single.js | 4 ++-- 3 files changed, 15 insertions(+), 2 deletions(-) create mode 100644 sheet_about.ftl diff --git a/sheet_about.ftl b/sheet_about.ftl new file mode 100644 index 0000000..b87ecb7 --- /dev/null +++ b/sheet_about.ftl @@ -0,0 +1,9 @@ +<#include "header.ftl"> +<@head title="${sheet.title!} - ${blog_title!}" /> +
+
+ <#include "module/post-module.ftl"> +
+
+<#include "footer.ftl"> + diff --git a/source/css/single.css b/source/css/single.css index 505088b..9551c90 100644 --- a/source/css/single.css +++ b/source/css/single.css @@ -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 } /* -- 动画 */ diff --git a/source/js/single.js b/source/js/single.js index 7d669ba..07f6e21 100644 --- a/source/js/single.js +++ b/source/js/single.js @@ -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 () {