mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-15 11:12:54 +02:00
chore: remove smooth effect except post pages, update theme guide
This commit is contained in:
parent
3b13fed6cc
commit
c0e41b3b57
8 changed files with 8 additions and 8 deletions
|
@ -231,7 +231,7 @@ Pins the article to the top. The higher the number, the higher the priority of t
|
|||
|
||||
#### toc
|
||||
|
||||
Generate table of contents. Set to false to disable automatic generation. Default is true.
|
||||
Generate table of contents. Default is true.
|
||||
|
||||
#### lang
|
||||
|
||||
|
|
|
@ -231,7 +231,7 @@ Fija el artículo en la parte superior. Cuanto mayor sea el número, mayor será
|
|||
|
||||
#### toc
|
||||
|
||||
¿Generar índice? Si se establece en false, se desactiva la generación automática. Valor predeterminado: true.
|
||||
¿Generar índice? Valor predeterminado: true.
|
||||
|
||||
#### lang
|
||||
|
||||
|
|
|
@ -231,7 +231,7 @@ abbrlink: theme-guide
|
|||
|
||||
#### toc
|
||||
|
||||
目次を自動生成するかどうか。false に設定すると自動生成が無効になり、デフォルトは true。
|
||||
目次を自動生成するかどうか。デフォルトは true。
|
||||
|
||||
#### lang
|
||||
|
||||
|
|
|
@ -231,7 +231,7 @@ abbrlink: theme-guide
|
|||
|
||||
#### toc
|
||||
|
||||
Генерировать оглавление. При значении false автоматическая генерация отключается. По умолчанию: true.
|
||||
Генерировать оглавление. По умолчанию: true.
|
||||
|
||||
#### lang
|
||||
|
||||
|
|
|
@ -231,7 +231,7 @@ abbrlink: theme-guide
|
|||
|
||||
#### toc
|
||||
|
||||
是否生成目錄。設為 false 時停用自動生成,預設為 true。
|
||||
是否生成目錄。預設為 true。
|
||||
|
||||
#### lang
|
||||
|
||||
|
|
|
@ -231,7 +231,7 @@ abbrlink: theme-guide
|
|||
|
||||
#### toc
|
||||
|
||||
是否生成目录。设为 false 时关闭自动生成,默认为 true。
|
||||
是否生成目录。默认为 true。
|
||||
|
||||
#### lang
|
||||
|
||||
|
|
|
@ -28,7 +28,7 @@ const MarginBottom = isPost && themeConfig.comment?.enabled
|
|||
|
||||
<html
|
||||
lang={Astro.currentLocale}
|
||||
class={fontStyle}
|
||||
class:list={[fontStyle, { 'scroll-smooth': isPost }]}
|
||||
data-overlayscrollbars-initialize
|
||||
>
|
||||
<Head {postTitle} {postDescription} {postSlug} />
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
}
|
||||
|
||||
html {
|
||||
--at-apply: 'bg-background c-secondary antialiased scroll-smooth';
|
||||
--at-apply: 'bg-background c-secondary antialiased';
|
||||
}
|
||||
|
||||
body {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue