mirror of
https://github.com/TomHodson/tomhodson.github.com.git
synced 2025-06-26 10:01:18 +02:00
add hack to centre raw markdown img tags
This commit is contained in:
parent
a0928b5086
commit
83a2086da0
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user