Skip to content

Commit

Permalink
# 首页 footer优化
Browse files Browse the repository at this point in the history
  • Loading branch information
PG-Z committed Aug 5, 2024
1 parent f27428d commit 941dfad
Show file tree
Hide file tree
Showing 8 changed files with 30 additions and 5 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1 +1 @@
version=1.3.1-alpha.4
version=1.3.1
18 changes: 18 additions & 0 deletions templates/assets/dist/css/bundle.css
Original file line number Diff line number Diff line change
Expand Up @@ -145,6 +145,7 @@ input[disabled] {
font-style: normal
}

/*https://icomoon.io/app*/
@font-face {
font-family: icomoon;
src: url(../fonts/icomoon.eot?jh4rkv);
Expand Down Expand Up @@ -203,10 +204,19 @@ input[disabled] {
.icon-heart:before {
content: "\e9da";
}
.icon-heart1:before {
content: "\e904";
}
.icon-heart {
/*这个属性确保了元素是一个内联块级元素,从而允许应用变换和动画*/
display: inline-block;
}
.icon-reply1 {
content: "\e905";
}
.icon-reply2 {
content: "\e906";
}

.icon-cool2:before {
content: "\e9ec";
Expand All @@ -232,6 +242,14 @@ input[disabled] {
content: "\ea9b";
}

.icon-degree-celsius:before {
content: "\e902";
}

.icon-degree-fahrenheit:before {
content: "\e903";
}

footer .icon-animate {
animation: heartbeat-animate 1.2s ease-in-out infinite !important;
}
Expand Down
Binary file modified templates/assets/dist/fonts/icomoon.eot
Binary file not shown.
5 changes: 5 additions & 0 deletions templates/assets/dist/fonts/icomoon.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified templates/assets/dist/fonts/icomoon.ttf
Binary file not shown.
Binary file modified templates/assets/dist/fonts/icomoon.woff
Binary file not shown.
8 changes: 5 additions & 3 deletions templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,12 @@ <h2 class="block-title post-featured" itemprop="headline">
</th:block>

<div class="block-footer-inner">
<th:block th:text="${post.stats?.visit}" />
<span class="icon-degree-celsius"></span>
.
<th:block th:text="${post.stats?.upvote}" />
喜欢 .
<th:block th:text="${post.stats?.comment}" />
回复.
<span class="icon-heart1"></span>
.
</div>
</div>
</article>
Expand Down
2 changes: 1 addition & 1 deletion theme.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,5 @@ spec:
website: https://aiheiyo.top
settingName: "Summer-Cat-setting"
configMapName: "Summer-Cat-configMap"
version: 1.3.1-alpha.4
version: 1.3.1
require: 2.15.0

0 comments on commit 941dfad

Please sign in to comment.