clean up comments

This commit is contained in:
2026-09-04 08:02:36 -07:00
parent c90e2634b2
commit ba55a0ab17
+16 -27
View File
@@ -3,58 +3,47 @@
} }
/* numbered components are from https://www.joshwcomeau.com/css/custom-css-reset/ */ /* numbered components are from https://www.joshwcomeau.com/css/custom-css-reset/ */
/* 1. Use a more-intuitive box-sizing model */
*, *::before, *::after { *, *::before, *::after {
box-sizing: border-box; box-sizing: border-box; /* 1. Use a more-intuitive box-sizing model */
} }
/* 2. Remove default margin */
*:not(dialog) { *:not(dialog) {
margin: 0; margin: 0; /* 2. Remove default margin */
} }
/* 3. Enable keyword animations */
@media (prefers-reduced-motion: no-preference) { @media (prefers-reduced-motion: no-preference) {
html { html {
interpolate-size: allow-keywords; interpolate-size: allow-keywords; /* 3. Enable keyword animations */
} }
} }
body { body {
/* 4. Increase line-height */ line-height: 1.5; /* 4. Increase line-height */
line-height: 1.5; -webkit-font-smoothing: antialiased; /* 5. Improve text rendering */
/* 5. Improve text rendering */
-webkit-font-smoothing: antialiased;
} }
/* 6. Improve media defaults */
img, picture, video, canvas, svg { img, picture, video, canvas, svg {
display: block; display: block; /* 6. Improve media defaults */
max-width: 100%; max-width: 100%; /* 6. Improve media defaults */
height: auto; height: auto; /* 6. Improve media defaults */
} }
/* 7. Inherit fonts for form controls */
input, button, textarea, select { input, button, textarea, select {
font: inherit; font: inherit; /* 7. Inherit fonts for form controls */
} }
/* 8. Avoid text overflows */
p, h1, h2, h3, h4, h5, h6 { p, h1, h2, h3, h4, h5, h6 {
overflow-wrap: break-word; overflow-wrap: break-word; /* 8. Avoid text overflows */
} }
/* 9. Improve line wrapping */
p { p {
text-wrap: pretty; text-wrap: pretty; /* 9. Improve line wrapping */
}
h1, h2, h3, h4, h5, h6 {
text-wrap: balance;
} }
/* h1, h2, h3, h4, h5, h6 {
10. Create a root stacking context text-wrap: balance; /* 9. Improve line wrapping */
*/ }
#root, #__next { #root, #__next {
isolation: isolate; isolation: isolate; /* 10. Create a root stacking context */
} }