From e6215f84bf2cab0bbd8bb0a42ddae0ee6de3cfd6 Mon Sep 17 00:00:00 2001 From: Dennis Fink Date: Wed, 11 Nov 2026 19:57:38 +0100 Subject: Vendor responsive image plugin locally This adds the responsive-image plugin directly to the project, including its source code, documentation, and tests, allowing it to be maintained locally. It also configures responsive image sizes, updates gallery images to use srcset, and preserves original image URLs for full-resolution viewing. Markdown images gain lazy loading while retaining compatibility with the existing image viewer. --- .../tests/test-site/assets/static/style.css | 42 ++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 packages/responsive-image/tests/test-site/assets/static/style.css (limited to 'packages/responsive-image/tests/test-site/assets/static/style.css') diff --git a/packages/responsive-image/tests/test-site/assets/static/style.css b/packages/responsive-image/tests/test-site/assets/static/style.css new file mode 100644 index 0000000..7ff6e0b --- /dev/null +++ b/packages/responsive-image/tests/test-site/assets/static/style.css @@ -0,0 +1,42 @@ +body { + font-family: 'Verdana', sans-serif; + margin: 50px 25px; +} + +a { + color: #2a99b6; +} + +a:hover { + color: #33bbdf; +} + +header, footer, div.page { + width: 760px; + margin: 0 auto; + background: #daeef3; + padding: 20px 30px; +} + +header h1 { + color: #169bbd; + margin: 0; + font-weight: normal; + font-size: 42px; +} + +header nav ul { + list-style: none; + margin: 0; + padding: 0; +} + +header nav ul li { + display: inline; + margin: 0 8px 0 0; + padding: 0; +} + +div.page { + background: #f1fbfe; +} -- cgit v1.3.1