style: increase max-w & line-height

This commit is contained in:
CDN 2023-05-06 09:53:23 +08:00
parent ba601cc9d9
commit 49d5d48637
Signed by: cdn0x12
GPG key ID: CF7D420E4A155266

View file

@ -6,7 +6,7 @@
:root { :root {
--max-w: 640px; --max-w: 1080px;
--font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, --font: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu,
Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif; Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
--font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace; --font-mono: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
@ -24,7 +24,7 @@ body {
margin: 0 16px; margin: 0 16px;
font-family: var(--font); font-family: var(--font);
font-weight: 400; font-weight: 400;
line-height: 1.6; line-height: 2.2;
background-image: var(--back-image); background-image: var(--back-image);
background-color: var(--back); background-color: var(--back);
color: var(--text); color: var(--text);
@ -60,4 +60,4 @@ main p a:hover {
body { body {
margin-top: calc(1rem + 2vh); margin-top: calc(1rem + 2vh);
} }
} }