[back]

/* ページ全体のcss */

body { 
    width: calc(100% - 52px);
    font-family: "Helvetica", "Arial", "Hiragino Sans", "Hiragino Kaku Gothic ProN", "Verdana", "Yu Gothic", "Meiryo", sans-serif; 
    margin: 20px 32px;
}
p { 
    font-size: 18px;
    margin-left: 24px;
    width: 710px;
    overflow-wrap: break-word;
    line-height: 120%;
    /* 後でいい感じになんとかする。しろ */
    white-space: pre-wrap;
}
h2 { 
    font-size: 28px;
    font-weight: 400;
    margin: 4px 0px;
}
h3 {
    font-size: 22px;
    font-weight: 400;
    margin: 0px;
}
pre {
    display: inline-block;
    padding: 12px;
    width: fit-content;
    margin-left: 24px;
    background-color: #202226;
}
code {
    font-size: 18px;
    display: inline-block;
    color: whitesmoke;
    background-color: #202226;
}
img {
    width: 80%;
}
.time {
    width: 450px;
    font-size: 14px;
    text-align: right;
}
.navi {
    font-size: 16px;
    font-family: monospace;
    font-weight: 500;
}
h6.debug {
    font-size: 12px;
    font-weight: 280;
    color: #626288;
}

div.nav-search {
    width: 750px;
    display: flex;
    justify-content: right;
    align-items: center;
}
.search-input-bar {
    width: auto;
    height: 30px;
    padding: 6px;
    border: 2px solid #8989aa;
    border-radius: 0px;
    vertical-align: middle;
}
.search-input-bar:focus {
    outline: 0;
    border: 2px solid #3456ce;
}
.search-confirm-button {
    width: 48px;
    height: 30px;
    border-radius: 2px;
    vertical-align: middle;
}

@media (max-width: 800px) {
    body { 
        width: calc(100% - 40px);
        margin: 20px 20px;
    }
    p { 
        font-size: 16px;
        line-height: 150%;
        margin-left: 12px;
        width: 95%;
    }
    h2 { 
        font-size: 25px;
        margin: 0px;
    }
    h3 {
        font-size: 20px;
        margin: 0px;
    }
    pre {
        width: 95%;
        margin-left: 12px;
    }
    img {
        width: 100%;
    }
    .time {
        width: 95%;
    }
    div.nav-search {
        width: auto;
    }
}