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; } .nav__body { display: flex; margin: 0 auto; width: 1200px; height: 60px; align-items: center; flex-wrap: wrap; justify-content: space-between; } .nav__logo { height: 36px; margin-right: 20px; } .nav__list { height: 100%; display: flex; align-items: center; flex-wrap: wrap; list-style: none; padding: 0; } .nav__list-left { width: 360px; justify-content: space-around; } .nav__list-right { width: 300px; justify-content: flex-end; } .nav__list-right .nav__item { text-align: right; width: 100px; } .nav__search { width: 240px; } .nav__item { text-align: center; } .nav__item a { text-decoration: none; color: #333; font-size: 16px; } .nav__item a:hover { color: #409eff; } .nav__item-left a { font-size: 18px; font-weight: bold; } .nav__photo { width: 40px; height: 40px; border-radius: 20px; border: 1px solid #ebeef5; cursor: pointer; } .drop-container { padding: 0; } .drop-container .drop-info { width: 100%; padding: 10px; border-bottom: 0.5px #999 solid; } .drop-container .drop-info__item { width: 100%; text-align: center; } .drop-container .drop-info__name { color: #333; font-weight: bold; } .drop-container .drop-list { border: 0; } .drop-container .drop-list .el-menu-item { text-align: center; height: 30px; line-height: 30px; } .drop-container .drop-list .el-menu-item span { line-height: 30px; } .foot { width: 100%; background-color: white; color: #333; padding: 30px 0 0 0; border: 1px solid #ebeef5; box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1); margin-top: 50px; } .foot__main { width: 1200px; height: 180px; border-bottom: 0.5px white solid; display: flex; flex-wrap: wrap; justify-content: space-between; margin: auto; } .foot__logo { width: 360px; } .foot__slogan { margin-top: 10px; } .foot a { font-size: 14px; color: #666; text-decoration: none; display: block; cursor: pointer; margin-top: 5px; } .foot__right { width: 450px; display: flex; flex-wrap: wrap; justify-content: space-between; } .foot__list { min-width: 100px; } .foot__list-icons a { display: inline-block; } .foot__title { font-size: 16px; padding-bottom: 5px; } .foot__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; } .foot__icon-zhihu { background-image: url("/image/zhihu_icon.jpg"); } .foot__icon-bilibili { background-image: url("/image/bilibili_icon.jpg"); } .foot__bottom { width: 100%; text-align: center; font-size: 12px; } h1 h2 h3 { color: #333; }