@charset "UTF-8"; $common-color: #333; $sub-color: #666; $note-color: #999; $focus-color: #409eff; html{height:100%} body{ font-size: 14px; margin: 0; padding: 0; width: 100%; height: 100%; min-width: 1080px; min-height: 100%; } .page-container{ width: 100%; min-height: 100vh; } .clear{ clear: both; height: 100px; } .nav{ width: 100%; position: sticky; height: 60px; background-color: white; border: 1px solid #ebeef5; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); top: 0; z-index: 100; &__body{ display: flex; margin: 0 auto; width: 1200px; height: 60px; align-items: center; flex-wrap: wrap; justify-content: space-between; } &__logo{ height: 36px; margin-right: 20px; } &__list{ height: 100%; display: flex; align-items: center; flex-wrap: wrap; list-style:none; padding: 0; &-left{ width: 360px; justify-content: space-around; } &-right{ width: 300px; justify-content: flex-end; & .nav__item{ text-align: right; width: 100px; } } } &__search{ width: 240px; } &__item{ text-align: center; & a{ text-decoration: none; color: $common-color; font-size: 16px; &:hover{ color: $focus-color; } } &-left{ & a{ font-size: 18px; font-weight: bold; } } } &__photo{ width: 40px; height: 40px; border-radius: 20px; border: 1px solid #ebeef5; cursor: pointer; } } .drop-container{ padding: 0; .drop-info{ width: 100%; padding: 10px; border-bottom: 0.5px $note-color solid; &__item{ width: 100%; text-align: center; } &__name{ color: $common-color; font-weight: bold; } } .drop-list{ border: 0; .el-menu-item{ text-align: center; height: 30px; line-height: 30px; span{ line-height: 30px; } } } } .foot{ width: 100%; background-color: white; color: $common-color; padding: 30px 0 0 0; border: 1px solid #ebeef5; box-shadow: 0 2px 12px 0 rgba(0,0,0,.1); margin-top: 50px; &__main{ width: 1200px; height: 180px; border-bottom: 0.5px white solid; display: flex; flex-wrap: wrap; justify-content: space-between; margin: auto; } &__logo{ width: 360px; } &__slogan{ margin-top: 10px; } & a{ font-size: 14px; color: $sub-color; text-decoration: none; display: block; cursor: pointer; margin-top: 5px; } &__right{ width: 450px; display: flex; flex-wrap: wrap; justify-content: space-between; } &__list{ min-width: 100px; &-icons a{ display: inline-block; } } &__title{ font-size: 16px; padding-bottom: 5px; } &__icon{ margin-top: 10px; width: 50px; height: 50px; border-radius: 10px; background-size: cover; background-position: center center; background-repeat: no-repeat; border: 1px white solid; display: inline-block; margin-right: 5px; &-zhihu{ background-image: url('/image/zhihu_icon.jpg'); } &-bilibili{ background-image: url('/image/bilibili_icon.jpg'); } } &__bottom{ width: 100%; text-align: center; font-size: 12px; } } h1 h2 h3{ color: $common-color; } //h1{ // font-size: 34px; //} // //h2{ // font-size: 28px; //} // //h3{ // font-size: 22px; //}