diff --git a/css/style.css b/css/style.css index f60e94c..ebb477b 100644 --- a/css/style.css +++ b/css/style.css @@ -1,13 +1,19 @@ /* css reset | @yojeero | https://github.com/yojeero */ -*, *::before, *::after { box-sizing: inherit; } + +*, *::before, *::after { box-sizing: border-box; } html { box-sizing: border-box; font-size: 100%; line-height: 1.3; text-size-adjust: 100%; } -body,html{ height:100%; } -img, picture, video, canvas, object, audio, embed, iframe { max-width: 100%; border: 0; height: auto;} -blockquote,dd,dl,dt,fieldset,figure,legend,li,ol,p,pre,textarea,ul{ margin: 0; padding: 0; border: 0; outline: 0 } -p, h1, h2, h3, h4, h5, h6 { overflow-wrap: normal;} -input, button, textarea, select { font: inherit; } -ul, ol { list-style: none; } -a { cursor: pointer; text-decoration: none; border: 0; background: transparent; } a:active, a:focus, a:hover { outline-width: 0; } +body { height: 100vh; } + +img, picture { max-width: 100%; display: block; } +blockquote, dl, dd, h1, h2, h3, h4, h5, h6, hr, figure, p, pre { margin: 0; } + +h1, h2, h3, h4, button, input, label { line-height: 1.1; } +h1, h2, h3, h4, h5, h6 { text-wrap: balance; font-size: inherit; font-weight: inherit; } + +input, button, textarea, select { font-family: inherit; font-size: inherit; } + +ol, ul { list-style: none; margin: 0; padding: 0; } +a { color: currentColor; cursor: pointer; text-decoration: none; } /* ---- main ------ */