34 lines
No EOL
563 B
CSS
34 lines
No EOL
563 B
CSS
/* use a more-intuitive box-sizing model */
|
|
*, *::before, *::after {
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
/* remove default margin */
|
|
* {
|
|
margin: 0;
|
|
}
|
|
|
|
/*
|
|
typographic tweaks
|
|
- add accessible line-height
|
|
- improve text rendering
|
|
*/
|
|
body {
|
|
line-height: 1.5;
|
|
-webkit-font-smoothing: antialiased;
|
|
}
|
|
|
|
/* remove built-in form typography styles */
|
|
input, button, textarea, select {
|
|
font: inherit;
|
|
}
|
|
|
|
/* avoid text overflows */
|
|
p, h1, h2, h3, h4, h5, h6 {
|
|
overflow-wrap: break-word;
|
|
}
|
|
|
|
/* create a root stacking context */
|
|
#root, #__next {
|
|
isolation: isolate;
|
|
} |