@layer theme { /* without this a page prints the dark chrome and only ONE page (shell is 100svh, * overflow:hidden). No !important: a chrome rule is beaten on SPECIFICITY, (0,4,0) over (0,3,1). */ @media print { /* theme layer outranks every tokens-layer palette block without naming data-darkmode */ :root { --fs-bg: #fff; --fs-panel: #fff; --fs-panel2: #f4f4f4; --fs-text: #000; --fs-dim: #333; --fs-faint: #555; --fs-border: #bbb; --fs-track: #ddd; --fs-shadow-pop: none; --fs-bar-bg: #fff; } /* nav/search/actions unusable on paper; Appearance is a PAGE now, stays and prints */ .fs-sidebar.fs-sidebar.fs-sidebar.fs-sidebar, .fs-skip.fs-skip, .fs-search-ov.fs-search-ov, .cbi-page-actions.cbi-page-actions, .cbi-tabmenu.cbi-tabmenu, footer { display: none; } /* undoes the sidebar layout's scroll frame, the ONE-page bug above */ .fs-shell.fs-shell.fs-shell.fs-shell { height: auto; overflow: visible; } .fs-main.fs-main.fs-main.fs-main { height: auto; overflow: visible; } .fs-content.fs-content { max-width: none; padding: 0; } /* same element as 15-wallpaper.css, later in the layer */ .fs-pattern.fs-pattern { display: none; } /* the uploaded photo — ink, not decoration, on paper (16-login-bg.css) */ :root[data-wallpaper="file"] :is(.fs-shell, body:not(:has(.fs-shell))) { background-image: none; } .cbi-section { break-inside: avoid; } } }