crop classic hirsch portrait

This commit is contained in:
Yisroel Baum 2026-08-11 10:02:43 +03:00
parent d610f83f04
commit e48a6818bb
Signed by: yisroelbaum
GPG key ID: 0FA60884F75520A9
6 changed files with 9 additions and 3 deletions

View file

@ -75,6 +75,9 @@ pkgs.runCommand "tide-module-test" { } ''
${pkgs.diffutils}/bin/cmp \
${../../site/styles.css} \
${landingPage}/${stylesheetFileName}
${pkgs.gnugrep}/bin/grep -F \
'aspect-ratio: 5 / 6;' \
${landingPage}/${stylesheetFileName}
${pkgs.gnugrep}/bin/grep -F \
'href="/${stylesheetFileName}"' \
${landingPage}/index.html
@ -84,6 +87,9 @@ pkgs.runCommand "tide-module-test" { } ''
${pkgs.gnugrep}/bin/grep -F \
'src="/assets/rav-hirsch-later-life.jpg"' \
${landingPage}/index.html
${pkgs.gnugrep}/bin/grep -F \
'height="600"' \
${landingPage}/index.html
${pkgs.gnugrep}/bin/grep -F \
'assets/social-preview-hirsch-later-life.png' \
${landingPage}/index.html

Binary file not shown.

Before

Width:  |  Height:  |  Size: 141 KiB

After

Width:  |  Height:  |  Size: 48 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 61 KiB

After

Width:  |  Height:  |  Size: 24 KiB

Before After
Before After

Binary file not shown.

Before

Width:  |  Height:  |  Size: 355 KiB

After

Width:  |  Height:  |  Size: 336 KiB

Before After
Before After

View file

@ -117,8 +117,8 @@
>
<img
src="/assets/rav-hirsch-later-life.jpg"
width="960"
height="1178"
width="500"
height="600"
alt="Later-life portrait of Rav Samson Raphael Hirsch wearing glasses and a dark cap"
>
</picture>

View file

@ -398,7 +398,7 @@ cite {
.portrait img {
width: 100%;
aspect-ratio: 0.955;
aspect-ratio: 5 / 6;
background: #d7cec1;
filter: sepia(0.12) contrast(1.04);
object-fit: cover;