article { display: flex; flex-flow: column; line-height: 1lh; background-color: whitesmoke; img{ margin-top: 1lh; } h1{ font-size: 2rem; margin-top:1lh; text-align: center; } h1::before{ content:"# "; opacity: 0.5; } h2{ font-size: 1.7rem; margin-top:1lh; text-align: left; } h2::before{ content:"## "; opacity: 0.4; } ol, pre { margin-top:0.8rem; } p{ line-height:1lh; margin-top:0.5lh; } img{ display: block; margin-left: auto; margin-right: auto; padding: 0%; box-shadow: 12px 12px 10px rgba(0, 0, 0, 0.5); } }