aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-21 14:35:04 +0530
committerVidhu Kant Sharma <vidhukant@vidhukant.xyz>2022-09-21 14:35:04 +0530
commit6f4bf524b3fe54f44f67e52b3a78f2c01c9749f7 (patch)
tree55cf0746301788ceba3d9cda21e4b99cf0a7198a /static
parenta0a64bfd5ab0c97f57d2c044cc7ae1ccaad0266b (diff)
added border color for images
Diffstat (limited to 'static')
-rw-r--r--static/scss/blog.scss12
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 {