[back]

/* 日記ページ用 */

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%;
    /* 後でいい感じになんとかする。しろ */
    padding: 16px;
    background-color: #f2f2f9;
    white-space: pre-wrap;
}
br {
    line-height: 0%;
}
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;
}
.space {
    margin: 8px;
}
.navi {
    font-size: 16px;
    font-family: monospace;
    font-weight: 500;
}
h6.debug {
    font-size: 12px;
    font-weight: 280;
    color: #626288;
}

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