]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
update reset css
authorCameron Otsuka <cameron@otsuka.haus>
Tue, 29 Oct 2024 21:35:42 +0000 (14:35 -0700)
committerCameron Otsuka <cameron@otsuka.haus>
Tue, 29 Oct 2024 21:35:42 +0000 (14:35 -0700)
_includes/css/reset.css

index 18c251dbbb10c4dd1bc635219d29ff90d061e973..7c22795da9740d1b7c959963b146eb9c6db20821 100644 (file)
@@ -2,26 +2,40 @@
   Josh's Custom CSS Reset
   https://www.joshwcomeau.com/css/custom-css-reset/
 */
+
 *, *::before, *::after {
   box-sizing: border-box;
 }
+
 * {
   margin: 0;
 }
+
 body {
   line-height: 1.5;
   -webkit-font-smoothing: antialiased;
 }
+
 img, picture, video, canvas, svg {
   display: block;
   max-width: 100%;
 }
+
 input, button, textarea, select {
   font: inherit;
 }
+
 p, h1, h2, h3, h4, h5, h6 {
   overflow-wrap: break-word;
 }
+
+p {
+  text-wrap: pretty;
+}
+h1, h2, h3, h4, h5, h6 {
+  text-wrap: balance;
+}
+
 #root, #__next {
   isolation: isolate;
 }
\ No newline at end of file