Commit graph

80 commits

Author SHA1 Message Date
radishzzz
fa16e82fe0 fix: google analytics gtag forwarding issue
- update toc and code copy button styling
- add unicode_range.py
2025-05-28 13:57:24 +01:00
radishzzz
a5839a2dd1 style: update various code copy button and toc styles
- Removed the old copy-action SVG icon and replaced it with a new copy-button SVG icon.
- Added a new copy-success SVG icon for visual feedback on copy actions.
- Updated Waline component comments for clarity and improved code readability.
- Enhanced BackButton component with fallback navigation to homepage.
- Improved CodeCopyButton component by refining icon handling and timeout management.
- Adjusted GithubCard component's intersection observer root margin for better visibility.
- Updated GsapAnimation component variable names for consistency and clarity.
- Removed unnecessary styles from PhotoSwipe component.
- Modified TOC component styles for better spacing and layout.
- Updated multiple theme guide markdown files to correct image hosting URL comments.
- Cleaned up extend.css by removing commented-out styles and organizing code.
- Added PhotoSwipe background color and KaTeX overflow fixes to global.css.
- Enhanced markdown.css with video styling for better responsiveness.
- Improved transition.css comments for better understanding of GSAP animation states.
2025-05-27 12:45:30 +01:00
radishzzz
3312b30dbf feat: add code copy cutton 2025-05-27 01:37:19 +01:00
radishzz
47e1df9b3d
feat: performance optimizations and ui improvements (#26)
* test: remove astro-compress

* test: remove astro-compress

* perf: add astro-compress, optimize resource preloading

* perf: moving photoswipe styles to head with non-blocking preload strategy

* test: disable astro-compress

* test: enable astro-compress

* fix: typescript hints

* chore: adjust toc style and gsap animation

* style: optimize gsap animation logic, adjust toc style

* chore: adjust toc style

* fix: photoswipe transition position offset caused by scrollbar-gutter
2025-05-26 20:21:38 +01:00
radishzzz
ab9bb91f52 chore: fix waline language switching exceptions, remove unused global variables, update theme guide 2025-05-26 00:25:46 +01:00
radishzzz
c93cf8fb2f fix: remove highlight position fixes for navbar and footer 2025-05-25 20:04:14 +01:00
radishzzz
91481626c5 fix: adjust component styles to resolve layout and positioning issues 2025-05-25 19:52:29 +01:00
radishzzz
4b10e91f22 docs: add video embedding instructions to the theme guide 2025-05-22 00:50:27 +01:00
radishzzz
d10d90a8ef chore: update <hr> styles, fix unexpected comments in rss feed, update theme guides 2025-05-21 18:27:14 +01:00
radishzzz
2f158eed60 🎨 style: refactor markdown typography styles 2025-05-20 01:20:59 +01:00
radishzzz
120ebbbb3f style: update animation duration and delay, fix transition issues on mobile 2025-05-19 12:05:34 +01:00
radishzzz
9edc1fc325 style: update highlight hover animation duration 2025-05-19 04:19:10 +01:00
radishzzz
beb3386edc perf: optimize dom selectors for better performance 2025-05-19 03:12:55 +01:00
radishzzz
bfe3771571 style: improve animation effects for gsap, view transitions and highlight-hover 2025-05-19 02:20:37 +01:00
radishzzz
1db68e8716 style: optimize animation durations and details 2025-05-18 22:55:53 +01:00
radishzzz
eb82a7d2f2 chore: add toc theme config option and update theme guides 2025-05-18 17:23:32 +01:00
radishzzz
94f9998f45 chore: reorganize css files 2025-05-18 16:29:45 +01:00
radishzzz
a35999629a feat: add fade up animation to post page, optimize global animation curves and durations, refine animation-related naming conventions 2025-05-17 20:18:41 +01:00
radishzzz
d4ea4c470b chore: update animation curves and duration 2025-05-17 16:20:56 +01:00
radishzzz
312a57c07e style: optimize animation curves and duration 2025-05-17 13:27:35 +01:00
radishzzz
3ee10e2d18 fix: reorder footer content to fix insufficient spacing between links, adjust desktop layout to prevent narrowing caused by native scrollbar 2025-05-17 12:00:13 +01:00
radishzzz
1c374367fd fix: accessibility issues with footer links, update theme guide 2025-05-17 10:43:40 +01:00
radishzzz
55923f9fcc chore: add rehypeUnwrapImg plugin for image processing optimization, update katex resource path 2025-05-16 04:32:59 +01:00
radishzzz
110fad06ab fix: highlight position issue on ios for navbar and footer 2025-05-15 22:56:14 +01:00
radishzzz
d0e699d8cb style: optimize scrollbar styling, remove the auto-hide feature to fix page flickering issue 2025-05-15 17:27:17 +01:00
radishzzz
bd24e340e7 style: optimize scrollbar and heading styling 2025-05-15 06:04:36 +01:00
radishzzz
168e231119 feat: add auto-hide native scrollbar and optimize scrollbar styling 2025-05-14 19:01:54 +01:00
radishzzz
41fca8569e perf: remove overlayscrollbars to fix page loading lag, update heading margins 2025-05-14 15:25:27 +01:00
radishzzz
610c86db0d style: add highlight hover animation to navigation and footer
- add dynamic accessible labels to heading anchors
- update theme toggle button svg
2025-05-13 23:33:09 +01:00
radishzzz
0581542aea style: update styles for text selection and tables 2025-05-09 13:10:44 +01:00
radishzzz
5b9c2d562a refactor: replace icons with svg components, relocate icons and images, rename directories 2025-05-08 15:10:21 +01:00
radishzzz
d3d6561f4d perf: optimize loading timing for github cards and lightbox, clean up redundant head tags, and improve css organization 2025-05-08 01:24:03 +01:00
radishzzz
67e1f6cf8e chore: update heti style, remove infrequently used unocss rules, streamline meta tags 2025-05-04 03:23:23 +01:00
radishzzz
af6b45becf 🎨 style: optimize heti css styles 2025-04-17 03:49:31 +01:00
radishzzz
dfc30d7f85 feat: add image lightbox functionality
- Add imageConfig in astro.config.ts to optimize remote image processing in Markdown files
- Update PhotoSwipe component initialization logic to ensure proper setup on page load
2025-04-15 05:33:06 +01:00
radishzzz
c0e41b3b57 chore: remove smooth effect except post pages, update theme guide 2025-03-28 02:09:26 +00:00
radishzzz
7a25c20abe test: scrollbar error on android 2025-03-28 00:58:54 +00:00
radishzzz
dc17f304c1 feat: add toc with accordion animation, add optional toc toggle, lower heti css priority 2025-03-28 00:26:32 +00:00
radishzzz
24425e3a7e refactor: optimize heti css styles 2025-03-23 03:22:02 +00:00
radishzzz
fedf4cee1e chore: update comments for consistency, improve code readability and structure 2025-03-22 22:54:23 +00:00
radishzzz
dc24da0cb7 test: code block style 2025-03-19 21:40:50 +00:00
radishzzz
10514edf9e chore: add characters in the early summer subset, add comments in pages 2025-03-18 19:37:38 +00:00
radishzzz
807459d6ed docs: create README and update project configuration
- Add comprehensive README with project overview, features, and roadmap
- Update VSCode settings with new dictionary words
- Modify language switcher, mobile header, and theme toggle components
- Adjust layout and global styles
- Add language attribute to markdown example post
2025-02-22 02:05:50 +00:00
radishzzz
09fe7dcb37 refactor: remove text-62.5%, update site layout and add site footer
- Adjust font and typography settings across components
- Update footer with new links and start year configuration
- Modify header and navbar styling for responsive design
- Remove @unpic/astro dependency
- Refine global and component-level styling
- Update font preloading and font face definitions
2025-02-21 08:33:00 +00:00
radishzzz
152dd83e0c refactor: view animation and theme toggle
- Streamline theme toggle script in ThemeToggle component
- Improve theme initialization in Head layout
- Centralize theme color and mode configuration
- Enhance view transition handling for theme changes
- Optimize event listeners and theme synchronization
2025-02-18 02:28:55 +00:00
radishzzz
9d6de20b6a 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
2025-02-15 21:11:17 +00:00
radishzzz
923d473593 chore: update dependence
- Increase z-index for language switcher, theme toggle, and view transitions
- Remove sticky positioning from mobile header
- Ensure proper layering of UI elements on mobile devices
2025-02-15 01:15:09 +00:00
radishzzz
7498f93ef9 feat: improve mobile header and layout responsiveness
- Add sticky positioning to mobile header
- Implement back navigation for mobile header
- Adjust layout to use min-height instead of fixed height
- Remove global scroll-smooth class for more flexible scrolling
- Update dependencies to latest versions
2025-02-14 07:04:52 +00:00
radishzzz
614b41ed87 chore: update dependencies and add force-gpu utility 2025-02-11 23:07:03 +00:00
radishzzz
2a731b067a fix: text cut issue on iOS and update scrollbar color 2025-02-11 15:00:34 +00:00