set font-family better in css
This commit is contained in:
parent
983eafb2e1
commit
ad4def1569
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue