diff options
Diffstat (limited to 'static/scss')
-rw-r--r-- | static/scss/blog.scss | 12 |
1 files changed, 9 insertions, 3 deletions
diff --git a/static/scss/blog.scss b/static/scss/blog.scss index a9e7b94..96dc6fc 100644 --- a/static/scss/blog.scss +++ b/static/scss/blog.scss @@ -63,11 +63,17 @@ pre code { display: block; } -img { +main img { display: block; - margin-left: auto; - margin-right: auto; + margin: 1rem auto; max-width: 90%; + max-height: 30rem; + border: 1px solid $headingColor4; +} + +// linked images have the same border color as a link +main a img { + border: 1px solid $linkColor; } h1 { |