Skip to content

2.7.0

Compare
Choose a tag to compare
@EveSunMaple EveSunMaple released this 12 Oct 13:46
· 13 commits to main since this release

[2.7.0] - 2024-10-12

Features

  • 添加昼夜转换过渡

  • 自定义了博客中的标题 ID ,当前命名格式为 heading-${headingCount} ,避免了出现同名标题无法跳转的问题

  • 为博客目录功能添加了 "聚焦" 功能,现在目录会根据您当前阅读的部分自动滚动

  • 为博客 main 中的卡片添加了逐次进入样式,使用 sass 制作:

    .fade-in-up {
      opacity: 0;
      transform: translateY(50px);
      animation: fadeInUp 0.5s ease forwards;
    
      @for $i from 1 through 10 {
        &:nth-child(#{$i}) {
          animation-delay: #{$i * 0.1}s;
        }
      }
    }
    
    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

Refactored

  • 修改了原网站图标
  • 修改了原不规范的文件命名
  • 修改了原不合理的布局
  • 修改了侧边栏按钮的样式,使用 join 组合元素
  • 微调 padding

Fix

  • 修复了在重名 ID 下无法跳转的问题

EN

[2.7.0] - 2024-10-12

Features

  • Added day-night transition effect.

  • Customized the title ID in the blog; the current naming format is heading-${headingCount}, which avoids issues with navigation under identical titles.

  • Added a "focus" feature to the blog directory, which now automatically scrolls according to the section you are currently reading.

  • Added sequential entry styles to the cards in the blog main, created using sass:

    .fade-in-up {
      opacity: 0;
      transform: translateY(50px);
      animation: fadeInUp 0.5s ease forwards;
    
      @for $i from 1 through 10 {
        &:nth-child(#{$i}) {
          animation-delay: #{$i * 0.1}s;
        }
      }
    }
    
    @keyframes fadeInUp {
      to {
        opacity: 1;
        transform: translateY(0);
      }
    }

Refactored

  • Updated the original website icon.
  • Revised the original non-standard file naming.
  • Adjusted the original unreasonable layout.
  • Modified the sidebar button styles using join to combine elements.
  • Fine-tuned padding.

Fix

  • Fixed the issue of not being able to navigate under duplicate IDs.

Full Changelog: v2.6.1...v2.7.0