crop classic hirsch portrait
This commit is contained in:
parent
d610f83f04
commit
e48a6818bb
6 changed files with 9 additions and 3 deletions
|
|
@ -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 |
Binary file not shown.
|
Before Width: | Height: | Size: 61 KiB After Width: | Height: | Size: 24 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 355 KiB After Width: | Height: | Size: 336 KiB |
|
|
@ -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>
|
||||
|
|
|
|||
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue