Minor layout/content tweaks

This commit is contained in:
Ske
2020-07-28 18:47:26 +02:00
parent 76f9aa9a62
commit 0fadc81cda
10 changed files with 33 additions and 25 deletions

View File

@@ -1,7 +1,13 @@
// For custom styles
// See: https://vuepress.vuejs.org/config/#index-styl
// Center images on page (only relevant when resized with markdown-it-imsize)
img
// Center images on page
display block
margin auto
margin auto
// This is a strange hack to prevent "portrait" images from blowing up vertically
// We previously used `markdown-it-imsize`, but that'd start squashing the images on mobile...
// So, we set an arbitrary maximuim height for images. This may need to change in the future.
// (see the system/member cards in getting-started.md for examples of why this is necessary)
max-height 450px