From: Ruben Rodriguez Date: Wed, 1 Feb 2023 14:28:47 +0000 (+0100) Subject: Improve handling of staff headshots X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=c96ec63dbc38814fd3d5456bd46be9ea72fce80c;p=financial-reports.git Improve handling of staff headshots --- diff --git a/content/extra/custom.css b/content/extra/custom.css index a9ecbfa..2ee5fb4 100644 --- a/content/extra/custom.css +++ b/content/extra/custom.css @@ -14,6 +14,6 @@ --brightaccent: #bde3ec; --darkaccent: #2870cc; --lightaccent: #79b4f2; - --colortone: 195deg; + --colortone: 185deg; } diff --git a/pelicanconf.py b/pelicanconf.py index d4c2a78..578fcc4 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -55,7 +55,7 @@ LIQUID_TAGS = ["img", "include_code", "matplotlib", "comment"] IMAGE_PROCESS = { "article-image": ["scale_in 800 800 True"], - "thumb": ["crop 0 0 50% 50%", "scale_out 150 150 True", "crop 0 0 150 150"], + "thumb": ["scale_in 300 300 True"], } #PDF_STYLE = "pdf" diff --git a/theme/static/css/b-side-base.css b/theme/static/css/b-side-base.css index 9610fdf..751358b 100644 --- a/theme/static/css/b-side-base.css +++ b/theme/static/css/b-side-base.css @@ -1206,7 +1206,8 @@ clear:both; .quote-box p{ padding:0; - margin:0 0 3rem 0; + margin:0 auto 3rem; + max-width:90% } .subtitle p{ @@ -1368,6 +1369,9 @@ margin:0} -.staff img, .colortone, .matplotlib, #tocbg{ -filter: hue-rotate(var(--colortone)) grayscale(50%) +.colortone, .matplotlib, #tocbg{ +filter: brightness(0.9) sepia() hue-rotate(var(--colortone)) +} +.staff img{ +filter: contrast(0.6) sepia() brightness(1.1) hue-rotate(var(--colortone)) } diff --git a/theme/templates/partials/body-header.html b/theme/templates/partials/body-header.html index 914b7e2..06f372d 100644 --- a/theme/templates/partials/body-header.html +++ b/theme/templates/partials/body-header.html @@ -15,7 +15,7 @@ {% endif %}
  • Table of Contents
  • Join the fsf
  • -
  • PDF
  • +
  • PDF