fix(bug): some bug

This commit is contained in:
周中平 2022-01-20 09:03:52 +08:00
parent 5902b4996f
commit 6256e3ff7b
No known key found for this signature in database
GPG Key ID: B1DF9DD42D8E00DC
8 changed files with 85 additions and 8 deletions

View File

@ -1,6 +1,6 @@
<div class="header"> <div class="header">
<div class="title"> <div class="title">
<a href="${blog_url!}"><span>无尽光芒</span></a> <a href="${blog_url!}"><span>救赎之路</span></a>
</div> </div>
<div class="description"> <div class="description">
<p>${settings.sub_title!'the site subtitle'}</p> <p>${settings.sub_title!'the site subtitle'}</p>

View File

@ -13,10 +13,10 @@
<link rel="stylesheet" href="${theme_base!}/source/plugins/normalize.css"/> <link rel="stylesheet" href="${theme_base!}/source/plugins/normalize.css"/>
<link rel="stylesheet" href="${theme_base!}/source/plugins/animate.css"/> <link rel="stylesheet" href="${theme_base!}/source/plugins/animate.css"/>
<link rel="stylesheet" href="${theme_base!}/source/plugins/remixicon/remixicon.css"/> <link rel="stylesheet" href="${theme_base!}/source/plugins/remixicon/remixicon.css"/>
<link rel="stylesheet" href="${theme_base!}/source/plugins/heti/heti.min.css"/>
<#-- 自定义样式表 --> <#-- 自定义样式表 -->
<link rel="stylesheet" href="${theme_base!}/source/css/redemption.css"/> <link rel="stylesheet" href="${theme_base!}/source/css/redemption.css"/>
<link rel="stylesheet" href="https://cdn.7wate.com/halo/redemption/heti.min.css">
</head> </head>
<body> <body>
<div class="container animate__animated animate__fadeInDown"> <div class="container animate__animated animate__fadeInDown">
@ -37,7 +37,7 @@
</div> </div>
<#-- 自定义JS代码 --> <#-- 自定义JS代码 -->
<#-- <script charset="utf-8" src="${theme_base!}/source/plugins/halo-comment.min2.js"></script> --> <#-- <script charset="utf-8" src="${theme_base!}/source/plugins/halo.js"></script> -->
</body> </body>
<#include "menu.ftl"> <#include "menu.ftl">

View File

@ -29,7 +29,7 @@
<#elseif (timeago >= 604800000) && (timeago < 3153600000)> <#elseif (timeago >= 604800000) && (timeago < 3153600000)>
发表于 ${(timeago / 604800000)?int} 周前 发表于 ${(timeago / 604800000)?int} 周前
<#elseif (timeago >= 3153600000) && (timeago < 94608000000)> <#elseif (timeago >= 3153600000) && (timeago < 94608000000)>
发表于 ${(timeago / 3153600000)?int} 发表于 ${(timeago / 3153600000)?int}
<#elseif (timeago >= 94608000000)> <#elseif (timeago >= 94608000000)>
发表于很久很久以前 ~ 发表于很久很久以前 ~
</#if> </#if>
@ -46,7 +46,7 @@
</span> </span>
</div> </div>
</div> </div>
<div class="markdown"> <div class="heti">
${post.formatContent!} ${post.formatContent!}
</div> </div>
</div> </div>

View File

@ -23,7 +23,7 @@
<#elseif (timeago >= 604800000) && (timeago < 3153600000)> <#elseif (timeago >= 604800000) && (timeago < 3153600000)>
发表于 ${(timeago / 604800000)?int} 周前 发表于 ${(timeago / 604800000)?int} 周前
<#elseif (timeago >= 3153600000) && (timeago < 94608000000)> <#elseif (timeago >= 3153600000) && (timeago < 94608000000)>
发表于 ${(timeago / 3153600000)?int} 发表于 ${(timeago / 3153600000)?int}
<#elseif (timeago >= 94608000000)> <#elseif (timeago >= 94608000000)>
发表于很久很久以前 ~ 发表于很久很久以前 ~
</#if> </#if>

