Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v1.5.7 #174

Merged
merged 5 commits into from
Mar 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion layout/includes/inject/head.pug
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ script.
)(window)

console.log(
"%c Program: Hexo %c Theme: Solitude %c Version: v1.5.6",
"%c Program: Hexo %c Theme: Solitude %c Version: v1.5.7",
"border-radius:5px 0 0 5px;padding: 5px 10px;color:white;background:#ff3842;",
"padding: 5px 10px;color:white;background:#3e9f50;",
"border-radius:0 5px 5px 0;padding: 5px 10px;background:#0084ff;color:white;"
Expand Down
2 changes: 1 addition & 1 deletion layout/includes/page/says.pug
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ if theme.says.enable

if item.aplayer
.bber-music
meting-js(server=item.aplayer.server type="song" id=item.aplayer.id mutex="true" preload="none" theme="var(--st-main)" data-lrctype="0")
meting-js(server=item.aplayer.server type="song" id=item.aplayer.id mutex="true" preload="none" theme="var(--efu-main)" data-lrctype="0")

if item.video
.bber-video
Expand Down
2 changes: 1 addition & 1 deletion layout/includes/widgets/page/about/award.pug
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ if site.data.about.rewardList
.reward-list-item
.reward-list-item-name= reward.name
.reward-list-bottom-group
.reward-list-item-money(style=(reward.vip ? "background: var(--st-vip);color: var(--st-white)" : ""))
.reward-list-item-money(style=(reward.vip ? "background: var(--efu-vip);color: var(--efu-white)" : ""))
if reward.icon
i.solitude(class=reward.icon)
| ¥ #{reward.money}
Expand Down
2 changes: 1 addition & 1 deletion layout/includes/widgets/third-party/music.pug
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
div.needEndHide#nav-music(onclick="sco.musicToggle()")
div#nav-music-hoverTips=__('music.hit')
meting-js(id=theme.capsule.id, server=theme.capsule.server, type="playlist", mutex="true", preload="none", data-lrctype="0", order="random", theme="var(--st-main)")
meting-js(id=theme.capsule.id, server=theme.capsule.server, type="playlist", mutex="true", preload="none", data-lrctype="0", order="random", theme="var(--efu-main)")
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "hexo-theme-solitude",
"version": "1.5.6",
"version": "1.5.7",
"description": "A beautiful, powerful, and efficient Hexo theme developed by the wleelw",
"main": "package.json",
"scripts": {
Expand Down
30 changes: 14 additions & 16 deletions source/css/_page/_about/author.styl
Original file line number Diff line number Diff line change
Expand Up @@ -65,23 +65,8 @@
&:hover
transform scale(1.1)

+maxWidth768()
width 120px
height 120px

&::before
bottom -5px
right -5px

img
border-radius 200px

&::before
content ''
-webkit-transition 1s
-moz-transition 1s
-o-transition 1s
-ms-transition 1s
transition 1s
width 30px
height 30px
Expand All @@ -91,4 +76,17 @@
border 5px solid var(--efu-background)
bottom 5px
right 10px
z-index 2
z-index 2

+maxWidth768()
width 120px
height 120px

&::before
bottom -2px
right -2px
width 20px
height 20px

img
border-radius 200px
8 changes: 4 additions & 4 deletions source/css/_page/_home/home-top.styl
Original file line number Diff line number Diff line change
Expand Up @@ -21,9 +21,9 @@
display none

/ #bannerGroup
display flex
display none

+minWidth1200()
+minWidth1201()
width calc(50% - .25rem)
margin-right .5rem
height calc(328px + .5rem)
Expand All @@ -50,7 +50,7 @@
flex-direction column
justify-content space-between
min-width 200px
+minWidth1200()
+minWidth1201()
display none
+maxWidth768()
min-width 130px
Expand Down Expand Up @@ -216,7 +216,7 @@
.todayCard
display none

+minWidth1200()
+minWidth1201()
position absolute
width 100%
z-index 3
Expand Down
2 changes: 1 addition & 1 deletion source/js/utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ const utils = {
snackbarShow: (text, showAction, duration) => {
const sa = (typeof showAction !== 'undefined') ? showAction : false
const dur = (typeof duration !== 'undefined') ? duration : 5000
document.styleSheets[0].addRule(':root', '--st-snackbar-time:' + dur + 'ms!important')
document.styleSheets[0].addRule(':root', '--efu-snackbar-time:' + dur + 'ms!important')
Snackbar.show({
text: text, showAction: sa, duration: dur, pos: 'top-center'
})
Expand Down
Loading