Skip to content
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

Rewrite website with astro #7

Merged
merged 23 commits into from
Jan 29, 2023
Merged

Rewrite website with astro #7

merged 23 commits into from
Jan 29, 2023

Conversation

raahii
Copy link
Contributor

@raahii raahii commented Jan 27, 2023

https://haraiai.netlify.app を Astro で書き換える

@raahii raahii self-assigned this Jan 27, 2023
@raahii raahii force-pushed the rewrite-website-with-astro branch 5 times, most recently from afdb3cb to 1b6f940 Compare January 28, 2023 10:11
Comment on lines +61 to +67
Using !imporant is workaround for astro bug (probably).
Astro generates htmls that increrectly load styles in other pages.
e.g. top page (index.html) loads help page css(/_astro/help.9ec21e7e.cs).

The document says that <style> CSS rules are automatically scoped by default, so it's weired.
I confirm this until the astro version v2.0.2.
https://docs.astro.build/en/guides/styling/#scoped-styles
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

引っかかったのはここだけ。Astro 良い感じ。

@raahii raahii merged commit 96dd3cd into main Jan 29, 2023
@raahii raahii deleted the rewrite-website-with-astro branch January 29, 2023 06:42
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.

None yet

1 participant