PluralKit/docs/content/.vuepress/styles/index.styl

14 lines
529 B
Stylus
Raw Normal View History

2020-07-28 16:19:40 +00:00
// For custom styles
// See: https://vuepress.vuejs.org/config/#index-styl
img
2020-07-28 16:47:26 +00:00
// Center images on page
2020-07-28 16:19:40 +00:00
display block
2020-07-28 16:47:26 +00:00
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