vertically center single pages

This commit is contained in:
rhiannon morris 2023-08-06 06:12:29 +02:00
parent f40850cf38
commit 37cfafbcd3

View file

@ -6,8 +6,14 @@
--image-width: 1000px; --image-width: 1000px;
} }
body {
display: grid;
min-height: 100vh;
}
.page { .page {
max-width: var(--image-width); max-width: var(--image-width);
align-self: center;
} }
#mainfig { #mainfig {