diff options
Diffstat (limited to 'public/stylesheets/ccc.css')
| -rw-r--r-- | public/stylesheets/ccc.css | 9 |
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 { |
