@charset "utf-8";

/* CSS Document */
body,
div,
dl,
dt,
dd,
ul,
ol,
li,
h1,
h2,
h3,
h4,
h5,
h6,
pre,
form,
fieldset,
input,
textarea,
p,
blockqueue,
th,
td {
    margin: 0;
    padding: 0;
    outline: none;
    font-family: -apple-system, BlinkMacSystemFont, PingFang SC, Microsoft YaHei, sans-serif;
    -webkit-text-size-adjust: 100%;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    line-height: 2;
    margin-top: 20px;
}

table {
    border-collapse: collpase;
    border-spacing: 0
}

fieldset,
img {
    border: 0
}

address,
caption,
cite,
code,
dfn,
em,
strong,
th,
var {
    font-style: normal;
}

a {
    text-decoration: none;
}

ol,
ul {
    list-style: none
}

caption,
th {
    text-align: left
}

input[type="text"],
input[type="button"],
input[type="submit"],
input[type="reset"],
input[type="tel"],
textarea,
button {
    -webkit-appearance: none;
}

.el {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.transition {
    -webkit-transition: all 0.5s;
    -ms-transition: all 0.5s;
    -o-transition: all 0.5s;
    -moz-transition: all 0.5s;
    transition: all 0.5s;
}

.el2 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
}

.el3 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

body {
    width: 100%;
    min-height: 100vh;
    background: url('/static/img/site_bg.png')#f2f2f2;
    background-size: 20px auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-direction: column;
}



[v-cloak] {
    display: none;
}

