Pontoporeia
55c6ac21b8
fix tfe page: scope common.css header to body>header, fix grid width collapse, remove overflow-y clip
2026-04-08 14:14:37 +02:00
Pontoporeia
3a1cd5b43e
tfe page: author above title, interne/externe jury split, rounded images, strip contact protocol
2026-04-08 14:14:37 +02:00
Pontoporeia
dddfc8554b
fonts: add --font-body/--font-display vars, use them everywhere
2026-04-08 14:14:37 +02:00
Pontoporeia
797eaf87d1
Apply correct fonts: Combined for titles, BBBDMSans for body text
2026-04-08 14:14:37 +02:00
Pontoporeia
bf2594112b
fix serve recipe: filter output to Development Server start + [200] requests only
...
refactor: unify CSS color variables across public and admin
- Replace old variable structure with new standardized naming:
- Background: --bg-primary, --bg-secondary, --bg-tertiary, --bg-active
- Text: --text-primary, --text-secondary, --text-tertiary
- Border: --border-primary, --border-secondary
- Status: --success, --error, --warning
- Accent: --accent-primary, --accent-secondary, --accent-foreground, --accent-muted
- Remove admin-specific color variables (--admin-*)
- Update all CSS files to use shared variables:
- variables.css, common.css, main.css, admin.css
- tfe.css, search.css, apropos.css, system.css, colors.css
2026-04-02 17:22:51 +02:00
Pontoporeia
cd58bc13e4
css: replace presentational class selectors with semantic element selectors
...
Replace 6 CSS class selectors across tfe.css, main.css, and search.css with
semantic element-based selectors, removing the corresponding classes from the
HTML templates entirely.
tfe.css:
- .tfe-meta-list → article dl / article dl > div / article dl dt / article dl dd
- .tfe-media-block → aside figure (+ img, video, embed children)
- .tfe-file-caption → aside figcaption
main.css:
- .card__media → .home-body figure (+ img/video children and hover/motion rules)
- .card__caption → .home-body li > a > p
search.css:
- .repertoire-col > h2 → .repertoire-index section > h2
Template changes:
- tfe.php: removed class= from <dl>, <figure>, and <figcaption>
- index.php: removed class= from <figure> and <p class=card__caption>;
stripped orphaned card__media from the gradient <div> (only --gradient needed)
No visual change — selectors match the same elements as before since the
semantic HTML was already in place from prior refactoring work.
2026-04-01 17:08:12 +02:00
Pontoporeia
338782947c
chore: vendor all CDN assets locally; reorganise assets into css/ and js/
...
All third-party assets are now self-hosted — zero external requests at runtime.
CSS (assets/css/):
- modern-normalize.min.css (was assets/)
- common.css, admin.css, main.css, search.css, tfe.css, apropos.css (was assets/)
- easymde.min.css 2.20.0 (was cdn.jsdelivr.net)
- font-awesome.min.css 4.7.0 (was maxcdn.bootstrapcdn.com; injected at runtime by EasyMDE)
JS (assets/js/):
- easymde.min.js 2.20.0 (was cdn.jsdelivr.net)
Fonts (assets/fonts/fontawesome/):
- fontawesome-webfont.{eot,woff2,woff,ttf,svg}, FontAwesome.otf 4.7.0
Path fixes:
- common.css @font-face: ./fonts/ -> ../fonts/ (one level deeper)
- font-awesome.min.css @font-face: ../fonts/ -> ../fonts/fontawesome/ (dedicated subdir)
- pages-edit.php: autoDownloadFontAwesome:false added to EasyMDE init to
suppress the runtime CDN injection that was still present inside easymde.min.js
Reference updates (all now absolute /assets/css/* or /assets/js/*):
- templates/public/head.php: modern-normalize + common
- templates/admin/head.php: modern-normalize + admin
- public/admin/login.php: modern-normalize + admin (standalone head)
- public/index.php, tfe.php, search.php, apropos.php, licence.php: extraCss paths
- public/admin/pages-edit.php: extraCss + extraJs (font-awesome, easymde CSS/JS)
Nginx static-file location already covers .css/.js/.woff/.woff2/.ttf/.otf with
30-day cache headers — no nginx config change needed.
2026-03-31 15:44:48 +02:00