View File

@ -128,6 +128,14 @@ main > .journals {
font-size: 0.5rem; font-size: 0.5rem;
} }
img {
width: 100% !important;
}
.heti {
max-width: 45rem !important;
}
@-webkit-keyframes fadeInDown { @-webkit-keyframes fadeInDown {
0% { 0% {
opacity: 0; opacity: 0;
@ -369,7 +377,8 @@ footer .copyright a:hover {
* 1.默认 * 1.默认
* 2.深色 * 2.深色
* 3.媒体查询 * 3.媒体查询
* - 320px * - 870px
* - 2048px
*/ */
.archives > ul > .year { .archives > ul > .year {
font-size: 1.5rem; font-size: 1.5rem;
@ -552,6 +561,17 @@ footer .copyright a:hover {
} }
} }
/*
*
* 首页
*
* 按照顺序
* 1.默认
* 2.深色
* 3.媒体查询
* - 870px
* - 2048px
*/
.index > h1 > a { .index > h1 > a {
letter-spacing: 0.0625rem; letter-spacing: 0.0625rem;
font-size: 1.375rem; font-size: 1.375rem;
@ -636,6 +656,17 @@ footer .copyright a:hover {
} }
} }
/*
*
* 日志
*
* 按照顺序
* 1.默认
* 2.深色
* 3.媒体查询
* - 870px
* - 2048px
*/
.journals > .name { .journals > .name {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: bold; font-weight: bold;
@ -687,6 +718,17 @@ footer .copyright a:hover {
} }
} }
/*
*
* 友链
*
* 按照顺序
* 1.默认
* 2.深色
* 3.媒体查询
* - 870px
* - 2048px
*/
.links > ul > .friend { .links > ul > .friend {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: bold; font-weight: bold;
@ -740,6 +782,17 @@ footer .copyright a:hover {
} }
} }
/*
*
* 文章
*
* 按照顺序
* 1.默认
* 2.深色
* 3.媒体查询
* - 870px
* - 2048px
*/
.post > .title > h1 > a { .post > .title > h1 > a {
letter-spacing: 0.0625rem; letter-spacing: 0.0625rem;
font-size: 2rem; font-size: 2rem;
@ -803,6 +856,17 @@ footer .copyright a:hover {
} }
} }
/*
*
* 标志
*
* 按照顺序
* 1.默认
* 2.深色
* 3.媒体查询
* - 870px
* - 2048px
*/
.tag > ul > .name { .tag > ul > .name {
font-size: 1.5rem; font-size: 1.5rem;
font-weight: bold; font-weight: bold;

View File

@ -117,6 +117,14 @@ main>.journals {
bottom: 10rem; bottom: 10rem;
font-size: 0.5rem; font-size: 0.5rem;
} }
img{
width: 100%!important;
}
.heti{
max-width: 45rem!important;
}

View File

@ -1 +1 @@
{"version":3,"sourceRoot":"","sources":["base/_font.scss","base/_base.scss","base/_variables.scss","pages/layout/_header.scss","pages/layout/_footer.scss","pages/layout/_pagenav.scss","pages/layout/_comment.scss","pages/_archives.scss","pages/_category.scss","pages/_index.scss","pages/_journals.scss","pages/_links.scss","pages/_post.scss","pages/_tag.scss"],"names":[],"mappings":";AAEA;EACI;EACA;EACA;;;AAcJ;EACI;EAGA;;;AAIJ;EACI;EAGA;;;AC3BF;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAIA;E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EACI;EACA;EACA;EACA;EACA;;AXzFJ;EWiGQ;IACI;;EAEA;IACI;;;AAQpB;EAhDJ;IAiDQ;;EAGI;IACI;;;AAKZ;EA1DJ;IA2DQ;;EAII;IACI","file":"redemption.css"} {"version":3,"sourceRoot":"","sources":["base/_font.scss","base/_base.scss","base/_variables.scss","pages/layout/_header.scss","pages/layout/_footer.scss","pages/layout/_pagenav.scss","pages/layout/_comment.scss","pages/_archives.scss","pages/_category.scss","pages/_index.scss","pages/_journals.scss","pages/_links.scss","pages/_post.scss","pages/_tag.scss"],"names":[],"mappings":";AAEA;EACI;EACA;EACA;;;AAcJ;EACI;EAGA;;;AAIJ;EACI;EAGA;;;AC3BF;EACE;EACA;;AAGF;EACE;EACA;EACA;;AAIA;EACE;;ACOE;EDDJ;IACE;;EAIA;IACE;;;;AAOR;EACE;EACA;;ACdM;EDYR;IAKI;IACA;;;;AAKJ;EACE;EACA;EACA;EACA;;;AAIF;EACE;EACA;EACA;EACA;EACA;EACA;;ACrCM;ED+BR;IAUI;IACA;;;AAIF;EAfF;IAgBI;IACA;IACA;;;AAIF;EAtBF;IAuBI;IACA;IACA;;;;AAcF;EATF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;IAeI;IACA;;EANA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;IACE;IACA;;;AAQJ;EApBF;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;IAqBI;IACA;;;;AAMJ;EACE;EACA;EACA;EACA;;;AAEF;EACE;;;AAGF;EACE;;;AAcF;EACE;IACE;IACA;;EAGF;IACE;IACA;;;AAIJ;EACE;IACE;IACA;;EAGF;IACE;IACA;;;AAIJ;EACE;IACE;IACA;;EAGF;IACE;IACA;;;AAIJ;EACE;IACE;IACA;;EAGF;IACE;IACA;;;AEnLJ;EACI;;AAII;EACI;EACA;EACA;;AAEA;EACI;;AAEA;EACI;;AAOhB;EACI;EACA;;AAEA;EACI;EACA;;AAEA;EACI;EACA;E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;ESiBI;IACI;;EAIA;IACI;;EAEA;IACI;;;AAUpB;EACI;IACI;;EAEA;IACI;;EAGJ;IACI;;;AAMZ;EACI;IACI;;EAEA;IACI;;EAGJ;IACI;;;;ACpFhB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAeY;EACI;EACA;EACA;EACA;;AAEA;EACI;;AAKZ;EACI;EACA;;AAEA;EACI;EACA;EACA;;AAIA;EACI;EACA;EACA;;AVjBZ;EU4BQ;IACI;;EAEA;IACI;;EAKZ;IACI;;EACA;IACI;;EAEA;IACI;;;AAQpB;EACI;IACI;;EACA;IACI;;EACA;IACI;;;AAQhB;EACI;IACI;;EACA;IACI;;EACA;IACI;;;;AC/FpB;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAcQ;EACI;EACA;EACA;EACA;;AAGJ;EACI;EACA;EACA;;AAEA;EAEI;;AAEA;EACI;;AXPZ;EWgBI;IACI;;EAIA;IACI;;EAEA;IACI;;;AASpB;EACI;IACI;;EAEA;IACI;IACA;;EAGJ;IACI;IACA;;EAEA;IACI;;;AAOhB;EACI;IACI;;EACA;IACI;;EAEJ;IACI;IACA;;;;AAQZ;EACI;EACA;EACA;EACA;;AAEA;EACI;;AAEA;EACI;;AAEA;EACI;;AAGJ;EACI;;AAKZ;EACI;EACA;EACA;EACA;EACA;;AXlGJ;EW0GQ;IACI;;EAEA;IACI;;;AAQpB;EAhDJ;IAiDQ;;EAGI;IACI;;;AAKZ;EA1DJ;IA2DQ;;EAII;IACI","file":"redemption.css"}

5
source/plugins/heti/heti.min.css vendored Normal file

File diff suppressed because one or more lines are too long