Documentation

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

Item Value
Created 2022-04-12
Category Business Examples
HTML files index.html
Source target/20220412

Live Preview

Open the example in a new tab

Page Sections

Section Description
T003 header + nav + hero Background-image header: brand block, GitHub / Email contact chips, inline nav with a hover dropdown (LIST), then hero text with Code / Github buttons.
C012 dated posts Two post items with a date badge (01 / 一月), meta list (user / group / tag), title, excerpt, MORE link, plus a 'My Page' button.
C010 profile cards 4 cards (image, name, role, text) on a var(--col-sys) background.
C008 gallery 8 figure cards in 4 columns with caption title and text.
C011 icon features 4 icon + title + text items on var(--col-hint) background.
B003 footer Top bar with social icons, then 4 columns: BC004 3x3 template thumbnails, BC006 link + date list, BC002 GitHub links, BC003 contact form (name / email inputs + submit), copyright bar.

Dependencies

Styling

Item Value
SCSS entry sass/PDWebsitemplate.min.scss
Output CSS css/PDWebsitemplate.min.css
Partials _PDModuleTop.scss (top/_T-001, _T-002, _T-003, _T004), _PDModuleColum.scss (colum/_C001..._C019), _PDModuleBottom.scss (bottom/_B001-_B003, _BC001-_BC006), _PDModuleAnimation.scss, _PDModuleComp.scss (comp/_a[btn], _dev.a[shadow], _div[bg], _img[ic], _to, _wh)

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

External Assets

Known Issues

中文