From 979e3c0fe6510f05830c722e61641adbb8892065 Mon Sep 17 00:00:00 2001 From: khannurien Date: Mon, 17 Aug 2026 16:38:50 +0000 Subject: [PATCH] Move theme CSS overrides out of the PaperMod submodule MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit The shorter .first-entry hero block was edited directly in site/themes/PaperMod. The parent repo only records a submodule's commit SHA, so those edits were never committed, and CI checks the submodule out fresh with submodules: recursive — the deployed site rendered with upstream's 320px/260px values. Relocate them to site/assets/css/extended/custom.css, which PaperMod's head.html concatenates after its core CSS, and restore the submodule to a clean checkout of the pinned upstream commit. Co-Authored-By: Claude Opus 5 --- site/assets/css/extended/custom.css | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 site/assets/css/extended/custom.css diff --git a/site/assets/css/extended/custom.css b/site/assets/css/extended/custom.css new file mode 100644 index 0000000..a40f936 --- /dev/null +++ b/site/assets/css/extended/custom.css @@ -0,0 +1,16 @@ +/* Project overrides, appended after PaperMod's core CSS by the theme's + head.html. Keep customisations here rather than editing files inside the + themes/PaperMod submodule — those never get committed, and CI checks the + submodule out fresh, so they would be missing from the deployed site. */ + +/* Shorter hero block: PaperMod reserves 320px / 260px for a lead image we + don't use, which pushed the venue tables below the fold. */ +.first-entry { + min-height: 180px; +} + +@media screen and (max-width: 768px) { + .first-entry { + min-height: 180px; + } +}