This commit is contained in:
julylies 2022-06-02 22:20:24 +08:00
parent 5aeb2e03e9
commit fef94434f1
3 changed files with 15 additions and 2 deletions

9
sheet_about.ftl Normal file
View File

@ -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">

View File

@ -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 }
/* -- 动画 */

View File

@ -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 () {