set font-family better in css

This commit is contained in:
neri 2021-06-28 01:11:10 +02:00
parent 8dbca1c6e6
commit c1358a401b
1 changed files with 11 additions and 1 deletions

View File

@ -3,6 +3,17 @@
--fg: #e9e9e9;
}
html {
box-sizing: border-box;
}
*,
*::before,
*::after {
font-family: sans;
box-sizing: inherit;
}
body {
background-color: var(--bg);
margin: 0;
@ -10,7 +21,6 @@ body {
main {
color: var(--fg);
font-family: sans;
max-width: 1200px;
margin: 0 auto;
padding: 1rem;