css: Improve content shadow for short pages
01-env build environment Details
02-git-checkout git checkout Details
03-hugo-version hugo version Details
04-hugo-build hugo build Details
05-preview website preview Details

Extend the content container to viewport height, so the visual
separation of the content and the sidebar items spreads over the whole
height.
This commit is contained in:
Fabian Bläse 2023-02-21 00:20:14 +01:00
parent f99fe536b5
commit 9a846a8e4b
1 changed files with 2 additions and 1 deletions

View File

@ -1,5 +1,6 @@
.book-page {
box-shadow: 0px -1.5rem 1.5rem rgba(0, 0, 0, 0.15);
box-shadow: 0 0 1.5rem rgba(0, 0, 0, 0.15);
min-height: 100vh;
padding-left: 2rem;
padding-right: 2rem;
}