Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/trueberryless/ai-disclosure. A practical guide for transparent AI usage disclosure across software ai-disclosure.trueberryless.org
Something went wrong. Try again.
6.7 kB · 384 lines
CSS
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385:root { --bg: #dce0e8; --page-bg: #dce0e8; --fg: #4c4f69; --muted: #6c6f85; --border: #bcc0cc; --link: #1e66f5; --panel: #ccd0da; --hero: #bcc0cc; --ring: #7287fd;}
@media (prefers-color-scheme: dark) { :root[data-theme-mode="system"] { --bg: #11111b; --page-bg: linear-gradient( 180deg, #090d18 0%, #0f1220 28%, #11111b 58%, #11111b 100% ); --fg: #b9c2df; --muted: #8d98b6; --border: #3a3d52; --link: #7ea7f7; --panel: #141520; --hero: #1e1e2e; --ring: #9ea9ff; }}
:root[data-theme-mode="light"] { --bg: #dce0e8; --page-bg: #dce0e8; --fg: #4c4f69; --muted: #6c6f85; --border: #bcc0cc; --link: #1e66f5; --panel: #ccd0da; --hero: #bcc0cc; --ring: #7287fd;}
:root[data-theme-mode="dark"] { --bg: #11111b; --page-bg: linear-gradient( 180deg, #090d18 0%, #0f1220 28%, #11111b 58%, #11111b 100% ); --fg: #b9c2df; --muted: #8d98b6; --border: #3a3d52; --link: #7ea7f7; --panel: #141520; --hero: #1e1e2e; --ring: #9ea9ff;}
* { box-sizing: border-box;}
html,body { margin: 0; padding: 0; min-height: 100%; background: var(--page-bg); color: var(--fg); font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, Apple Color Emoji, Segoe UI Emoji; line-height: 1.65; overflow-x: hidden;}
main { max-width: 860px; margin: 0 auto; padding: 0 1.25rem 4rem;}
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0;}
.theme-control { border: 1px solid var(--border); border-radius: 999px; padding: 0.25rem 0.6rem; background: color-mix(in srgb, var(--panel) 92%, transparent); color: var(--fg); font-size: 0.9rem;}
.theme-control:focus-visible { outline: 2px solid var(--ring); outline-offset: 2px;}
h1,h2,h3 { line-height: 1.25; margin-top: 2rem; margin-bottom: 0.8rem;}
h1 { margin-top: 0; font-size: clamp(2rem, 5vw, 3rem); letter-spacing: -0.02em;}
p,ul,ol,blockquote,pre { margin: 0.9rem 0;}
ul,ol { padding-left: 1.4rem;}
a { color: var(--link); text-underline-offset: 0.15em;}
strong { font-weight: 650;}
blockquote { margin: 1.1rem 0; border-left: 4px solid var(--ring); padding: 0.35rem 0 0.35rem 0.9rem; color: var(--muted);}
blockquote p { margin: 0.2rem 0;}
code { font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, Liberation Mono, Courier New, monospace; border: 1px solid var(--border); border-radius: 6px; font-size: 0.92em;}
:not(pre) > code { padding: 0.12rem 0.36rem; background: color-mix(in srgb, var(--panel) 85%, transparent);}
.hero { --hero-content-width: min(70ch, calc(100vw - 2.5rem)); position: relative; width: 100vw; margin: 0 0 3.5rem calc(50% - 50vw); min-height: 68svh; padding: clamp(1.5rem, 3.5vw, 2.8rem); display: flex; flex-direction: column; justify-content: center; align-items: center; background: linear-gradient(180deg, #e9edf6 0%, #d4dae8 100%); text-align: left; color: #1f2430;}
.hero::after { content: none;}
.hero-header { display: flex; align-items: center; justify-content: space-between; gap: 0.8rem; width: var(--hero-content-width); margin-bottom: 1rem;}
.hero-header h1 { color: #1a2031; margin-bottom: 0;}
.hero p { color: #37415f; margin: 0.2rem 0; width: var(--hero-content-width); max-width: 100%;}
.expressive-code { margin: 1rem 0;}
details { margin: 0; border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); overflow: hidden;}
details + details { border-top: 0;}
details > summary { cursor: pointer; list-style: none; font-weight: 650; padding: 0.75rem 1.4rem 0.75rem 0; position: relative;}
details > summary::-webkit-details-marker { display: none;}
details > summary::after { content: "+"; position: absolute; right: 0; top: 50%; transform: translateY(-50%); color: var(--muted); font-weight: 500; font-size: 1.1rem;}
details[open] > summary::after { content: "−";}
details > *:not(summary) { margin: 0; padding: 0 0 0.8rem; color: var(--muted);}
.site-disclosure { margin-top: 2.5rem; margin-bottom: 0.5rem; text-align: center; color: var(--muted); font-size: 0.9rem;}
:root[data-theme-mode="dark"] .hero { background: linear-gradient(180deg, rgb(8 11 20 / 82%), rgb(4 6 12 / 92%)), url("/og.png"); background-size: cover; background-position: center; color: #edf2ff;}
:root[data-theme-mode="dark"] .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(140px, 24svh, 320px); pointer-events: none; background: linear-gradient( 180deg, rgb(17 17 27 / 0%) 0%, rgb(17 17 27 / 18%) 42%, rgb(17 17 27 / 46%) 68%, var(--bg) 100% );}
:root[data-theme-mode="dark"] .hero-header h1 { color: #f8fbff;}
:root[data-theme-mode="dark"] .hero p { color: rgb(237 242 255 / 92%);}
:root[data-theme-mode="dark"] .hero .theme-control { color: #eef3ff; border-color: rgb(255 255 255 / 45%); background: rgb(10 14 24 / 48%); backdrop-filter: blur(4px);}
@media (prefers-color-scheme: dark) { :root[data-theme-mode="system"] .hero { background: linear-gradient(180deg, rgb(8 11 20 / 82%), rgb(4 6 12 / 92%)), url("/og.png"); background-size: cover; background-position: center; color: #edf2ff; }
:root[data-theme-mode="system"] .hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: -1px; height: clamp(140px, 24svh, 320px); pointer-events: none; background: linear-gradient( 180deg, rgb(17 17 27 / 0%) 0%, rgb(17 17 27 / 18%) 42%, rgb(17 17 27 / 46%) 68%, var(--bg) 100% ); }
:root[data-theme-mode="system"] .hero-header h1 { color: #f8fbff; }
:root[data-theme-mode="system"] .hero p { color: rgb(237 242 255 / 92%); }
:root[data-theme-mode="system"] .hero .theme-control { color: #eef3ff; border-color: rgb(255 255 255 / 45%); background: rgb(10 14 24 / 48%); backdrop-filter: blur(4px); }}
@media (max-width: 640px) { .hero-header { flex-direction: column; align-items: flex-start; justify-content: flex-start; }
.hero { min-height: 62svh; margin-bottom: 2.1rem; padding: 1.25rem; }
.hero::after { height: clamp(96px, 16svh, 180px); }}