Commit graph

164 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
1318a213c7 fix: gsap animition elements initial states 2025-05-26 11:40:59 +01:00
radishzzz
c1996585a8 fix: resolve gsap animation flash on page load
- Add initial state styles for animated elements in CSS
- Change GSAP animations from .from() to .to() method
- Move reduce-motion class from JS to server-side HTML
- Improve performance by eliminating DOM flash
- Enhance code readability with better formatting
2025-05-26 11:12:47 +01:00
radishzzz
ead71483ec fix: incorrect early summer font import 2025-05-26 09:00:55 +01:00
radishzzz
5b8668b6e8 refactor: add more characters to early summer font, optimize font import styles 2025-05-26 02:03:32 +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
9894c4eccb chore: update fonts to support latin, cyrillic and greek characters, reduce snell-black font size from 124% to 115% 2025-05-25 18:19:08 +01:00
radishzzz
5eeb0f11c0 fix: <hr> left alignment offset 2025-05-24 12:03:51 +01:00
radishzzz
937145f364 chore: update <hr> font style 2025-05-24 11:51:24 +01:00
radishzzz
4b10e91f22 docs: add video embedding instructions to the theme guide 2025-05-22 00:50:27 +01:00
radishzzz
c6e3373c10 fix: <hr> styling issue 2025-05-21 18:33:51 +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
155202adeb fix: img style error 2025-05-20 02:31:19 +01:00
radishzzz
2f158eed60 🎨 style: refactor markdown typography styles 2025-05-20 01:20:59 +01:00
radishzzz
4d247cfb93 feat: add reducemotion config option to optimize performance
- Add `reduceMotion` option in theme config to improve performance
- Update Button component to support reduced animations
- Modify GSAP animation logic to adapt to the new configuration
- Update documentation to reflect the new feature
2025-05-19 14:54: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
4c9ea3febd fix: admonition border color not rendering correctly 2025-05-19 04:07:23 +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
ef192c4545 chore: update theme guides and project comments, add astro-compress to remove comments 2025-05-19 00:25:26 +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
90c2099fec style: add fade animations to roc, back button, tags and waline comment, refactor katex import method 2025-05-17 22:33:14 +01:00
radishzzz
dda2bb6caa fix: fade up animation error 2025-05-17 20:24:51 +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
43295bc7b9 🚀 perf: use native scrollbar instead of overlayscrollbars, switch waline to cdn import
- remove preload comment configuration
- remove preload meta tags in head
- update 404 page
2025-05-15 20:23:32 +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
0e5905aaa3 test: remove scrollbar and photoswipe 2025-05-15 02:16:55 +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
c2547dd65d style: update pin-icon and anchor-link, remove bold icons 2025-05-14 02:06:25 +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
e5ecbe1341 feat: add heading anchor links 2025-05-13 03:09:23 +01:00
radishzzz
4c83ae5b76 style: add bold icons for desktop mode, fix text-align for github card description 2025-05-12 19:34:20 +01:00
radishzzz
9c1d2241d4 style: add letter spacing to cjk header, navbar and post titles 2025-05-11 00:52:02 +01:00
radishzzz
ca779b885f docs: update example posts 2025-05-09 23:41:22 +01:00