body {
    font-size: 16px;
    width: 800px;
    margin-right: auto;
    margin-left: auto;
    line-height: 1.5;
    font-family:
        system-ui,
        -apple-system,
        Helvetica,
        sans-serif;
    word-wrap: break-word;
    overflow: auto;
    list-style: none;
    padding: 0 32px 32px 32px;
}

blockquote {
    margin-left: 0;
    margin-right: 0;
    border-radius: 3px;
}

blockquote p {
    padding: 0.2rem 0.6rem;
}

code {
    font-family: SFMono-Regular, Consolas, Menlo, monospace;
    border-radius: 3px;
    font-size: 85%;
    margin: 0;
    padding: 0.2em 0.4em;
    white-space: pre-wrap;
}

h1 {
    margin-bottom: 2rem;
}

p {
    margin-bottom: 8px;
}

pre {
    font-family: SFMono-Regular, Consolas, Menlo, monospace;
    margin-bottom: 0;
    margin-top: 0;
    word-break: normal;
    border-radius: 5px;
    font-size: 85%;
    line-height: 1.45;
    overflow: auto;
    padding: 14px;
}

ul {
    padding-left: 1em;
}

.bar {
    line-height: 30px;
    background: #f5eccd;
    font-size: 10pt;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    border-radius: 3px;
    padding: 0 10px 0 10px;
}
.contents {
    padding-top: 1em;
}

.contents_list {
    columns: 2;
    /*  -webkit-columns: 2;*/
    /*  -moz-columns: 2;*/
    /*  list-style-position: inside;*/
    /*  margin-bottom: 2rem;*/
    list-style: none;
}

.link {
    font-weight: 500;
}

.tags {
    vertical-align: 1px;
    border-radius: 3px;
    font-family: monospace;
    font-size: 70%;
    margin: 0;
    padding: 0.2em 0.4em;
    white-space: pre-wrap;
}

.tools {
    padding-left: 1em;
}

@media (prefers-color-scheme: dark) {
    a {
        /*color: #8ab4f8;*/
        color: #77a8fd;
    }

    blockquote {
        border-left: 0.25em solid #5f656c;
    }

    body {
        background-color: #171717;
        /*background-color: #1f1f1f;*/
        /*background-color: #1c1b22;*/
        color: #bfbfbf;
    }

    code {
        background-color: #343534;
    }

    h2 {
        border-bottom: 1px solid #353940;
    }

    pre {
        /* background-color: #272b33; */
        background-color: #262626;
    }

    .bar p {
        color: black;
    }

    .tags {
        background-color: #343534;
    }
}

@media (prefers-color-scheme: light) {
    a:link,
    a:hover,
    a:visited {
        color: #0000ee;
    }

    blockquote {
        border-left: 0.25em solid lightgray;
    }

    code {
        background-color: rgba(27, 31, 35, 0.05);
    }

    h2 {
        border-bottom: 1px solid #eaecef;
    }

    pre {
        background-color: #f9f9f9;
    }

    .tags {
        background-color: #f0f1f5;
    }
}

@media (max-width: 800px) {
    body {
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 500px) {
    ul.contents_list {
        columns: 1;
    }
}
