adjust post width to the same as main width; post content font size 16px

This commit is contained in:
Reorx 2022-05-05 17:30:12 +08:00
parent 8ab5cf130f
commit e1216a8d00
2 changed files with 3 additions and 2 deletions

View File

@ -30,6 +30,7 @@
} }
.post-content { .post-content {
font-size: 16px;
color: var(--content); color: var(--content);
} }
@ -311,7 +312,7 @@ h6:hover .anchor {
.toc.side { .toc.side {
font-size: .8em; font-size: .8em;
} }
@media screen and (min-width: 1440px) { @media screen and (min-width: 1350px) {
.toc.side { .toc.side {
position: fixed; position: fixed;
top: 118px; top: 118px;

View File

@ -3,7 +3,7 @@
--content-gap: 20px; --content-gap: 20px;
--nav-width: 960px; --nav-width: 960px;
--main-width: 720px; --main-width: 720px;
--post-width: 800px; --post-width: 720px;
--header-height: 60px; --header-height: 60px;
--footer-height: 80px; --footer-height: 80px;
--radius: 8px; --radius: 8px;