body {
    margin: 1em auto;
    max-width: 42em;
    padding: 0 0.62em;
    font: 1.2em/1.62 sans-serif;
    color: #222;
    background-color: #f9fbf7;
}
h1,
h2,
h3 {
    line-height:1.2;
}

a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
code,
pre {
    background-color: #eee;
    color: #000;
    padding: 0 3px;
    overflow: scroll;
}

@media print {
    body {
        max-width:none;
    }
}

header h1 {
    border-color: #dc002f;
    border-width: 11px;
    border-style: solid;
    padding: 0.4em;
    text-align: center;
    margin-bottom: 0.2em;
}

header p {
    margin-top: 0;
}

figure {
    font-size: smaller;
    font-variant: small-caps;
}
figure img {
    max-width: 100%;
    height: auto;
}

.footnotes { font-size: 0.75em; }
.footnotes hr { border:1px solid #bbb; border-width:1px 0 0 0; }
.footnotes li > * { display: inline; }
.footnote-ref { font-size: 0.6em; }
.footnote-ref a::before { content: "[";}
.footnote-ref a::after { content: "]";}

footer {
    margin-top: 2em;
    font-size: smaller;
    text-align: right;
}
footer ul {
    list-style-type: none;
}
footer ul li {
    display: inline-block;
    margin-left: 1em;
}
