made new css var for the article width

This commit is contained in:
Niels van Brakel
2021-12-16 15:26:19 +01:00
parent 0a4d7c8e14
commit 54c9fef509
4 changed files with 7 additions and 2 deletions

View File

@ -6,6 +6,10 @@
padding: var(--gap);
}
.main.page {
max-width: calc(var(--article-width) + var(--gap) * 2);
}
.page-header h1 {
font-size: 40px;
}

View File

@ -3,6 +3,7 @@
--content-gap: 20px;
--nav-width: 1380px;
--main-width: 720px;
--article-width: 650px;
--toc-width: 300px;
--header-height: 60px;
--footer-height: 60px;