/* nerd theme
   A dead-simple personal page in old link-aggregator colours: beige paper, black Verdana,
   grey for dates, one orange stripe. Everything is one narrow column. */

:root {
    --orange: #ff6600;
    --paper: #f6f6ef;
    --ink: #000000;
    --grey: #828282;
    --rule: #d8d8cc;
}

html { background: var(--paper); }

body {
    margin: 0;
    border-top: 6px solid var(--orange);
    font-family: Verdana, Geneva, sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--ink);
}

.page {
    max-width: 640px;
    margin: 0 auto;
    padding: 28px 18px 40px;
}

a { color: var(--ink); text-decoration: underline; text-underline-offset: 2px; }
a:hover { color: var(--orange); }
a:visited { color: #555; }

h1 { margin: 26px 0 12px; font-size: 22px; }
h2 { margin: 28px 0 6px; font-size: 16px; }
h2 a { text-decoration: none; }

.nav { font-size: 13px; color: var(--grey); }
.nav a { color: var(--grey); text-decoration: none; }
.nav a:hover, .nav a.here { color: var(--orange); }

.links { font-size: 14px; }

.list { margin: 0; padding-left: 20px; }
.list li { margin: 5px 0; }
.date { font-size: 12px; color: var(--grey); white-space: nowrap; }
.note { font-size: 13px; color: #444; }

.meta { margin-top: -4px; font-size: 13px; color: var(--grey); }

/* page text */
.text { overflow-wrap: break-word; }
.text h1, .text h2, .text h3, .text h4 { margin: 26px 0 8px; }
.text h1 { font-size: 18px; }
.text h2 { font-size: 16px; }
.text h3, .text h4 { font-size: 15px; }
.text img { max-width: 100%; height: auto; }
.text .cover { margin: 6px 0 14px; }
.text code { font-family: Menlo, Consolas, monospace; font-size: 13px; }
.text pre {
    padding: 8px 10px;
    overflow-x: auto;
    background: #ecece0;
    border: 1px solid var(--rule);
    font-size: 13px;
    line-height: 1.4;
}
.text pre code { font-size: inherit; }
.text blockquote { margin-left: 0; padding-left: 12px; border-left: 3px solid var(--rule); color: #444; }
.text hr { border: 0; border-top: 1px solid var(--rule); }
.text table { border-collapse: collapse; }
.text td, .text th { padding: 3px 10px 3px 0; text-align: left; }
.anchor { display: none !important; }

.pager { margin-top: 30px; font-size: 13px; color: var(--grey); }

.foot {
    margin-top: 40px;
    padding-top: 10px;
    border-top: 1px solid var(--rule);
    font-size: 12px;
    color: var(--grey);
}
.foot a { color: var(--grey); }
.foot .themes { margin-top: 6px; }
.foot .themes b { color: var(--ink); font-weight: normal; }

/* syntax colours: barely there */
.chroma .k, .chroma .kd, .chroma .kn, .chroma .kr, .chroma .kt, .chroma .kc { font-weight: bold; }
.chroma .c, .chroma .c1, .chroma .cm { color: var(--grey); }
.chroma .s, .chroma .s1, .chroma .s2 { color: #8a3b00; }
