Basic (2022-04-12)
Static PDWebsitemplate module page (T003, C012, C010, C008, C011, B003) with a red theme: header with contact chips, news timeline, team cards, gallery, footer.
Overview
Live Preview
Open the example in a new tab
Page Sections
Dependencies
Styling
Same module library as 20220409 (reset inlined at top of the entry, no _init / function imports); each module is scoped by div[sn=XXXX]. Only 6 modules are used by the page.
cd target/20220412
npx sass sass/PDWebsitemplate.min.scss css/PDWebsitemplate.min.css --no-source-map || exit 1
Techniques
- Attribute-driven module system: sn module ids, df="x2/x4" column grids, df="btn col fff xxl" buttons, wh="1" image frames, df="bg" background blocks.
- Theme set by CSS variables in inline <style> on *: red --col-sys rgb(200,30,60), --col-sys-light/hint/dark, --max-width 1140px, --default-radius 0.5rem, --module-hint 1 (shows module labels).
- Desktop-first max-width media queries (479 / 639 / 767 / 1023px) and pointer-fine hover with keyframe color transitions; CSS-only hover dropdown.
External Assets
https://fakeimg.pl/1024/282828/eae0d0/?text=sample
https://pardn.io/image/head.png
https://pardn.io/web-template/image/20220412.jpg
- ../icon/watch/1/fff.svg, ../image/bg-l.svg, ../image/bg-m.svg (referenced by compiled CSS, not present in the folder)
Known Issues
- CSS url(../icon/watch/1/fff.svg), url(../image/bg-l.svg) and url(../image/bg-m.svg) resolve to <folder>/icon and <folder>/image, which do not exist (the [wh] hover overlay icon will 404; bg-l.svg is overridden by inline background-image). No other path depends on the host.