/* tc.css: thirdculture tokens, type and components. Layout lives in style.css. */ :root { --color-primary: #E4F0FE; --color-secondary: #AEA3F0; --color-accent: #A4D1AD; --bg-primary: #000300; --bg-secondary: #1C202F; --text-primary: #E4F0FE; --text-secondary: #989898; --text-accent: #AEA3F0; --header-primary: #AEA3F0; --header-secondary: #A4D1AD; --header-tertiary: #A4D1AD; --header-other: #E4F0FE; --link-color: #8FC1FF; --link-hover: #E4F0FE; --border-primary: #C0CEE8; --border-secondary: #0C072C; --border-image: #000300; --code-color: #5FD27A; --header-bg: #AEA3F0; --header-text: #0C072C; --font-headers: rumeur, 'Victor Mono', ui-monospace, monospace; --font-body: abordage, verdana, sans-serif; --font-ui: abordage, vg5000, ui-monospace, monospace; --hot: #FF6AD5; --measure: none; --leading: 1.6; } body { background: repeating-linear-gradient(to bottom, rgba(228, 240, 254, .025) 0 1px, transparent 1px 3px), linear-gradient(rgba(0, 1, 2, .9), rgba(0, 1, 2, .9)), url('imgs/back.jpeg'), var(--bg-primary); background-color: var(--bg-primary); background-position: center center; background-size: auto, auto, 110vh 75vh, auto; background-repeat: repeat, repeat, repeat-y, repeat; font-size: 90%; font-family: var(--font-body); line-height: var(--leading); color: var(--text-primary); } /* links: bright at rest, brighter with a 1px chromatic split on hover, no motion */ a { color: var(--link-color); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: .2em; } a:hover { color: var(--link-hover); text-decoration-thickness: 2px; text-shadow: -1px 0 var(--color-secondary), 1px 0 var(--color-accent); } :focus-visible { outline: 2px solid var(--color-accent); outline-offset: 2px; } /* headings */ article h1, article h2 { font-family: var(--font-headers); font-weight: bold; margin: 1em 0 .5em; line-height: 1.2; } article h1 { color: var(--header-primary); font-size: xx-large; } article h2 { color: var(--header-secondary); } article h3 { color: var(--header-tertiary); font-weight: bold; margin: 2em 0 .2em; } article h4, article h5, article h6 { color: var(--header-other); font-weight: bold; margin: 2em 0 0; } /* text */ article { color: var(--text-primary); } article p, article li { color: var(--text-primary); font-size: large; } article p, article li, article blockquote, article dd { max-width: var(--measure); } article em { color: var(--text-accent); } hr { border: 0; border-top: 1px solid var(--border-primary); opacity: .5; } blockquote { font-style: italic; color: var(--color-accent); border-left: 3px solid var(--text-secondary); margin-left: 0; padding-left: 1em; } code, kbd, pre { font-family: 'Victor Mono', ui-monospace, monospace; } code { color: var(--code-color); } pre { color: var(--code-color); background: var(--bg-primary); border: 1px solid var(--border-secondary); border-left: 3px solid var(--code-color); padding: .75em 1em; overflow-x: auto; line-height: 1.45; } pre code { color: inherit; } pre.cmd code::before { content: '$ '; color: var(--text-secondary); user-select: none; } kbd { display: inline-block; padding: 0 .4em; border: 1px solid var(--text-secondary); border-bottom-width: 3px; font-size: .85em; color: var(--text-primary); background: var(--bg-secondary); } table { border-collapse: collapse; border: 1px solid color-mix(in srgb, var(--bg-secondary), transparent 50%); } th, td { padding: .3em .6em; text-align: left; } th { color: var(--text-primary); background-color: var(--bg-primary); font-family: var(--font-ui); } tr:nth-child(odd) { background-color: color-mix(in srgb, var(--bg-secondary), transparent 60%); } article img { max-width: 100%; height: auto; border: .4em solid var(--bg-primary); } img[title="main"], img[title="main2"] { display: block; width: 90%; max-width: 600px; margin: 0 auto; padding: .2em; border: .4em solid var(--bg-primary); background-color: var(--border-image); } img[title="main2"] { max-width: 400px; } /* panels: