From 82811d5272abd3c2017874a63fce05cc6bdde88e Mon Sep 17 00:00:00 2001 From: Lars Vilhuber Date: Sun, 9 Aug 2026 13:17:02 -0400 Subject: [PATCH] Print the replication package checklist on its own page with the AEA Data Editor header Print styling lived in a separate custom partial so it survives minimal-mistakes theme updates. Co-Authored-By: Claude Sonnet 5 --- _guidance/preparing-replication-package.md | 5 ++++ _sass/custom-print.scss | 35 ++++++++++++++++++++++ assets/css/main.scss | 1 + 3 files changed, 41 insertions(+) create mode 100644 _sass/custom-print.scss diff --git a/_guidance/preparing-replication-package.md b/_guidance/preparing-replication-package.md index a521fa20..0d6134bc 100644 --- a/_guidance/preparing-replication-package.md +++ b/_guidance/preparing-replication-package.md @@ -33,6 +33,11 @@ You can use an AI assistant (such as Claude, ChatGPT, or GitHub Copilot) to guid The AI will work through each step with you, identify issues, and suggest specific fixes. + + ## Checklist Print off (as PDF or on paper) the following checklist, and tick off each item as you complete it. Provide the completed checklist as part of the replication package. diff --git a/_sass/custom-print.scss b/_sass/custom-print.scss new file mode 100644 index 00000000..7393fb6d --- /dev/null +++ b/_sass/custom-print.scss @@ -0,0 +1,35 @@ +/* ========================================================================== + CUSTOM PRINT STYLES (site-specific, kept out of the minimal-mistakes theme + so theme updates don't clobber these) + ========================================================================== */ + +.print-only { + display: none; +} + +@media print { + + .print-only { + display: block !important; + } + + .print-header { + display: flex; + align-items: center; + gap: 0.75rem; + margin-bottom: 1.5rem; + padding-bottom: 0.75rem; + border-bottom: 2px solid #000; + + img { + max-height: 60px; + width: auto; + margin: 0; + } + + span { + font-size: 1.25rem; + font-weight: bold; + } + } +} diff --git a/assets/css/main.scss b/assets/css/main.scss index a2c3a383..6345a4f6 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -6,6 +6,7 @@ @import "minimal-mistakes/skins/{{ site.minimal_mistakes_skin | default: 'default' }}"; // skin @import "minimal-mistakes"; // main partials +@import "custom-print"; // site-specific print styles, kept separate from the theme .greedy-nav { font-size: 0.8em;