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

Documentation appears to not load due to CDN #10

Open
QuLogic opened this issue Mar 15, 2023 · 0 comments
Open

Documentation appears to not load due to CDN #10

QuLogic opened this issue Mar 15, 2023 · 0 comments

Comments

@QuLogic
Copy link

QuLogic commented Mar 15, 2023

This is because a) you have this styling:

<style>
  body {
    opacity: 0;
  }

  body.ready,
  html:not(.js) body {
    opacity: 1;
  }
</style>

and b) https://unpkg.com/dark-mode-toggle is failing to load.

But really, you should just get rid of the style there. There's no need to hide the page until the JavaScript is loaded.

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

No branches or pull requests

1 participant