improve style

This commit is contained in:
Mivinci 2022-01-26 23:20:50 +08:00
parent 33083ec377
commit e7997a933b
5 changed files with 26 additions and 19 deletions

View file

@ -12,7 +12,7 @@
--w-mobile: 640px;
--global-font-family: Verdana, Geneva, Tahoma, sans-serif;
--global-font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;
}
html.dark {
@ -29,9 +29,9 @@ html.dark {
}
body {
font-family: var(--global-font-family);
max-width: var(--w-mobile);
margin: 3rem auto 0;
font-family: var(--global-font-family);
font-size: 16px;
font-weight: 400;
color: var(--ft);

View file

@ -1,7 +1,7 @@
.md blockquote {
background-color: rgba(148, 148, 149, 0.08) ;
padding: 1px 1rem;
border-left: 8px solid var(--pm);
border-left: 4px solid var(--pm);
font-style: italic;
}
@ -58,6 +58,12 @@
margin: .75rem 0;
}
.md blockquote p {
margin: .5rem 0;
line-height: 1.5;
font-size: .9rem;
}
.md hr {
margin: 1.5rem 0;
}