🐛 Fixed #158 Rollback animate style to old version.

This commit is contained in:
elkan1788 2025-01-30 11:32:22 +08:00
parent d738b144b3
commit 3bffe42e3e
14 changed files with 46 additions and 39 deletions

View File

@ -1,6 +1,6 @@
.flinks-block {
.flinks-block-title {
.flinks-header {
text-align: center;
font-weight: bold;
}

View File

@ -24,13 +24,13 @@
}
@if $motion_trans_post_header {
.post-header {
.post-header, .flinks-header {
visibility: hidden;
}
}
@if $motion_trans_post_body {
.post-body {
.post-body, .flinks-body {
visibility: hidden;
}
}

View File

@ -3,10 +3,13 @@ body { margin-top: 2rem; }
.use-motion .menu-item,
.use-motion .sidebar,
.use-motion .post-block,
.use-motion .flinks-block,
.use-motion .pagination,
.use-motion .comments,
.use-motion .post-header,
.use-motion .flinks-header,
.use-motion .post-body,
.use-motion .flinks-body,
.use-motion .collection-header {
visibility: visible;
}

View File

@ -95,10 +95,10 @@ NexT.motion.middleWares = {
});
}
animate(postblock, '.post-block,.flinks-block, .pagination, .post-comments');
animate(postblock, '.post-block, .flinks-block, .pagination, .post-comments');
animate(collheader, '.collection-header');
animate(postheader, '.post-header');
animate(postbody, '.post-body');
animate(postheader, '.post-header, .flinks-header');
animate(postbody, '.post-body, .flinks-body');
return sequence;
},

View File

@ -69,7 +69,7 @@ css:
alias: '@fortawesome/fontawesome-free'
- name: animate.css
version: 4.1.1
version: 3.7.2
file: animate.min.css
- name: viewerjs

View File

@ -26,4 +26,4 @@ Continuing the classic black-and-white color scheme of `NexT`, it maintains simp
> [!INFO]
> Chinese's users can also join the QQ group for communication: 604710815
{{< music server="netease" type="playlist" id="1982066521" list-max-height="140" >}}
{{< music url="/music/sky.mp3" name="City of the Sky" artist="Hayao Miyazaki" cover="/music/gongqijun.jpg" autoplay="true" >}}

View File

@ -1,6 +1,5 @@
---
title: "关于 Hugo NexT 组织"
description: "Hugo NexT 组织介绍说明。"
date: 2022-06-09T20:12:52+08:00
lastmod: 2022-06-09T20:12:52+08:00
@ -27,4 +26,4 @@ url: about.html
> [!INFO]
> 同时国内用户也可加入 QQ 群交流: 604710815
{{< music server="netease" type="playlist" id="1982066521" list-max-height="140" >}}
{{< music url="/music/sky.mp3" name="天空之城" artist="宫崎骏" cover="/music/gongqijun.jpg" autoplay="true" >}}

View File

@ -63,37 +63,37 @@ Actual effect:
### Default Header without icon
**Welcome** to [Hugo NexT!]( https://preview.hugo-next.eu.org )
**Welcome** to [Hugo NexT!](https://preview.hugo-next.eu.org)
{{< /note >}}
{{< note default >}}
### Default Header
**Welcome** to [Hugo NexT!]( https://preview.hugo-next.eu.org )
**Welcome** to [Hugo NexT!](https://preview.hugo-next.eu.org)
{{< /note >}}
{{< note primary >}}
### Primary Header
**Welcome** to [Hugo NexT!]( https://preview.hugo-next.eu.org )
**Welcome** to [Hugo NexT!](https://preview.hugo-next.eu.org)
{{< /note >}}
{{< note info >}}
### Info Header
**Welcome** to [Hugo NexT!]( https://preview.hugo-next.eu.org )
**Welcome** to [Hugo NexT!](https://preview.hugo-next.eu.org)
{{< /note >}}
{{< note success >}}
### Success Header
**Welcome** to [Hugo NexT!]( https://preview.hugo-next.eu.org )
**Welcome** to [Hugo NexT!](https://preview.hugo-next.eu.org)
{{< /note >}}
{{< note warning >}}
### Warning Header
**Welcome** to [Hugo NexT!]( https://preview.hugo-next.eu.org )
**Welcome** to [Hugo NexT!](https://preview.hugo-next.eu.org)
{{< /note >}}
{{< note danger >}}
### Danger Header
**Welcome** to [Hugo NexT!]( https://preview.hugo-next.eu.org )
**Welcome** to [Hugo NexT!](https://preview.hugo-next.eu.org)
{{< /note >}}
@ -145,7 +145,7 @@ Based on [Player](https://github.com/DIYgod/APlayer) And [MatingJS](https://gith
{{</* music server="netease" type="playlist" id="1982066521" list-max-height="140" */>}}
```
{{< music server="netease" type="playlist" id="1982066521" list-max-height="140px" >}}
{{< music server="netease" type="playlist" id="1982066521" list-max-height="140" >}}
### Customize music source

View File

@ -141,7 +141,8 @@ toc: true
{{</* music server="netease" type="playlist" id="1982066521" list-max-height="140" */>}}
```
{{< music server="netease" type="playlist" id="1982066521" list-max-height="140px" >}}
{{< music server="netease" type="playlist" id="1982066521" list-max-height="140" >}}
### 自定义音乐源
```markdown

View File

@ -1189,11 +1189,10 @@ params:
enable: true
async: true
transition:
# All available transition variants: https://theme-next.js.org/animate/
postBlock: fadeIn
postHeader: fadeInDown
postBody: fadeInDown
collHeader: fadeInLeft
collHeader: slideInRight
# 侧边样效果 只有在 Pisces | Gemini 模式下才支持
# Only for Pisces | Gemini.
sidebar: fadeInUp

View File

@ -5,7 +5,8 @@
{{ define "main" }}
<div class="flinks-block">
<h1 class="flinks-block-title">{{ .Title }}</h1>
<h1 class="flinks-header">{{ .Title }}</h1>
<div class="flinks-body">
<div class="flinks-lists">
{{ $flinksData := "" }}
{{ if .IsTranslated }}
@ -38,5 +39,5 @@
<div class="flinks-list-footer"><hr/></div>
<div class="flinks-page-desc">{{ .Content }}</div>
</div>
</div>
{{ end }}

View File

@ -18,7 +18,7 @@
{{ with .Get "volume" }} volume="{{ . }}" {{ end }}
{{ with .Get "mutex" }} mutex="{{ . }}" {{ end }}
{{ with .Get "list-folded" }} list-folded="{{ . }}" {{ end }}
{{ with .Get "list-max-height" }} list-max-height="{{ . }}" {{ end }}
{{ with .Get "list-max-height" }} list-max-height="{{ . }}px" {{ end }}
></meting-js>
{{ .Page.Store.SetInMap "scParams" "music" true }}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long