Improve handling of staff headshots
authorRuben Rodriguez <ruben@gnu.org>
Wed, 1 Feb 2023 14:28:47 +0000 (15:28 +0100)
committerRuben Rodriguez <ruben@gnu.org>
Wed, 1 Feb 2023 14:28:47 +0000 (15:28 +0100)
content/extra/custom.css
pelicanconf.py
theme/static/css/b-side-base.css
theme/templates/partials/body-header.html

index a9ecbfa42ec360a555ccd6600e739bdb5f6aa933..2ee5fb487a8fbd97aaeca6777cb907cb56492052 100644 (file)
@@ -14,6 +14,6 @@
     --brightaccent: #bde3ec;
     --darkaccent: #2870cc;
     --lightaccent: #79b4f2;
-    --colortone: 195deg;
+    --colortone: 185deg;
 }
 
index d4c2a7858ea8747c6861a3fdd4a32977be7186b7..578fcc4d0235806e005b8d83b575e8559572f5fa 100644 (file)
@@ -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"
index 9610fdf07405e569a74d2b3ceb6c72647dd11662..751358b20da89a122ff22edaf238558963af3c15 100644 (file)
@@ -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))
 }
index 914b7e221f90369c87544a8ba6b8f95b0fae9b38..06f372d2d9ba05e82d3b103780aa27c1bc5be823 100644 (file)
@@ -15,7 +15,7 @@
         {% endif %}
             <li><a class="active" href="#toc">Table of Contents</a></li>
             <li><a class="active" href="https://my.fsf.org">Join the fsf</a></li>
-            <li><a class="active" href="https://my.fsf.org">PDF</a></li>
+            <li><a class="active" href="extra/2018.pdf">PDF</a></li>
     </ul>
   </nav>
 </header>