From 6fbfbb2ab64aa73c77f90b3dd67492dbac10c089 Mon Sep 17 00:00:00 2001 From: 7Wate Date: Sun, 16 Jan 2022 03:21:28 +0800 Subject: [PATCH] feature(mode): add light and dark mode for blog --- journals.ftl | 7 - module/macro.ftl | 11 +- source/css/Redemption.css | 13 +- source/css/Redemption.scss | 32 +- source/css/color.css | 332 ++++++++++++++----- source/css/color.scss | 658 ++++++++++++++++++++++++++++--------- 6 files changed, 774 insertions(+), 279 deletions(-) diff --git a/journals.ftl b/journals.ftl index 8e306bb..53cd03b 100644 --- a/journals.ftl +++ b/journals.ftl @@ -12,13 +12,6 @@
${journal.content!}
- <#--
- - - - - -
-->
<#-- ${user.nickname!} --> <#assign timeago = (.now?long - journal.createTime?long)> diff --git a/module/macro.ftl b/module/macro.ftl index 8a8558d..2a85194 100644 --- a/module/macro.ftl +++ b/module/macro.ftl @@ -1,6 +1,6 @@ <#macro layout title> - + @@ -9,14 +9,13 @@ <@global.head /> + <#-- 公共样式表 --> - <#-- --> - <#-- --> - + @@ -26,7 +25,7 @@ -
+
<#-- 主体 --> <#nested > @@ -47,7 +46,7 @@ <#-- 公共JS代码 --> - +