Skip to content

♻️ Refactor: significantly simplify main.css #2333

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 4 commits into
base: dev
Choose a base branch
from

Conversation

ZhenShuo2021
Copy link
Contributor

@ZhenShuo2021 ZhenShuo2021 commented Jul 13, 2025

Close #2259

Significantly reduce main.css from 1100 to under 300 lines while maintaining functionality. Key improvements include:

  • Modularized gallery & carousel shortcode CSS for better organization
  • Separated Chroma syntax highlighting, easily customizable via Hugo's override system
  • Minimal breaking changes, only affects users using gallery/carousel CSS without corresponding shortcodes

@ZhenShuo2021 ZhenShuo2021 changed the title ♻️ Refactor: largely simplify main.css ♻️ Refactor: significantly simplify main.css Jul 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant