mirror of
https://github.com/reonokiy/blog.nokiy.net.git
synced 2025-06-16 11:41:17 +02:00
feat: enhance typography and image handling
- Add Heti typography plugin for improved Chinese text layout - Implement rehype plugin to convert images to figure elements with captions - Update UnoCSS configuration by removing typography preset - Modify file extensions for consistency (.mjs to .js) - Add new plugins for admonition, GitHub card, and reading time components - Improve image and text styling with Heti CSS
This commit is contained in:
parent
c549814c7e
commit
9d6de20b6a
19 changed files with 1006 additions and 556 deletions
|
@ -16,32 +16,7 @@ body {
|
|||
--at-apply: 'text-1.6rem ios-flash-fix';
|
||||
}
|
||||
|
||||
h1 {
|
||||
--at-apply: 'text-3.6rem';
|
||||
}
|
||||
|
||||
h2 {
|
||||
--at-apply: 'text-3rem';
|
||||
}
|
||||
|
||||
h3 {
|
||||
--at-apply: 'text-2.4rem';
|
||||
}
|
||||
|
||||
h4 {
|
||||
--at-apply: 'text-2rem';
|
||||
}
|
||||
|
||||
h5 {
|
||||
--at-apply: 'text-1.8rem';
|
||||
}
|
||||
|
||||
h6 {
|
||||
--at-apply: 'text-1.6rem';
|
||||
}
|
||||
|
||||
article img {
|
||||
/* Optimize animation performance of scrollbar */
|
||||
--at-apply: 'cursor-zoom-in force-gpu';
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue