@use "blog.variable.module.scss" as blog; $title-font-color: #FFFFFF; $title-font-size: 1.8rem; $sub-title-font-size: 1rem; .blog-aside { .top-container { width: 100%; display: grid; grid-template-rows: 2fr 3fr; .title-container { background-color: blog.$theme-color; border-top-left-radius: 15px; border-top-right-radius: 15px; display: grid; grid-template-rows: 1fr 1fr; justify-items: center; align-items: center; padding: 10px; .title { color: $title-font-color; font-size: $title-font-size; } .sub-title { font-family: "华文楷体", serif; font-size: $sub-title-font-size; text-align: center; line-height: 150%; } } .blog-menu-container { height: 95%; display: grid; grid-template-rows: repeat(4, 1fr); align-items: center; .el-menu-item { height: 5vh; gap: 0.5vw; font-size: blog.$normal-font-size; .menu-title { } .value { position: absolute; right: 10%; line-height: 2vh; background-color: blog.$normal-bg-color; padding: 2px; border: solid 1px blog.$normal-bg-color; border-radius: 15px; color: white; font-size: blog.$small-font-size; font-family: "Times New Roman",serif; } } } } .blog-summary { // padding: 2vh 1vw; display: flex; flex-direction: column; align-items: center; gap: 1vh; .blog-summary-tab { margin-top: 1vh; height: 5vh; display: flex; align-items: center; gap: 1vw; span { font-size: blog.$small-font-size; } span:hover { color: #FC6423; cursor: pointer; } .tab-active { color: #FC6423; text-decoration: underline; text-underline-offset: 0.5em; } } .blog-brief { height: 100%; width: 100%; display: grid; grid-template-rows: 150px 50px 50px 1fr; justify-items: center; align-items: center; gap: 1vh; .avatar { padding: 1vh 1vw; display: grid; grid-template-rows: 100px 1fr; justify-items: center; align-items: center; gap: 1vh; img { width: 100px; height: 100px; border-radius: 50%; transition: all 2.0s; cursor: pointer; } img:hover { transform: rotate(360deg); } span { font-weight: bold; } } .info { display: grid; grid-template-columns: 1fr 1fr; justify-items: center; align-items: center; gap: 1vw; .item { display: grid; grid-template-rows: 1fr 1fr; justify-items: center; align-items: center; gap: 5px; cursor: pointer; .name { color: blog.$gray-text-color; } .name:hover { color: blog.$hover-text-color; } } } .social { width: 100%; display: grid; grid-template-columns: 1fr 1fr; cursor: pointer; .item { width: 100%; padding: 5px; display: flex; justify-content: center; align-items: center; gap: 5px; color: blog.$normal-text-color; font-size: blog.$normal-font-size; } .item:hover { background-color: blog.$hover-bg-color; color: blog.$hover-text-color; } } .latest-blog { height: 100%; width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1vh; .title { span { margin-left: 5px; font-weight: bold; } } .blog-list { width: 100%; display: flex; flex-direction: column; align-items: center; gap: 1.5vh; cursor: pointer; span { text-align: center; text-decoration: underline; text-underline-offset: 0.1em; font-size: blog.$small-font-size; color: blog.$normal-text-color; width: 80%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } span:hover { color: blog.$hover-text-color; } } } .blog-time { width: 10vw; height: 100%; } span { font-size: blog.$normal-font-size; } } .md-editor-catalog { height: 100%; width: 100%; overflow: auto; span { word-break: break-all; white-space: normal; font-size: blog.$normal-font-size; color: #000000; } } .scroll-container { padding: 2px 0; width: 100%; border-color: blog.$border-color; border-bottom-left-radius: blog.$border-radius; border-bottom-right-radius: blog.$border-radius; background-color: #F8F9FA; text-align: center; .fa-arrow-up { color: blog.$theme-color; margin-right: 0.2vw; } span { font-size: blog.$small-font-size; color: #A19FA0; } } .scroll-container:hover { cursor: pointer; } } }