~ knotless Search/
↑↓ move↵ open⇧↵ all results

zat.dev/zds

atproto pds · mirror of https://tangled.org/zat.dev/zds

0
0
38 lines · 2.4 KB Raw History
/* paper skin, shared layer: cream paper sheets resting on a green ground.
   Loaded after a page's own stylesheet, so it only restates tokens and
   surfaces; it never changes markup, behavior or what a page shows. No images
   or scripts are fetched: the ground's grain is one inline SVG tile. The only
   font is the operator's ZDS_WEB_FONT, served from this origin as "zds sans". */
:root{--paper-sans:"zds sans",system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",Roboto,"Helvetica Neue",sans-serif}
:root,html[data-theme]{
  color-scheme:light;
  --ground:#5e7d44;--ground-2:#6f8f52;--ground-ink:#fbfaf3;--ground-ink-muted:#e4ead9;
  --paper:#f6f4ee;--paper-2:#ebe8e0;--paper-edge:#d2cbbb;--paper-field:#fcfbf7;
  --ink:#232328;--ink-muted:#5d5d65;--ink-faint:#66645d;--rule:#ddd7cb;
  --leaf:#0b6bd6;--leaf-edge:#0853a6;--leaf-ink:#ffffff;
  --cast:rgba(22,34,14,.42);
  --lift:6px;
  --grain:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3CfeColorMatrix values='0 0 0 0 0 0 0 0 0 .08 0 0 0 0 0 0 0 0 .55 0'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.5'/%3E%3C/svg%3E");
}
@media (prefers-color-scheme:dark){:root:not([data-theme="light"]){
  --ground:#1f2b20;--ground-2:#2b3b2c;--ground-ink:#eef0e6;--ground-ink-muted:#b9c2b1;
  --paper:#e9e5da;--paper-2:#ddd8cb;--paper-edge:#a9a190;--paper-field:#f1eee6;
  --cast:rgba(0,0,0,.6);
}}
html[data-theme="dark"]{
  --ground:#1f2b20;--ground-2:#2b3b2c;--ground-ink:#eef0e6;--ground-ink-muted:#b9c2b1;
  --paper:#e9e5da;--paper-2:#ddd8cb;--paper-edge:#a9a190;--paper-field:#f1eee6;
  --cast:rgba(0,0,0,.6);
}
html{background:var(--ground)}
body{
  background:
    radial-gradient(ellipse 70% 55% at 18% 8%,color-mix(in srgb,var(--ground-2) 80%,#fff 8%),transparent 70%),
    radial-gradient(ellipse 60% 50% at 92% 96%,color-mix(in srgb,var(--ground-2) 70%,transparent),transparent 70%),
    var(--ground);
}
/* One static grain layer instead of animated, blurred light. */
body::before{content:"";position:fixed;inset:0;z-index:0;pointer-events:none;background:var(--grain);opacity:1;filter:none;transform:none;animation:none}
body::after{content:none;animation:none}
@media (forced-colors:active){body::before{display:none}}
::selection{background:color-mix(in srgb,var(--leaf) 24%,transparent)}