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:
@@ -0,0 +1,21 @@
|
||||
<!doctype html>
|
||||
<!-- Screenshot probe: headless Chrome clamps --window-size below ~500px, so a
|
||||
fixed-width iframe gives a true narrow layout viewport. Copied into dist/
|
||||
by shoot.sh; not part of the site. -->
|
||||
<meta charset="utf-8">
|
||||
<title>probe</title>
|
||||
<style>html,body{margin:0;background:#b0b4c0}iframe{border:0;display:block}</style>
|
||||
<script>
|
||||
var q = new URLSearchParams(location.search);
|
||||
var f = document.createElement('iframe');
|
||||
f.src = q.get('p') || '/';
|
||||
f.style.width = (q.get('w') || 390) + 'px';
|
||||
f.style.height = (q.get('h') || 2000) + 'px';
|
||||
f.onload = function () {
|
||||
var s = +(q.get('s') || 0);
|
||||
// behavior:instant — the site sets scroll-behavior:smooth, which would
|
||||
// leave the screenshot mid-animation
|
||||
if (s) f.contentWindow.scrollTo({ top: s, behavior: 'instant' });
|
||||
};
|
||||
document.addEventListener('DOMContentLoaded', function () { document.body.appendChild(f); });
|
||||
</script>
|
||||
Reference in New Issue
Block a user