8 lines
857 B
CSS
8 lines
857 B
CSS
/* thirdculture.diy only: terminal grammar on top of tc.css */
|
|
article h2::before { content: '// '; color: var(--text-secondary); }
|
|
article ol { list-style: none; counter-reset: step; padding-left: 0; }
|
|
article ol > li { counter-increment: step; padding-left: 3.2em; position: relative; }
|
|
article ol > li::before { content: '[' counter(step, decimal-leading-zero) ']'; position: absolute; left: 0; color: var(--color-accent); font-family: var(--font-ui); }
|
|
header h1 .siteTitle::after { content: '_'; margin-left: .1em; color: var(--color-accent); animation: caret 1.1s steps(1) infinite; }
|
|
body > nav a .dt::before { display: inline-block; width: 1.1em; height: 1.1em; margin-right: .35em; vertical-align: -.2em; background: center / contain no-repeat; }
|
|
body > nav a[href="/"] .dt::before { content: ''; background-image: url(/_werc/pub/imgs/tcl2.svg); }
|