From 82b1fa170a804db9cea88132043a6ac8ce36d907 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Apr 2026 16:26:41 +0000 Subject: [PATCH 1/2] hide headshot in PDF via print media query Agent-Logs-Url: https://github.com/dlaz/dlaz.github.com/sessions/a54ea6dc-8994-45a1-a59b-6b6655a9fcc8 Co-authored-by: dlaz <740058+dlaz@users.noreply.github.com> --- styles.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/styles.css b/styles.css index 08b0f9e..23cebf0 100644 --- a/styles.css +++ b/styles.css @@ -256,7 +256,8 @@ td.bibtexitem { #ref-dialog, #publications-section, .no-pdf, - .ui-dialog { + .ui-dialog, + img#me { display: none !important; } /* Remove hover transitions */ From 30c0fc8131c53f602cb4c6ff2693895a8bd1c223 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 25 Apr 2026 16:32:56 +0000 Subject: [PATCH 2/2] hide headshot in PDF build step (Puppeteer screen mode bypass) Agent-Logs-Url: https://github.com/dlaz/dlaz.github.com/sessions/987e1313-d18f-4d5c-9515-7e3db6d263a2 Co-authored-by: dlaz <740058+dlaz@users.noreply.github.com> --- build.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/build.js b/build.js index b3e7037..d1fd706 100644 --- a/build.js +++ b/build.js @@ -107,6 +107,8 @@ async function build() { // Hide sections that should not appear in the PDF await page.evaluate(() => { document.querySelectorAll('.no-pdf').forEach(el => { el.style.display = 'none'; }); + const headshot = document.getElementById('me'); + if (headshot) headshot.style.display = 'none'; }); // Inject compact styles to keep the PDF to ≤2 pages await page.addStyleTag({ content: `