content split + copy audit + css polish: content (news/pages/uploads) moves to the ctao/content repo (build overlays it — two-repo build.sh, link-content.sh for local dev); portal copy trimmed to source-documents-only (dashboard empty states, minimal privacy/disclaimer, no mock badges); css: inverted selection on navy bands, featured-card text-track floor, 44px toc target, mobile search dates on own line, footer link row gap; DESIGN.md rewritten as a short handoff

This commit is contained in:
2026-09-03 19:35:22 +02:00
parent 2e6d374b4b
commit 13f945fbf3
457 changed files with 192 additions and 8142 deletions
+6 -4
View File
@@ -4,7 +4,9 @@
# these origins in deploy/ctao-demo-gitea.container.
backend:
name: gitea
repo: ctao/portal
# Content lives in its OWN repo (editorial history separate from code —
# the build overlays it onto the portal code, see deploy/build.sh).
repo: ctao/content
branch: main
base_url: https://astro-git.isl-dev.grid.cyfronet.pl
api_root: https://astro-git.isl-dev.grid.cyfronet.pl/api/v1
@@ -22,7 +24,7 @@ app_title: CTAO Content Editor
logo:
src: /brand/CTAO_Logo_login.svg
media_folder: "public/uploads"
media_folder: "uploads"
public_folder: "/uploads"
# Keep the git repo lean: images are stored as plain git blobs (no LFS), so
@@ -46,7 +48,7 @@ collections:
- name: news
label: "News"
label_singular: "Article"
folder: "src/content/news"
folder: "news"
create: true
slug: "{{slug}}"
extension: md
@@ -66,7 +68,7 @@ collections:
- name: pages
label: "Pages"
label_singular: "Page"
folder: "src/content/pages"
folder: "pages"
create: true
slug: "{{slug}}"
extension: md
+2 -2
View File
@@ -30,7 +30,7 @@
--fs-s: 0.9rem;
--fs-l: 1.125rem;
--fs-xl: 1.5rem;
--fs-h1: clamp(2.25rem, 5vw, 3.5rem);
--fs-h2: clamp(1.75rem, 3.5vw, 2.5rem);
--radius: 16px;
}
@@ -52,7 +52,7 @@ a { color: var(--link); text-decoration: underline; text-underline-offset: 3px;
/* = global.css `.prose` rules, selectors unwrapped = */
body { line-height: 1.65; overflow-wrap: break-word; }
a { overflow-wrap: anywhere; }
h1 { color: var(--galaxy); font-size: var(--fs-h1); }
h1 { color: var(--galaxy); font-size: var(--fs-h2); } /* mirrors `.article h1` */
h2 { color: var(--galaxy); margin: 44px 0 12px; font-size: var(--fs-xl); }
h3 { color: var(--galaxy); margin: 30px 0 8px; font-size: var(--fs-l); }
p { margin: 0 0 16px; text-wrap: pretty; }