summaryrefslogtreecommitdiff
path: root/clams-server/src/main/resources
diff options
context:
space:
mode:
Diffstat (limited to 'clams-server/src/main/resources')
-rw-r--r--clams-server/src/main/resources/public/css/post.css14
-rw-r--r--clams-server/src/main/resources/templates/post.html3
2 files changed, 6 insertions, 11 deletions
diff --git a/clams-server/src/main/resources/public/css/post.css b/clams-server/src/main/resources/public/css/post.css
index e905cbc..8c4b91d 100644
--- a/clams-server/src/main/resources/public/css/post.css
+++ b/clams-server/src/main/resources/public/css/post.css
@@ -17,22 +17,18 @@
margin-bottom: 1.5rem;
}
-.post-image {
+.post-content p:has(img) {
margin: 40px 0;
text-align: center;
}
-.post-image img {
- max-width: 100%;
+.post-content img {
+ width: 100%;
+ max-width: 550px;
height: auto;
border: 1px solid var(--border-color);
border-radius: 8px;
-}
-
-.post-image figcaption {
- margin-top: 10px;
- font-size: 0.85rem;
- opacity: 0.7;
+ display: inline-block;
}
.post-nav {
diff --git a/clams-server/src/main/resources/templates/post.html b/clams-server/src/main/resources/templates/post.html
index 40444b2..7e99e1f 100644
--- a/clams-server/src/main/resources/templates/post.html
+++ b/clams-server/src/main/resources/templates/post.html
@@ -14,8 +14,7 @@
</article>
<nav class="post-nav">
- {{ previous_post_link | raw }}
- {{ next_post_link | raw }}
+ {{ back_to_index | raw }}
</nav>
</main>
{% endblock %}