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

Enhance CSS reset with a custom reset.css file #210

Open
1 task done
joesnellpdx opened this issue Feb 8, 2024 · 0 comments · May be fixed by #211
Open
1 task done

Enhance CSS reset with a custom reset.css file #210

joesnellpdx opened this issue Feb 8, 2024 · 0 comments · May be fixed by #211
Assignees

Comments

@joesnellpdx
Copy link
Contributor

joesnellpdx commented Feb 8, 2024

Is your enhancement related to a problem? Please describe.

There are some new and other common reset styles we may want to incorporate by default into our themes. This issue will add some of these styles and, once reviewed, add the enhancements to the project.

Enhancements considered:

  • font: inherit globally to cover for some browser inconsistencies and provide more font display reliability
  • margin: 0; padding: 0; globally to ensure there is a reliable spacing reset
  • color-scheme: dark light; to html - add default color schemes to project - available if needed
  • hanging-punctuation: first last; - enhance block quotes or large content blocks in quotes
  • body { min-height: 100svh; } ensure body is at least 100% of viewport hight (including on mobile devices)
  • Responsive media: set to display: block; and max-width: 100%; by default
  • All headings: add text-wrap: balance allow browser to set a balanced heading if more than one line
  • All paragraphs: add text-wrap: pretty ensure there are no orphans on paragraphs that are more than one line
  • Add smooth scrolling by default

Code of Conduct

  • I agree to follow this project's Code of Conduct
@joesnellpdx joesnellpdx self-assigned this Feb 8, 2024
@joesnellpdx joesnellpdx linked a pull request Feb 9, 2024 that will close this issue
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant