* {
    box-sizing: border-box;
}

html, body, p {
    margin: 0;
    padding: 0;
}

.layout-header {
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.layout-header > .layout-nav {
    display: flex;
    height: 60px;
    width: 980px;
    margin: 0 auto;
    align-items: center;
}

.layout-nav > a {
    margin-right: 20px;
    text-decoration: none;
    transition: color 0.2s ease !important;
    height: 30px;
    line-height: 30px;
    padding: 0 8px;
    color: #0d1117;
    position: relative;
}

.layout-nav > a::after {
    content: "";
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 0;
    left: 0;
    background: #0d6efd;
    transition: width 0.3s ease;
}

.layout-nav > a:hover {
    color: #0d6efd !important;
}

.layout-nav > a:hover::after {
    width: 100%;
}

.layout-main {
    padding: 60px 0 24px;
    width: 980px;
    margin: 0 auto;
    min-height: calc(100vh - 60px);
}

.layout-footer {
    height: 60px;
    line-height: 58px;
    overflow: hidden;
    /*box-shadow: 0 0 10px rgba(0, 0, 0, .1);*/
    /*border-top: 1px solid #d8dee4;*/
    border-top: 1px solid hsla(210,18%,87%,0.6);
}

.layout-footer-content {
    width: 980px;
    height: 100%;
    margin: 0 auto;
}

.beian-link {
    font-size: 14px;
    text-decoration: none;
    color: inherit;
}

.beian-link:hover {
    color: #1f6feb;
}

@media screen and (max-width: 700px) {
    .layout-header > .layout-nav {
        width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }
    .layout-footer-content {
        width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }
    .layout-main {
        width: 100%;
        padding-left: 24px;
        padding-right: 24px;
    }
}

/*body {*/
/*    background: #F0EFE2;*/
/*}*/

/*.markdown-body {*/
/*    background: #F0EFE2!important;*/
/*}*/