.flex_center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.flex_start {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flex_end {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.flex_between {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.flex_around {
    display: flex;
    justify-content: space-around;
    align-items: center;
}

.flex_evenly {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
}

.flex_column {
    display: flex;
    flex-direction: column;
}

.mla {
    margin-left: auto;
}



@media screen and (max-width: 768px) {
    .main {
        padding: 10px 0;
        flex: 1;
        width: 100%;
    }

    .container {
        padding: 0 10px;
    }

    .page_nav {
        padding: 10px 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .user_bar {
        display: none;
    }


    .search_bar {
        display: none;
    }
    .sidebar {
        display: none;
    }

    .cate_nav {
        width: 100%;
        overflow-x: scroll;
        padding: 10px 0;
        background-color: #fff;
        border-top: 1px solid #f1f1f1;
    }

    .cate_nav_list {
        flex-wrap: nowrap;
    }

    .cate_nav_item {
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 10px;
        cursor: pointer;
        color: #555;
        font-size: 14px;
        width: max-content;
    }
}

@media screen and (min-width: 1200px) {

    .main {
        padding: 20px 0;
        flex: 1;
    }

    .container {
        width: 1100px;
        margin: 0 auto;
    }

    .index_main {
        display: flex;
        justify-content: flex-start;
    }

    .post_main {
        width: 780px;
        margin-right: 20px;
    }

    .sidebar {
        width: 300px;
        margin-left: auto;
    }

    .page_nav {
        padding: 20px 0;
        display: flex;
        justify-content: flex-start;
        align-items: center;
    }

    .cate_nav {
        height: 50px;
        background-color: #fff;
        border-top: 1px solid #f1f1f1;
    }

    .cate_nav_list {
        height: 50px;
        font-size: 14px;
        line-height: 50px;
    }

    .cate_nav_item {
        height: 30px;
        display: flex;
        justify-content: center;
        align-items: center;
        padding: 0 10px;
        cursor: pointer;
        color: #555;
    }
}

.header {
    width: 100%;
    border-bottom: 1px solid #f1f1f1;
}

.top_header {
    height: 60px;
    background-color: #fff;
}

.top_header_inner {
    padding: 0 20px;
    height: 60px;
}

.logo_bar {
    height: 50px;
}

.logo_img {
    height: 40px;
    display: block;
    margin-right: 10px;
}

.logo_txt {
    font-size: 20px;
    color: #000;
}

.logo_txt i {
    font-size: 12px;
    margin-left: 5px;
    font-style: normal;
    color: #666;
}

.search_bar {
    margin-left: 50px;
    height: 40px;
    background-color: #f1f1f1;
    border-radius: 20px;
    padding: 0 20px;
}

.search_input {
    border: none;
    background: none;
    flex: 1;
    margin-right: 10px;
    font-size: 14px;
    line-height: 30px;
}

.search_icon {
    width: 30px;
    height: 30px;
    margin-left: auto;
    display: block;
    cursor: pointer;
}

.nav_bar {
    height: 60px;
    margin-left: 50px;
}

.nav_item {
    display: inline-block;
    font-size: 16px;
    padding: 0 10px;
    margin-right: 10px;
    color: #333;
    cursor: pointer;
}

.bold {
    font-weight: bold;
}

.user_bar {
    font-size: 14px;
}

.user_face {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 50%;
    display: block;
    margin-right: 5px;
}

.user_bar_item {
    cursor: pointer;
    padding: 0 10px;
    color: #666;
}

.user_bar .on {
    color: #06f;
}

.footer {
    width: 100%;
    height: 90px;
    background-color: #fff;
    border-top: 1px solid #f1f1f1;
    font-size: 14px;
    color: #999;
    margin-top: auto;
}

.footer_inner {
    height: 80px;
}

.cp_area {
    line-height: 20px;
}

.logo_item {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 20px;
    cursor: pointer;
}

.logo_item_img {
    display: block;
    height: 40px;
}

.main_area {
    background-color: #fff;
    border-radius: 5px;
    overflow: hidden;
}

.login_card {
    width: 550px;
    min-height: 550px;
    padding: 50px;
    background-color: rgb(214, 231, 255);
}

.login_form {
    flex: 1;
    padding: 50px 100px;
    background-color: #fff;
    border-radius: 5px;
}

.pub_form {
    background-color: #fff;
    padding: 25px;
    border-radius: 5px;
}

.login_tit {
    font-size: 30px;
    font-weight: bold;
    margin-bottom: 30px;
    color: #000;
}

.form_row {
    font-size: 14px;
    margin-bottom: 20px;
}

.form_label {
    color: #666;
    margin-bottom: 5px;
}

.form_val {
    display: flex;
}

.form_sel {
    flex: 1;
    border: none;
    padding: 10px;
    border-radius: 5px;
    background-color: #f1f1f1;
    font-size: 16px;
    color: #000;
}

.form_sel:focus {
    outline: 1px solid #06f;
}

.form_input {
    flex: 1;
    border: none;
    padding: 10px;
    border-radius: 5px;
    background-color: #f1f1f1;
    font-size: 16px;
    color: #000;
}

.form_input:focus {
    outline: 1px solid #06f;
}

.login_btn {
    height: 50px;
    background-color: #06f;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.publish_btn {
    width: 300px;
    height: 50px;
    background-color: #06f;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
}

.form_tip {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

.form_tip a {
    color: #06f;
}

.cate_nav_item:hover {
    color: #000;
}

.cate_nav_list .on {
    color: #000;
    background-color: #ececec;
    border-radius: 5px;
}

.pub_btn {
    height: 36px;
    border: 1px solid #06f;
    color: #06f;
    font-size: 14px;
    line-height: 36px;
    width: 120px;
    border-radius: 5px;
    cursor: pointer;
    margin-right: 25px;
}

.pub_btn .add_icon {
    width: 20px;
    height: 20px;
}




.sponser_box {
    margin-bottom: 20px;
}

.sponser_box .tip {
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.v_btn {
    display: block;
    cursor: pointer;
}

.v_img {
    display: block;
    width: 100%;
}

.topic_bar {
    background-color: #fff;
    padding: 10px 20px;
    font-size: 12px;
    color: #666;
    margin-bottom: 10px;
    border-radius: 5px;
    overflow: hidden;
}

.topic_icon {
    width: 50px;
    height: 50px;
    display: block;
    margin-right: 10px;
}

.topic_bar .tit {
    font-size: 18px;
    margin-bottom: 5px;
    color: #000;
}

.post_list {
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
}

.post_item {
    padding: 10px;
    border-bottom: 1px solid #f1f1f1;
}

.post_item:last-child {
    border: none;
}

.post_item:hover {
    background-color: #f7f8f9;
}

.post_item .user_face {
    width: 60px;
    height: 60px;
    display: block;
    object-fit: cover;
    margin-right: 10px;
    border-radius: 5px;
}

.post_info {
    padding: 10px 0;
    min-height: 40px;
    flex: 1;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}

.post_meta {
    font-size: 12px;
    color: #999;
}

.topic_name {
    height: 22px;
    background-color: #f1f1f1;
    color: #666;
    padding: 0 5px;
    border-radius: 3px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 10px;
}

.post_title {
    font-size: 16px;
    color: #000;
    margin-bottom: 5px;
    cursor: pointer;
}

.post_title:hover {
    color: #06f;
}

.post_detail {
    padding: 25px;
    background-color: #fff;
    border-radius: 5px;
}

.big_title {
    font-size: 26px;
    color: #000;
    font-weight: 500;
    margin-bottom: 10px;
}

.post_info_meta {
    font-size: 14px;
    color: #999;
}

.post_info_meta span {
    margin-right: 20px;
}

.post_author_avatar {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: block;
    object-fit: contain;
    margin-right: 10px;
}

.content {
    margin-top: 20px;
    font-size: 14px;
    line-height: 25px;
}

.content code {
    display: block;
    background-color: #f1f1f1;
    padding: 10px;
    margin: 10px 0;
}

.content blockquote {
    display: block;
    background-color: #f1f1f1;
    padding: 10px;
    margin: 10px 0;
    border-left: 5px solid #ddd
}

.content img {
    display: block;
    max-width: 100%;
    margin: 10px 0;
}

.bread {
    font-size: 14px;
    color: #666;
    margin-bottom: 10px;
}

.bread a {
    color: #555;
    cursor: pointer;
}

.bread a:hover {
    color: #555;
}

.no_result {
    padding: 50px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-size: 14px;
    color: #787878;
}

.no_result_img {
    width: 250px;
    display: block;
}

.third_login_area {
    margin-top: 30px;
}

.third_login_btn {
    border-radius: 5px;
    height: 48px;
    font-size: 16px;
    cursor: pointer;
    color: #fff;
}

.third_login_btn img {
    display: block;
    width: 30px;
    height: 30px;
    margin-right: 10px;
}

.github {
    background-color: #000;
    color: #fff;
}

.github:hover {
    color: #fff;
}

.comment_area {
    padding: 20px;
    border-radius: 5px;
    background-color: #fff;
    margin-top: 20px;
}

.comment_tit {
    font-size: 18px;
    color: #000;
    margin-bottom: 10px;
}

.user_main {
    display: flex;
    justify-content: flex-start;
}

.user_sidebar {
    width: 200px;
    margin-right: 20px;
    border-radius: 5px;
    overflow: hidden;
}

.user_sidebar_item {
    height: 48px;
    padding: 0 20px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #f1f1f1;
    font-size: 14px;
    color: #333;
}

.user_sidebar_item .user_sidebar_icon {
    display: block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    color: #000;
    fill: currentColor;
}

.user_sidebar_item:hover {
    color: #000;
}

.user_right_main {
    flex: 1;
    margin-left: auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 5px;
}

.user_sidebar .on {
    color: #06f;
}

.user_sidebar .on .user_sidebar_icon {
    color: #06f;
}

.user_card_siderbar {
    padding: 20px;
    border-radius: 5px;
    overflow: hidden;
    background-color: #fff;
    margin-bottom: 10px;
}

.user_card_siderbar_face_box {
    position: relative;
    width: 100px;
    height: 100px;
    display: block;
    margin: 0 auto;
    margin-bottom: 10px;
}

.user_card_siderbar_avatar {
    width: 100px;
    height: 100px;
    display: block;
    border-radius: 50%;
    object-fit: cover;
}

.user_card_siderbar .username {
    font-size: 14px;
    color: #000;
    text-align: center;
}

.user_card_siderbar .reg_time {
    font-size: 12px;
    color: #666;
    text-align: center;
}


.page_nav a {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 3px;
    display: block;
    width: max-content;
    padding: 0 10px;
    font-size: 14px;
    line-height: 25px;
    border-radius: 5px;
    margin-right: 10px;
    color: #666;
}

.page_nav a.current {
    border: 1px solid #06f;
    color: #06f;
}

.u_title {
    font-size: 20px;
    font-weight: 600;
    color: #000;
    margin-bottom: 20px;
}

.user_edit_box {
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
}

.user_form {
    flex: 1;
    margin-right: 20px;
}

.face_edit_area {
    margin-left: auto;

}

.face_box {
    width: 100px;
    height: 100px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
}

.face_img {
    display: block;
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
}

.up_mask {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    z-index: 1;
    cursor: pointer;
}

.upload_box {
    position: relative;
    width: 100px;
    height: 100px;
    background-color: #f1f1f1;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 5px;
    overflow: hidden;
}

.up_img_icon {
    width: 30px;
    height: 30px;
    display: block;
}

.up_img {
    display: block;
    width: 100px;
    height: 100px;
    object-fit: contain;
}

.link_url {
    border: 1px solid #f1f1f1;
    border-radius: 5px;
    padding: 10px;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    margin: 0 auto;
    margin-top: 30px;
    box-shadow: 0 0 10px rgba(0, 0, 0, .1);
}

.link_txt {
    flex: 1;
    margin-right: 20px;
    font-size: 14px;
    color: #000;
    word-break: break-all;
}

.link_url_icon {
    width: 30px;
    height: 30px;
    margin-right: 20px;
}

.link_url_arrow {
    margin-left: auto;
    width: 20px;
    height: 20px;
}

.reply_textarea_box {
    display: flex;
}
.reply_textarea {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    color: #000;
    border: none;
    background-color: #f1f1f1;
    border-radius: 10px;
}
.reply_btn {
    margin-top: 10px;
    height: 40px;
    border: 1px solid #06f;
    color: #06f;
    font-size: 14px;
    line-height: 40px;
    width: 120px;
    border-radius: 5px;
    cursor: pointer;
}
.reply_btn:hover {
    color: #fff;
    background-color: #06f;
}
.comment_list {
    margin-bottom: 30px;
}
.comment_item {
    padding: 20px 0;
    display: flex;
    justify-content: flex-start;
    border-bottom: 1px solid #f1f1f1;
}
.comment_item:last-child {
    border: none;
}
.comment_avatar {
    display: block;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 10px;
}
.comment_data {
    font-size: 14px;
    color: #666;
}
.comment_data span {
    color: #333;
}
.comment_content {
    margin-top: 5px;
    color: #222;
}