From a941b4a520dcc2af2135b632183cc98383aca356 Mon Sep 17 00:00:00 2001 From: Jonathan DeMasi Date: Mon, 9 Mar 2020 23:53:24 -0600 Subject: few css fixes --- jthanio/static/css/jthanio.css | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/jthanio/static/css/jthanio.css b/jthanio/static/css/jthanio.css index f2f6b61..8c4b531 100644 --- a/jthanio/static/css/jthanio.css +++ b/jthanio/static/css/jthanio.css @@ -1,15 +1,16 @@ +/* Blog post text and tag styling +-------------------------------------------------- */ .badge-light a { color: #000000; font-size: 14px; } .rich-text p { font-size: 15px; + clear: right; } /* Sticky footer styles -------------------------------------------------- */ - - #page-content { min-height: 100vh; } @@ -22,3 +23,16 @@ height: 60px; line-height: 60px; /* Vertically center the text there */ } + +/* Image support +-------------------------------------------------- */ +img { + vertical-align: middle; + border-style: none; + max-width: 100%; + height: auto; +} +/* We need a fix for right align images */ +.richtext-image.right { + float: right; +} -- cgit v1.2.3