From: Cameron Otsuka Date: Tue, 29 Oct 2024 21:35:42 +0000 (-0700) Subject: update reset css X-Git-Tag: v1.0.0~84 X-Git-Url: https://git.otsuka.systems/?a=commitdiff_plain;h=a97cfdd6ff52a118ea9aaf9784e13fb0011b0d27;p=cotsuka.github.io update reset css --- diff --git a/_includes/css/reset.css b/_includes/css/reset.css index 18c251d..7c22795 100644 --- a/_includes/css/reset.css +++ b/_includes/css/reset.css @@ -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