diff options
author | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-27 18:44:24 +0530 |
---|---|---|
committer | Vidhu Kant Sharma <vidhukant@vidhukant.com> | 2023-08-27 18:44:24 +0530 |
commit | 1317345f739c0e3131689c7e557966ab58e18764 (patch) | |
tree | 986dabe456caee1170fa8eb136b52ffec766eeae /static/css | |
parent | f009e561cccbed762aa4e49fdb4842a65c91c76a (diff) |
styled images on blog page
Diffstat (limited to 'static/css')
-rw-r--r-- | static/css/blog.css | 15 |
1 files changed, 14 insertions, 1 deletions
diff --git a/static/css/blog.css b/static/css/blog.css index eb2e9a0..eff7957 100644 --- a/static/css/blog.css +++ b/static/css/blog.css @@ -72,6 +72,19 @@ justify-content: space-evenly; } -#blog-post header hr { +#blog-post hr { border: 1px solid var(--blog-h1-fg); } + +article#blog-post img { + display: block; + margin: 1rem auto; + max-width: 90%; + max-height: 30rem; + border: 1px solid var(--blog-h1-fg); +} + +/* linked images have different colored borders */ +article#blog-post a img { + border: 1px solid var(--link-fg); +} |