read more

This commit is contained in:
m
2026-03-14 21:22:01 +01:00
parent 23ff7da17e
commit 189c423e03
2 changed files with 15 additions and 1 deletions

View File

@@ -91,6 +91,20 @@ nav {
text-decoration: none; text-decoration: none;
} }
/* Subtle 'press' effect when clicked */
.btn-read-more:active {
transform: translateY(1px);
box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.12);
}
/* Ensure it behaves like a button block in the flow */
.btn-read-more {
display: inline-block;
text-align: center;
vertical-align: middle;
user-select: none;
}
/* --- Terminal Style (Code Blocks) --- */ /* --- Terminal Style (Code Blocks) --- */
.terminal-style { .terminal-style {
font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace;

View File

@@ -9,7 +9,7 @@
<div class="blog-preview">{{ post.content | striptags | truncate(200) }}</div> <div class="blog-preview">{{ post.content | striptags | truncate(200) }}</div>
<a <a
class="btn btn-default btn-custom" class="btn btn-read-more"
href="{{ url_for('post_detail', post_id=post.id) }}" href="{{ url_for('post_detail', post_id=post.id) }}"
> >
Read More Read More