@import url('https://fonts.googleapis.com/css2?family=Share+Tech+Mono&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Source+Code+Pro&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Roboto&display=swap');

body {
    font-family: 'Source Code Pro';
    line-height: 1.6;
    color: var(--font-color-primary);
    background: var(--background-black);
    padding: 0;
    margin: 0;
    text-align: center;
    font-size: 16pt;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Share Tech Mono', monospace;
    color: var(--font-color-highlight);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; font-weight: bold; }
h4 { font-size: 1.2rem; font-weight: bold; }

article.post p { margin: 1em 0; }
article.post ul { padding-left: 1em; }
article.post li { margin: 1em 1em; list-style: disc;}

a {
    color: var(--font-color-highlight);
    text-decoration: underline;
    word-wrap: anywhere;
}

:root {
    --font-color-primary: #aaa;
    --font-color-highlight: #fff;
    --content-max-width: 1200px;
    --phone-max-width: 768px;
    --background-black: #111;
    --background-light: #1b1b1b;
    --background-highlight: #222;
}

article.post {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 0 20px 20px 20px;
    text-align: left;
}

article.post header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

article.post header time {
    margin-right: auto;
}

article.post header div {
    margin-left: auto;
}
article.post img {
    display: block;
    width: 80%;
    margin: auto;
    max-height: 70vh;
    object-fit: contain;
}


article.post code {
    background-color: var(--background-highlight);
    word-wrap: anywhere;
}
article.post pre code { background-color: inherit; }

@media (max-width: 768px) {
    body { font-size: 12pt; }
}