set font-family better in css
This commit is contained in:
parent
8dbca1c6e6
commit
c1358a401b
|
@ -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