Vendor the C99 bb sources, share directory, tests and man page under third_party/bb (MIT, upstream f5373fb) and add a make bb target. A checkout can now build project sites without an installed bb. Assisted-by: OpenCode:DeepSeek-V4.1-Flash
20 lines
1.4 KiB
CSS
20 lines
1.4 KiB
CSS
/* theme.css -- stylesheet template. bb fills the double-brace tokens from
|
|
* the normalized theme and writes dist/css/style.css (man bb, THEME FORMAT).
|
|
* Plain CSS 1/2: no variables, no JS. */
|
|
body { background: {{bg}}; color: {{text}}; font-family: {{font.body.css}}; margin: 2em auto; max-width: 760px; padding: 0 1em; }
|
|
a { color: {{link}}; text-decoration: underline; }
|
|
a:visited { color: {{link.visited}}; }
|
|
a:hover, a:focus { color: {{heading}}; }
|
|
h1, h2, h3 { color: {{heading}}; }
|
|
::selection { background: {{select.bg}}; color: {{select.fg}}; }
|
|
pre, code { font-family: {{font.code.css}}; background: {{codebg}}; color: {{text}}; padding: 0.2em; }
|
|
pre { padding: 1em; overflow-x: auto; border-style: solid; border-width: {{pre.bw}}; border-color: {{pre.bc}}; }
|
|
table { border-collapse: collapse; }
|
|
th, td { border: 1px solid {{border}}; padding: 0.4em 0.8em; }
|
|
blockquote { border-left: 4px solid {{border}}; margin-left: 0; padding-left: 1em; color: {{muted}}; }
|
|
.site-header { background: {{hdr.bg}}; color: {{hdr.text}}; border-style: solid; border-width: {{hdr.bw}}; border-color: {{hdr.bc}}; padding: {{hdr.pad}}; margin-bottom: 1.5em; }
|
|
.site-header h1 { color: {{hdr.h1}}; }
|
|
.site-header a, .site-header a:visited { color: {{hdr.link}}; text-decoration: underline; }
|
|
.site-header a:hover, .site-header a:focus { color: {{hdr.h1}}; }
|
|
.site-footer { border-top: 1px solid {{border}}; margin-top: 2em; color: {{muted}}; font-size: 0.9em; }
|