diff --git a/static/css/simple-blog-template.css b/static/css/simple-blog-template.css index 3a2440c..971f9cd 100644 --- a/static/css/simple-blog-template.css +++ b/static/css/simple-blog-template.css @@ -91,6 +91,20 @@ nav { 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 { font-family: "SFMono-Regular", Consolas, "Liberation Mono", Menlo, monospace; diff --git a/templates/components/post_preview.html b/templates/components/post_preview.html index 44530e2..1c1af75 100644 --- a/templates/components/post_preview.html +++ b/templates/components/post_preview.html @@ -9,7 +9,7 @@
{{ post.content | striptags | truncate(200) }}
Read More