diff options
| author | Reorx <novoreorx@gmail.com> | 2022-04-09 23:31:15 +0800 |
|---|---|---|
| committer | Reorx <novoreorx@gmail.com> | 2022-04-09 23:31:15 +0800 |
| commit | 8c5d10925e591c909e98c9a413e10b2e47c15b6d (patch) | |
| tree | 1c4a410235affc8c89923fcfd121d121465b883c /assets/css/common/main.css | |
| parent | c5d31c778b572c3952c35e918765901cb223c045 (diff) | |
allow customize post page width
Diffstat (limited to 'assets/css/common/main.css')
| -rw-r--r-- | assets/css/common/main.css | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/assets/css/common/main.css b/assets/css/common/main.css index 50022ac..22dc39c 100644 --- a/assets/css/common/main.css +++ b/assets/css/common/main.css @@ -1,3 +1,4 @@ +/* for home and other pages */ .main { position: relative; min-height: calc(100vh - var(--header-height) - var(--footer-height)); @@ -5,6 +6,10 @@ margin: auto; padding: var(--gap); } +/* for post page */ +.main.post { + max-width: calc(var(--post-width) + var(--gap) * 2); +} .page-header h1 { font-size: 40px; |
