chore: cleanup
This commit is contained in:
parent
9e73dbe4c1
commit
28fe4b21f2
19 changed files with 134 additions and 187 deletions
|
@ -1,34 +1,18 @@
|
|||
/* 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: var(--line-height-md);
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-webkit-text-size-adjust: none;
|
||||
}
|
||||
|
||||
/* 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;
|
||||
}
|
Reference in a new issue