
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:ital,wght@0,400;0,700;1,400;1,700&family=Noto+Sans:ital,wght@0,400;0,700;1,400;1,700&display=swap');

body {
    font-family: "JetBrains Mono", Verdana, sans-serif;
    margin: auto;
    padding: 20px;
    max-width: 720px;
    text-align: left;
    background-color: #fff;
    word-wrap: break-word;
    overflow-wrap: break-word;
    line-height: 1.5;
    color: #444;
}

h1, h2, h3, h4, h5, h6, strong, b {
    color: #222;
}

header a {
    color: #444;
}

header::after {
    display: block;
    width: 36%;
    border-top: 1px solid #999;
    content: "";
    padding: 0.4em 0;
}


a {
    color: #3273dc;
}

.title {
    text-decoration: none;
    border: 0;
}

.title span {
    font-weight: 400;
}

.bear::before {
    content: "ᕦʕ •ᴥ•ʔᕤ";
    font-weight: 400;
}

.bear:hover::before {
    content: "ᕙʕ ಠᴥಠʔᕗ";
    font-weight: 400;
}

nav a {
    margin-right: 10px;
}

textarea {
    width: 100%;
    font-size: 16px;
}

input:not([type="submit"]) {
    font-size: 16px;
}

textarea, input:not([type="submit"]) {
    background-color: inherit;
    color: inherit;
    border: 1px dashed;
    padding: 3px;
}

content {
    line-height: 1.6;
}

table {
    width: 100%;
}

img {
    max-width: 100%;
}

code {
    padding: 2px 5px;
    background-color: #f2f2f2;
}

pre {
    color: #222;
    display: block;
    padding: 20px;
    white-space: pre-wrap;
    font-family: "JetBrains Mono", monospace;
}

blockquote {
    border-left: 1px solid #999;
    color: #222;
    padding-left: 20px;
    font-style: italic;
}

footer {
    padding: 25px;
    text-align: center;
    font-size: smaller;
}

footer::before {
    display: block;
    width: 36%;
    border-top: 1px solid #999;
    content: "";
    margin: 0 auto;
    padding: 0.4em 0;
}

.helptext {
    color: #777;
    font-size: small;
}

.errorlist {
    color: #eba613;
    font-size: small;
}

#id_favicon {
    width: 20px;
    text-align: center;
}

#date-range, #initial-values {
    display: none;
}

#date-range:target, #initial-values:target {
    display: block;
}

/* dashboard post list*/

ul.post-list {
    list-style-type: none;
    padding: unset;
}

ul.post-list li {
    display: flex;
    padding: 10px 0;
    border-bottom: 1px dashed;
}

ul.post-list li span {
    flex: 0 0 130px;
}

ul.post-list li span.number {
    flex: 0 0 50px;
}

ul.post-list li a {
    flex: max-content;
}

ul.post-list li small {
    text-align: right;
    flex: 0 0 115px;
}

/* blog posts */

ul.blog-posts {
    list-style-type: none;
    padding: unset;
}

ul.blog-posts li {
    display: flex;
}

ul.blog-posts li span {
    flex: 0 0 130px;
}

ul.blog-posts li a:visited {
    color: #8b6fcb;
}

@media (prefers-color-scheme: dark) {
    body {
        background-color: #01242e;
        color: #ddd;
    }
    h1, h2, h3, h4, h5, h6, strong, b {
        color: #eee;
    }
    a {
        color: #8cc2dd;
    }
    code {
        background-color: #777;
    }
    pre code {
        color: #ddd;
    }
    blockquote {
        color: #ccc;
    }
    .helptext {
        color: #aaa;
    }
}