feat: portal IA per spec (home entry point, /news, /proposals+redirect, /support), live search + suggestions, article TOC, mobile disclosure menu, CMS preview styles, modernization pass 1

This commit is contained in:
ctao
2026-07-24 23:00:07 +02:00
parent 11e7eb484f
commit cf35739a64
17 changed files with 627 additions and 231 deletions
+24
View File
@@ -0,0 +1,24 @@
/* Entry-preview styles for the Sveltia editor (registered via the officially
supported CMS.registerPreviewStyle API). Mirrors the portal's article look
so editors see roughly what readers will see. Kept intentionally tiny. */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@400..700&family=Space+Grotesk:wght@500..700&display=swap");
body {
font-family: "Inter", Arial, system-ui, sans-serif;
color: #101228;
line-height: 1.65;
max-width: 70ch;
margin: 0 auto;
padding: 24px;
}
h1, h2 { font-family: "Space Grotesk", "Inter", sans-serif; color: #00004a; }
h3, h4 { color: #00004a; }
a { color: #0057c2; }
img { max-width: 100%; height: auto; border-radius: 16px; }
blockquote {
margin: 22px 0; padding: 12px 20px;
border-left: 3px solid #00e4d8; background: #f5f5f5;
}
table { width: 100%; border-collapse: collapse; }
th, td { padding: 10px 12px; border-bottom: 1px solid #e2e5ee; text-align: left; }
thead th { border-bottom: 2px solid #00e4d8; color: #00004a; }