From 8ff01dda88c30db3b69cdbdf0f51379b5672c0fe Mon Sep 17 00:00:00 2001 From: Ben Dichter Date: Sun, 14 Dec 2025 16:08:55 -0500 Subject: [PATCH] docs: add styling for pynapple graphic abstract image --- assets/css/style.css | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/assets/css/style.css b/assets/css/style.css index 7a4e9a8..1c48a0d 100644 --- a/assets/css/style.css +++ b/assets/css/style.css @@ -438,11 +438,22 @@ section img[src*="Neurophysiology-min.png"] { display: block !important; } +/* Limit the maximum size of pynapple graphic abstract image */ +.content img[src*="pynapple/GraphicAbstract.png"] { + width: 100% !important; + max-width: 600px !important; + margin: 0 auto !important; + display: block !important; +} + /* Ensure the image is responsive on smaller screens */ @media (max-width: 900px) { section img[src*="Neurophysiology-min.png"] { max-width: 95% !important; } + .content img[src*="pynapple/GraphicAbstract.png"] { + max-width: 90% !important; + } } .content li::marker {