Skip to content

Commit

Permalink
Merge pull request #163 from jamebal/develop
Browse files Browse the repository at this point in the history
style: 更新css文件
  • Loading branch information
jamebal authored Sep 26, 2024
2 parents fa6316c + bbac5b3 commit 73d3741
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/main/resources/templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@
link.type = 'text/css';
link.id = "theme-css-dark"; // 加上id方便后面好查找到进行删除
link.rel = 'stylesheet';
link.href = commonSiteUrl + '/css/dark/index-2.0.2.css';
link.href = commonSiteUrl + '/css/dark/index-2.0.3.css';
document.getElementsByTagName("head")[0].appendChild(link);
labelIcon.removeClass('fa-moon')
labelIcon.addClass('fa-sun')
Expand Down
2 changes: 1 addition & 1 deletion src/main/resources/templates/component/common-js.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
link.type = 'text/css';
link.id = "theme-css-dark"; // 加上id方便后面好查找到进行删除
link.rel = 'stylesheet';
link.href = commonSiteUrl + '/css/dark/index-2.0.2.css';
link.href = commonSiteUrl + '/css/dark/index-2.0.3.css';
document.getElementsByTagName("head")[0].appendChild(link);
labelIcon.removeClass('fa-moon')
labelIcon.addClass('fa-sun')
Expand Down
4 changes: 2 additions & 2 deletions src/main/resources/templates/component/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
<meta name="promote_title" th:content="${titleName}"/>
<meta name="promote_image" th:content="${markdown != null && markdown.cover !=null ? markdown.cover : setting.backgroundSite}"/>
<link rel="stylesheet" type="text/css" th:href="${setting.siteUrl} + '/font-awesome/free-6.4.2/css/all.min.css'">
<link rel="stylesheet" type="text/css" th:href="${setting.siteUrl} + '/css/light/index-2.0.2.css'">
<link id="theme-css-dark" th:if="${darkTheme}" rel="stylesheet" type="text/css" th:href="${setting.siteUrl} + '/css/dark/index-2.0.2.css'">
<link rel="stylesheet" type="text/css" th:href="${setting.siteUrl} + '/css/light/index-2.0.3.css'">
<link id="theme-css-dark" th:if="${darkTheme}" rel="stylesheet" type="text/css" th:href="${setting.siteUrl} + '/css/dark/index-2.0.3.css'">
<script th:src="${setting.siteUrl} + '/js/font_2024484_qwtkvngfp5b.js'" type="text/javascript"></script>

0 comments on commit 73d3741

Please sign in to comment.