body {
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    margin:0em auto;
    max-width:40em;
    padding:0 .62em;
    font:1.2em/1.62 sans-serif;
}

/*
 * Set monospace text to be the same size as regular text.
 * https://mkhl.codeberg.page/monospace-font-size/
 */
code {
    font-family: 'does not exist', monospace;
}

#content {
    max-width: 40em;
    margin: 0 auto;
}

h1,h2,h3 {
    text-align: left;
}

code {
    hyphens: none;
}

pre.sourceCode {
    padding: 1% 2%;
}

img {
    width: 100%;
}

figcaption {
    text-align: center;
}

a {
    color: #4F74C1;
    hyphens: none;
}

form {
    text-align: center;
    font: inherit;
}

input[type="text"] {
    border: none;
    border-bottom: solid 1px #4F74C1;
    font: inherit;
}

h1,h2,h3 {
    line-height:1.2;
}

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

.footer {
    text-align: center;
}

div.tldr {
    background: #f2f2f2;
    padding: 1em 1.4em;
    margin: 2em;
    border-radius: 10px;
    outline: solid 1px #aaaaaa;
}

div.tldr::before {
    content: 'TLDR';
    color: grey;
}

div.tldr :last-child {
    margin-bottom: 0px;
}

div.tldr :first-child {
    margin-top: 0px;
}

figure {
    text-align: center;
}

img.nr-card {
    max-height: 50%;
    max-width: 40%;
    margin: 0 1%;
    /* stolen from NRDB, e.g. https://netrunnerdb.com/en/card/35002 */
    border-radius: 4.19%/3%;
}
