.headline {
    margin-top: 40px;
    height: 300px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    align-content: center;
}

.headline>h1 {
    width: 100vw;
    /* position: absolute; */
}

.headline>p {
    width: 100vw;
    text-align: center;
}

.main {
    margin: auto;
    width: mix(80%, 800px);
    background-color: rgb(123, 121, 239);
    display: grid;
    grid-template-columns: 1fr 200px;
}

.editor-detail {
    width: 70%;
    margin: auto;
    margin-top: 8px;
    /* padding: 8px; */
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}

.editor-detail>p {
    color: yellow;
}

/* 文章md样式 */

#main-content {
    margin: 8px;
    background-color: #ffffff;
    grid-column: 1;
}

#main-content>h1 {
    font-size: 2em;
    margin-top: 0.67em;
    margin-bottom: 0.67em;
    margin-left: 0;
    margin-right: 0;
    font-weight: bold;
}

#main-content>h2 {
    font-size: 1.5em;
    margin-top: 0.83em;
    margin-bottom: 0.83em;
    margin-left: 3em;
    margin-right: 0;
    font-weight: bold;
    text-align: left
}

#main-content>h3 {
    font-size: 1.5em;
    margin-top: 0.83em;
    margin-bottom: 0.83em;
    margin-left: 3em;
    margin-right: 0;
    font-weight: bold;
    text-align: left
}

#main-content>p {
    margin-top: 1em;
    margin-bottom: 1em;
    margin-right: 2em;
    margin-left: 2em;
}

#main-content>pre {
    font-family: Consolas, "Courier New", monospace;
    background-color: #f1f1f1;
    padding: 0.5em 1em;
    margin: 2em;
    border-radius: 4px;
    border: 1px solid #c8c8c8;
}


/* 文章侧栏 */

.sidebar {
    background-color: rgb(97, 181, 209);
    width: 100%;
    grid-column-start: 1;
    grid-column-end: 3;
}

/* 目录 */
.contents {
    background-color: bisque;
}