add hack to centre raw markdown img tags

This commit is contained in:
Tom Hodson 2022-11-25 12:37:35 +01:00
parent a0928b5086
commit 83a2086da0

View File

@ -52,6 +52,14 @@ main {
h1 {
font-size: 2em;
}
p > img {
width: 90%;
//hack to center images in p tags
display: block;
margin-left: auto;
margin-right: auto;
}
}
/* increase line-height for everything except headings */