body {
    height: 100vh;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background-image: url("/static/image/neko4_n08a.webp");
    background-size: cover;
    background-attachment: fixed;
    margin: 0px;
}

#profile{
    height: 47px;
    width: 47px;
    margin: 1.5px 3px 1.5px 10px;
}

#blog-title{
    height: 100%;
    display: flex;
    align-items: center;
    color: white;
    border-right: 1px solid white;
    margin:0px;
    padding: 0px 10px 2px 10px;
    font-size: 26px;
    transform: translateY(-1px);
}

.navigation{
    height: 100%;
    display: flex;
    align-items: center;
    margin: 0px;
    color: white;
    border-right: 1px solid white;
    padding: 0px 10px 0px 10px;
    font-size: 20px;
}

.navigation:hover{
    background-color: rgb(30, 30, 30);
}

#navigation-div{
    height: 50px;
    width: 100%;
    display: flex;
    flex-direction: row;
    background-color: rgb(66,66,66);
    flex-shrink: 0
}

#content{/*用于存放所有操作内容的容器*/
    width: 100%;
    flex-grow: 1;
    overflow-y: auto;
}

#articles-container{
    width: 70%;
    min-height: 100%;
    margin-left: 15%;
    margin-right: 15%;
    display: flex;
    flex-direction: column;
}

.article_div{/*用于存放单个文章信息的容器*/
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    height: 150px;
    width: 100%;
    border-bottom: 1px solid black;
    margin: 0%;
    background-color: rgba(255, 255, 255, 0.8);
}

.article_div:hover{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    height: 150px;
    width: 100%;
    border-bottom: 1px solid black;
    margin: 0%;
    background-color: rgba(236, 236, 236, 0.8);
}

a{
    text-decoration: none;
    color: black;
}

a:active{
    text-decoration: none;
}

.imgcontainer{/*用于存放图片的容器*/
    height: 130px;
    width: 231px;
    margin: 10px 10px 10px 10px;
    border: 2px solid black;
}

.imgcontainer img{ /*图片裁剪至规定大小*/
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.article-data{/*文章详细信息，用于使发布日期没有margin*/
    display: inline-block;
    margin-left: 20px;
    color: grey;
}

.article-data:first-of-type{/*同article_data*/
    margin-left: 0;
}

#button-bar{
    height: 80px;
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.8);
}

#placeholder{
    width: 100%;
    flex-grow: 1;
    background-color: rgba(255, 255, 255, 0.8);
}

#page-info{
    grid-column: 2 / 3;
    justify-self: center;
}

#previous{
    grid-column: 1 / 2;
    justify-self: end;
    transform: translateX(-20px);
}

#next{
    grid-column: 3 / 4;
    justify-self: start;
    transform: translateX(20px);
}
