about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/frontend/style.css8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/frontend/style.css b/src/frontend/style.css
index a0add44..0b09f81 100644
--- a/src/frontend/style.css
+++ b/src/frontend/style.css
@@ -131,6 +131,12 @@ article.h-entry > header.metadata ul {
     list-style-type: none;
 
 }
+article.h-entry .e-content pre {
+    border: 1px solid gray;
+    border-radius: 0.5em;
+    overflow-y: auto;
+    padding: 0.5em;
+}
 article.h-entry img.u-photo {
     max-width: 80%;
     max-height: 90vh;
@@ -159,6 +165,8 @@ article.h-card img.u-photo {
     height: 8rem;
     border: 1px solid gray;
     margin-right: .75em;
+    object-fit: cover;
+    aspect-ratio: 1;
 }
 
 .mini-h-card img {