@import "./reset.css";
@import "./pagenation.css";

.highlighter-rouge {
    margin-top: 16px;
    margin-bottom: 16px;
}
pre.highlight {
    padding: 13px;
    white-space: pre-wrap;
    overflow: auto;
    color: #f8f8f2;
}
.highlight pre {
    background-color: #393939;
}
.highlight .hll {
    background-color: #393939;
}
.highlight pre {
    padding: 13px;
    white-space: pre-wrap;
    overflow: auto;
}
code.language-plaintext {
    background-color: lightgray;
    padding: 5px;
    border-radius: 4px;
}
:not(pre) > code {
    background-color: lightgray;
    padding: 2px 4px;
    border-radius: 4px;
}

body {
    _font-family: "Noto", sans-serif;
    font-family:
        -apple-system, BlinkMacSystemFont, "Hiragino Sans", "Noto Sans JP",
        "Segoe UI", sans-serif;
    font-size: 1.06rem;
    background-color: #eee;
    color: #333;
    min-height: 100%;
    width: 100%;
    line-height: 2em;
}
h1 {
    margin: 16px 0;
    font-size: 2rem;
    font-weight: 500;
}
h2 {
    margin: 16px 0;
    color: #5f110d;
    font-size: 1.6rem;
    font-weight: 500;
}
h3 {
    margin-top: 80px;
    margin-bottom: 16px;
    font-size: 1.5rem;
    border-bottom: 1px solid #bbb;
    font-weight: 500;
}
h4 {
    font-size: 1.4rem;
    margin-top: 32px;
    margin-bottom: 8px;
    font-weight: 500;
}
h5 {
    font-size: 1.25rem;
    margin-top: 20px;
    margin-bottom: 8px;
    font-weight: 500;
}
strong {
    font-weight: bold;
}
.mkcontent,
article {
    a {
        color: #044c9f;
        text-decoration: none;
        font-weight: 600;
    }
    a:hover {
        text-decoration: underline;
    }
    li::marker {
        content: "- ";
        font-weight: 600;
    }
    li {
        padding-left: 0.5em;
    }
}

hr {
    margin: 24px 48px;
    border: 1px solid #cfcfcf;
}
img {
    margin: 16px auto;
    border: 1px solid #ccc;
    box-shadow: 0 0 16px 0 rgba(0, 0, 0, 0.2);
}
ol > li {
    list-style-type: decimal;
}
.container {
    display: flex;
    flex-direction: column;
    max-width: 1024px;
    width: 95%;
    height: 100vh;
    margin: 0 auto;
    padding: 8px 8px;
}
header {
    text-align: center;
    margin: 0 auto;
}
blockquote {
    margin: 16px 0;
    padding: 16px;
    border-left: 5px solid #ccc;
    background-color: #fafafa;
    color: #333;
}
#menu {
    display: flex;
    justify-content: center;
    margin: 0 auto;
    width: 95%;
}
#menu div.menu-item {
    flex: 1;
    box-sizing: border-box;
    border: 1px solid #eee;
    border-bottom: 1px solid #bbb;
    margin: 16px 8px;
    padding: 8px 8px;
    font-size: 1.25rem;
    height: 48px;
    width: 90px;
}
#menu div.menu-item:hover {
    border: 1px solid #bbb;
    box-shadow: inset 1px 1px gray;
}
#menu a {
    text-decoration: none;
}
#menu a div.menu-item.active {
    border-bottom: 2px double;
}

li {
    list-style-type: disc;
    margin-left: 2em;
}
ul.blog-list > li {
    list-style-type: none;
    margin-left: 0;
}
.article-title {
    color: #5f110d;
}
h2.atlist {
    margin: 16px 0;
}
.article-date {
    font-weight: 600;
    font-size: 1rem;
    margin-bottom: 8px;
    color: #44565c;
}
ul.blog-list .article-date {
    margin: 8px 0px;
}
main {
    margin-bottom: 16px;
    flex: auto;
    a {
        color: #1e50a2;
    }
}
article {
    padding: 8px 8px 16px 8px;
    margin-bottom: 72px;
}
a.article-list-item {
    text-decoration: none;
    color: #333;
    height: 100%;
}
a.article-list-item article:hover {
    border: 1px solid #bbb;
    box-shadow: inset 1px 1px gray;
}
.article-list-item .article-cont {
    width: 100%;
    text-overflow: ellipsis;
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin: 0 16px;
}
footer {
    text-align: center;
    height: 128px;
    margin-top: 16px;
    padding: 32px;
    a {
        text-decoration: none;
        margin-left: 10px;
        margin-right: 10px;
    }
    a:hover {
        text-decoration: underline;
    }
}
.page-title {
    color: #5f110d;
}

@media screen and (min-width: 600px) {
    .highlight pre {
        padding: 13px;
        width: 95%;
        margin: 16px auto;
    }
    h1 {
        margin: 24px 0;
        font-size: 2.5rem;
    }
    h2 {
        font-size: 2rem;
    }
    .container {
        padding: 8px 16px;
    }
    #menu div.menu-item {
        margin: 32px 24px;
        padding: 8px 16px;
        font-size: 24px;
        height: 54px;
        width: 120px;
    }
    .article-list-item article {
        border: 1px solid #eee;
        border-bottom: 1px solid #bbb;
        padding: 8px 32px 24px 32px;
    }
}
