summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorerdgeist <erdgeist@erdgeist.org>2026-07-23 23:10:29 +0200
committererdgeist <erdgeist@erdgeist.org>2026-07-23 23:10:29 +0200
commit53d57ecc230ac9941a6e5b592b8b0371403a522f (patch)
tree6a9a9439dd3e31978f5b4ef61103b5d7591003d8
parent208acb54d6875e9d258458d5845ad99a414acb78 (diff)
Prevent headline in partial cropping of anything within A4 dimensions
-rw-r--r--public/stylesheets/ccc.css9
1 files changed, 7 insertions, 2 deletions
diff --git a/public/stylesheets/ccc.css b/public/stylesheets/ccc.css
index a179dc6d..295250fb 100644
--- a/public/stylesheets/ccc.css
+++ b/public/stylesheets/ccc.css
@@ -744,10 +744,15 @@ div.author_and_date {
744 744
745.article_thumbnail img { 745.article_thumbnail img {
746 width: 116px; 746 width: 116px;
747 height: 116px; 747 height: auto;
748 min-height: 82px; /* 116 / sqrt(2): wider than DIN landscape crops */
749 max-height: 164px; /* 116 * sqrt(2): taller than DIN portrait crops */
748 object-fit: cover; 750 object-fit: cover;
749 border-radius: 4px;
750 display: block; 751 display: block;
752
753 border-radius: 4px;
754 border: 1px solid rgba(128, 128, 128, 0.4);
755 box-shadow: 2px 3px 8px rgba(0, 0, 0, 0.25);
751} 756}
752 757
753.article_partial_layout .excerpt { 758.article_partial_layout .excerpt {